summaryrefslogtreecommitdiff
path: root/views/model.haml
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2010-06-08 16:55:05 +0200
committermr <mr@mrautenberg.de>2010-06-08 16:55:05 +0200
commitd12941818d2210a622727c576fa37ca8248d873e (patch)
tree28605717758f091ef9e51cde7ec3fce6a9de0afc /views/model.haml
parent4e266f73936fe0a7921041ebb4d46b846289822c (diff)
change validation reload, sass to new version-format(globals), excel import cellformats(integer float or string
Diffstat (limited to 'views/model.haml')
-rw-r--r--views/model.haml97
1 files changed, 49 insertions, 48 deletions
diff --git a/views/model.haml b/views/model.haml
index b70bb43..fd1d114 100644
--- a/views/model.haml
+++ b/views/model.haml
@@ -8,52 +8,53 @@
%div{:id => "model_#{model.id}"}
%h2
= model.name
- %dl
- %dt Status:
- %dd
- %span{:id => "model_#{model.id}_status", :class => model.status}
- = haml :model_status, :locals=>{:model=>model}, :layout => false
- (
- %a{:href => url_for("/model/#{model.id}"), :id => "delete_#{model.id}", :class => 'delete'} delete
- )
- %dt Started:
- %dd= model.created_at.strftime("%m/%d/%Y - %I:%M:%S%p")
- %dt Training compounds:
- %dd= model.nr_compounds
- %dt Warnings:
- - if model.warnings == ''
- %dd -
- - else
- %a{:href => "#", :id => "show_model_#{model.id}_warnings"} show
- %dd{:id => "model_#{model.id}_warnings", :style => "display: none;"}= model.warnings
-
- - if model.status == 'Completed'
- %dt Algorithm:
+ .model
+ %dl
+ %dt Status:
%dd
- %a{:href => "http://www.in-silico.de/articles/modi020905.pdf"} #{File.basename model.algorithm}
- -# %a{:href => model.algorithm} RDF/XML
- %dt Descriptors:
- %dd
- %a{:href => 'http://www.maunz.de/libfminer2-bbrc-doc/'} Fminer backbone refinement classes
- %dt Training dataset:
- %dd
- %a{:href => "#{model.training_dataset}.xls"} Excel sheet
- ,
- %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}.yaml"} YAML
- %em (experts, dataset too large for Excel)
- %dt Model:
- %dd
- %a{:href => "#{model.uri}.rdf"} RDF/XML
- ,
- %a{:href => "#{model.uri}.yaml"} YAML
- %em (experts, models cannot be exported in Excel)
- = haml :model_validation, :locals=>{:model=>model}, :layout => false
-
+ %span{:id => "model_#{model.id}_status", :class => model.status}
+ = haml :model_status, :locals=>{:model=>model}, :layout => false
+ (
+ %a{:href => url_for("/model/#{model.id}"), :id => "delete_#{model.id}", :class => 'delete'} delete
+ )
+ %dt Started:
+ %dd= model.created_at.strftime("%m/%d/%Y - %I:%M:%S%p")
+ %dt Training compounds:
+ %dd= model.nr_compounds
+ %dt Warnings:
+ - if model.warnings == ''
+ %dd -
+ - else
+ %a{:href => "#", :id => "show_model_#{model.id}_warnings"} show
+ %dd{:id => "model_#{model.id}_warnings", :style => "display: none;"}= model.warnings
+
+ - if model.status == 'Completed'
+ %dt Algorithm:
+ %dd
+ %a{:href => "http://www.in-silico.de/articles/modi020905.pdf"} #{File.basename model.algorithm}
+ -# %a{:href => model.algorithm} RDF/XML
+ %dt Descriptors:
+ %dd
+ %a{:href => 'http://www.maunz.de/libfminer2-bbrc-doc/'} Fminer backbone refinement classes
+ %dt Training dataset:
+ %dd
+ %a{:href => "#{model.training_dataset}.xls"} Excel sheet
+ ,
+ %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}.yaml"} YAML
+ %em (experts, dataset too large for Excel)
+ %dt Model:
+ %dd
+ %a{:href => "#{model.uri}.rdf"} RDF/XML
+ ,
+ %a{:href => "#{model.uri}.yaml"} YAML
+ %em (experts, models cannot be exported in Excel)
+ = haml :model_validation, :locals=>{:model=>model}, :layout => false
+