diff options
author | Christoph Helma <helma@in-silico.de> | 2010-02-18 15:44:10 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-02-18 15:44:10 +0100 |
commit | 53af6c563627bdb69eeceefecf2dc9ca62bd052e (patch) | |
tree | 1c2e1ac3f9d2e254b796918fc725fc1e6672c2e2 /views/layout.haml | |
parent | 757ac0ba1fed803ecfc0c9a1ef632e615484a91a (diff) |
model information added
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/views/layout.haml b/views/layout.haml index 223ab85..32b7853 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -3,21 +3,22 @@ %head %meta{'http-equiv' => 'Content-Type', :content => 'text/html'} + - if @refresh + %meta{'http-equiv' => "refresh", :content => "15"} %title ToxCreate %link{:rel=>'stylesheet', :href=>'stylesheets/style.css', :type => "text/css"} %body - -# %h1 ToxCreate = image_tag "/ToxCreate_rgb_72.png", :alt => 'ToxCreate' .index %ul %li{:class => ("selected" if /create/ =~ request.path )} = link_to "Create", "/create" + %li{:class => ("selected" if /models/ =~ request.path )} + = link_to "Inspect", "/models" %li{:class => ("selected" if /predict/ =~ request.path )} = link_to "Predict", "/predict" - -#%li{:class => ("selected" if /tasks/ =~ request.path )} - = link_to "Tasks", "/tasks" %li{:class => ("selected" if /about/ =~ request.path )} = link_to "About", "/about" @@ -28,13 +29,10 @@ %a{:href => 'http://github.com/helma/opentox-toxmodel/issues'} issue tracker. - if flash[:notice] + %p .notice = flash[:notice] - - if @notice - .notice - = @notice - = yield .footer @@ -42,5 +40,3 @@ %a{:href => 'http://www.in-silico.ch'} in silico toxicology 2009, powered by %a{:href => 'http://www..opentox.org'} OpenTox - -# image_tag("/opentox_logo.png", :alt => "OpenTox") - |