diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-05-18 16:20:58 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-05-18 16:20:58 +0200 |
commit | 7b1e97d83136c06d6901543eec7a06c5e62b4e46 (patch) | |
tree | ad6d7cb8de6d53e23b20d2dc2742196d06faf891 /views/layout.haml | |
parent | 30ae47779abc5240bf23e878d96ffa3fd0ae9a5e (diff) |
layout adjusted
Diffstat (limited to 'views/layout.haml')
-rwxr-xr-x | views/layout.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/views/layout.haml b/views/layout.haml index 919e965..012e296 100755 --- a/views/layout.haml +++ b/views/layout.haml @@ -3,19 +3,17 @@ %head %meta{'http-equiv' => 'Content-Type', :content => 'text/html'} - - if @refresh - - # %meta{'http-equiv' => "refresh", :content => "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"} %body - -# .logo= image_tag "/ToxCreate_rgb_72.png", :alt => 'ToxCreate' - .headline - %logo - %span1="Tox" - %span2="Create" + .logo= image_tag "/ToxCreate_rgb_72.png", :alt => 'ToxCreate', :align => "right" + -#.headline + .logo + .span1="Tox" + .span2="Create" .index %ul @@ -30,9 +28,10 @@ .content - .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 - %a{:href => 'http://github.com/helma/opentox-toxmodel/issues'} issue tracker. + - if `hostname`.match(/ot-test|ot-dev/) + .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 + %a{:href => 'http://github.com/helma/opentox-toxmodel/issues'} issue tracker. - if flash[:notice] %p |