summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml49
1 files changed, 21 insertions, 28 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 96f7d35..eb5f9a5 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -3,7 +3,7 @@
%head
%meta{'http-equiv' => 'Content-Type', :content => 'text/html; charset=UTF-8'}
- %title ToxCreate
+ %title lazar (Lazy Structure Activity Relationships)
%script{:type => "text/javascript", :src => "javascripts/jquery.js"}
%script{:type => "text/javascript", :src => "javascripts/toxcreate.js"}
%script{:type => "text/javascript", :src => "javascripts/jquery-ui-progressbar.js"}
@@ -12,22 +12,21 @@
%body
.logo
- %img{:src => "ToxCreate_rgb_72.png", :alt => 'ToxCreate', :align => 'right'}/
- %br
- Creates computational models to predict toxicity
+ %h1= "Lazar Toxicity Predictions"
+
.index
%ul
- %li{:class => ("selected" if /\/create|echa|ambit|feature/ =~ request.path )}
- = link_to "Create", "/create"
- %li{:class => ("selected" if /models/ =~ request.path )}
- = link_to "Inspect", "/models"
+ -#%li{:class => ("selected" if /\/create|echa|ambit|feature/ =~ request.path )}
+ -#= link_to "Create", "/create"
%li{:class => ("selected" if /predict|lazar/ =~ request.path )}
- = link_to "Predict", "/predict"
+ = link_to "Prediction", "/predict"
+ %li{:class => ("selected" if /models/ =~ request.path )}
+ = link_to "Validation", "/models"
- if AA_SERVER
- %li{:class => ("selected" if /login/ =~ request.path )}
- = link_to "Login", "/login"
- %li{:class => ("selected" if /help/ =~ request.path )}
- = link_to "Help", "/help"
+ -#%li{:class => ("selected" if /login/ =~ request.path )}
+ -#= link_to "Login", "/login"
+ -#%li{:class => ("selected" if /help/ =~ request.path )}
+ -#= link_to "Documentation", "/help"
.content
.login_info
@@ -35,6 +34,12 @@
User:
%b= session[:username]
+ .notice
+ This is an experimental version based on
+ %a{:href => "http://www.opentox.org", :rel => "external"} OpenTox
+ services. Please report problems and feature requests to our
+ %a{:href => 'http://github.com/opentox/toxcreate/issues', :rel => "external"} issue tracker.
+
- if `hostname`.match(/ot-test/)
.notice
This service is for testing purposes only - once a week all models will be deleted. Please send bug reports and feature requests to our
@@ -48,18 +53,6 @@
= yield
.footer
- Disclaimer: ToxCreate uses state-of-the-art published and tested algorithms and methodologies with full validation information. However, just as with experimental measurements, computational predictions are subject to varying degrees of accuracy and uncertainty, so please read the full report carefully, particularly the validation information. No liability is accepted for any inaccuracy in predictions.
- %p
- - tag = `git tag`.split("\n").last
- - tagdate = `git show #{tag}|grep Date`.split("\n").last
- Version:
- = tag
- ,
- = tagdate
- ©
- %a{:href => 'http://www.in-silico.ch', :rel => "external"} in silico toxicology
- 2009-2011, powered by
- %a{:href => 'http://www.opentox.org', :rel => "external"} <span style="color:#5D308A;font-family:arial,sans-serif,helvetica;letter-spacing:-1px;">Open</span><span style="color:#000;font-family:arial,sans-serif,helvetica;font-weight:bold;letter-spacing:-1px;">Tox</span>
- (a project funded by the
- %a{:href => "http://cordis.europa.eu/fp7/", :rel => "external"} 7th Framework Programme
- of the European Commission)
+ &copy;
+ %a{:href => 'http://www.in-silico.ch', :rel => "external"} in silico toxicology gmbh
+ 2004-2011