summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml14
1 files changed, 12 insertions, 2 deletions
diff --git a/views/layout.haml b/views/layout.haml
index a3db5e9..d54b413 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -6,12 +6,15 @@
%title ToxCreate
%script{:type => "text/javascript", :src => "javascripts/jquery.js"}
%script{:type => "text/javascript", :src => "javascripts/toxcreate.js"}
- %link{:rel=>'stylesheet', :href=>'stylesheets/style.css', :type => "text/css"}
+ %script{:type => "text/javascript", :src => "javascripts/jquery-ui-progressbar.js"}
+ %link{:rel=>'stylesheet', :href=>'stylesheets/style.css', :type => "text/css"}
+ %link{:rel=>'stylesheet', :href=>'progressbar/progressbar.css', :type => "text/css"}
%body
.logo
= image_tag "/ToxCreate_rgb_72.png", :alt => 'ToxCreate', :align => 'right'
- %br Create and evaluate models to predict toxicity
+ %br
+ Create and evaluate models to predict toxicity
.index
%ul
%li{:class => ("selected" if /\/create/ =~ request.path )}
@@ -20,10 +23,17 @@
= link_to "Inspect", "/models"
%li{:class => ("selected" if /predict|lazar/ =~ request.path )}
= link_to "Predict", "/predict"
+ - 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"
.content
+ .login_info
+ User:
+ %b= session[:username]
+
- 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