summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-09-13 18:23:45 +0200
committerChristoph Helma <helma@in-silico.ch>2010-09-13 18:23:45 +0200
commitd214692e1828471084b00af4115a06196c6578f7 (patch)
tree516095a852cd322635af2e74b951b3bc6d312cb9 /views
parent5c5d66c2a9487687ba9032da04031ad59ab1de46 (diff)
RDF/XML download disabled, QMRF report generation enabled
Diffstat (limited to 'views')
-rw-r--r--views/model.haml14
-rw-r--r--views/style.sass2
2 files changed, 9 insertions, 7 deletions
diff --git a/views/model.haml b/views/model.haml
index 454423a..0c8ea8f 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -42,20 +42,22 @@
%dd
%a{:href => "#{model.training_dataset}.xls"} Excel sheet
,
- %a{:href => "#{model.training_dataset}.rdf"} RDF/XML
- %em (experts) ,
+ -#%a{:href => "#{model.training_dataset}.rdf"} RDF/XML
+ -#%em (experts) ,
%a{:href => "#{model.training_dataset}.yaml"} YAML
%em (experts)
%dt Feature dataset:
%dd
- %a{:href => "#{model.feature_dataset}.rdf"} RDF/XML
- ,
+ -#%a{:href => "#{model.feature_dataset}.rdf"} RDF/XML
+ -#,
%a{:href => "#{model.feature_dataset}.yaml"} YAML
%em (experts, dataset too large for Excel)
%dt Model:
%dd
- %a{:href => "#{model.uri}.rdf"} RDF/XML
- ,
+ -#%a{:href => "#{model.uri}.rdf"} RDF/XML
+ -#,
+ - unless model.validation_qmrf_uri.nil?
+ %a{:href => File.join(model.validation_qmrf_uri,"editor")} QMRF Editor,
%a{:href => "#{model.uri}.yaml"} YAML
%em (experts, models cannot be represented in Excel)
= haml :validation, :locals=>{:model=>model}, :layout => false
diff --git a/views/style.sass b/views/style.sass
index ea9e65a..5f362a3 100644
--- a/views/style.sass
+++ b/views/style.sass
@@ -85,7 +85,7 @@ body
font-weight: bold
color: $fg_color
label
- width: 25em
+ width: 28em
display: block
float: left
br