diff options
author | gebele <gebele@in-silico.ch> | 2014-02-19 14:39:01 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2014-02-19 14:39:01 +0100 |
commit | 0eb5eab7afcebaed3943fa0051c9396917ef9b86 (patch) | |
tree | b2c6cb785a8a8754d16ea60055fdf726bc272c01 /views/layout.haml | |
parent | e050ebddb1fa5587e96a24f608933931c5dd7b59 (diff) |
changed back-top image and displaced to footer
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/views/layout.haml b/views/layout.haml index 9d638a8..3569bf6 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -82,10 +82,22 @@ %input{ :type => "submit", :value => "Search" } %em This is an experimental version. Loading data from PubChem can be slow. Please use the "Back" button and retry the offending operation if you have timeout problems. - #back-top{:style => "z-index: 100;position: fixed;bottom: 3%;margin-left: 91%;display:block;"} - %a{:href => ""} - %img{:src => "/arrow_up.png", :alt => "top"} - %p{:style=>"margin-top:0px;font-size:x-small;"} + + + = yield + + .footer + © + %a{:href => 'http://www.in-silico.ch', :rel => "_blank"} <i style="font-family: serife">in silico</i> toxicology gmbh 2013 - 2014 + :javascript + $('A[rel="_blank"]').each(function(){ + $(this).attr('target', '_blank'); + }); + #back-top{:style => "z-index:100;position:fixed;bottom:0%;width:97%;"} + %hr{:style => "margin-bottom:0;"} + %a{:href => "", :style=>"text:decoration:none;color:#ccc;"} + %img{:src => "/rect.png", :alt => "top", :width => "100%", :height => "50px"} + %div{:style => "margin-top:-50px;font-size:x-small;text-align:center;z-index:101;"} TOP :javascript $("#back-top").hide(); @@ -106,5 +118,3 @@ }); }); - - = yield |