summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2010-12-09 10:32:26 +0100
committermr <mr@mrautenberg.de>2010-12-09 10:32:26 +0100
commit29ac25b9bce4d23002eae991e901732b8b2c2a39 (patch)
tree00518ec957a5d463a19e923c00d28cd4509b4818 /views/layout.haml
parentf5e96aba9ebf6c97d2f17f79571faf25c201b95f (diff)
A&A implementation
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/layout.haml b/views/layout.haml
index a3db5e9..f1b63e9 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -11,7 +11,8 @@
%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,6 +21,9 @@
= 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"