summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 6992489..b46fc7d 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -48,13 +48,17 @@
%div{ :style=>"width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"}
Your web browser must have JavaScript enabled in order for this application to display correctly.
+ .logo
+ %a{:href => "/"}
+ %img{:src => "/ist_logo.png", :alt => "logo"}
%h1 PubChem read across
- %button{:id=>"about", :style => "margin-left:80%;z-index:4;position:absolute; top:10px; right:0px;"}
+ %button{:id=>"about", :style => "margin-left:80%;margin-right:20px;z-index:4;position:absolute;top:10px;right:0px;"}
About this service
:javascript
$("#about").click(function() {
$("#info").toggle();
});
+
#info{:style => "display:none;z-index:5;position:fixed; top:10px; left:25%; width: 50%; background-color:#F5F5F5;border:solid 1px black;"}
%button{:id => "x", :style => "position:absolute;right:0px;"} x
:javascript
@@ -69,11 +73,13 @@
%dd
Filtered experimental data from pubchem database.
%br
+ %br
%dt
(read across)
%dd
Predictions - results of processed pubchem data.
%br
+ %br
%dt
Predictions relationship
%dd
@@ -93,7 +99,7 @@
.footer
©
- %a{:href => 'http://www.in-silico.ch', :rel => "external"} <i style="font-family: serife">in silico</i> toxicology gmbh 2013 - 2014
+ %a{:href => 'http://www.in-silico.ch', :rel => "external"} <i style="font-family: serife">in silico</i> toxicology gmbh 2013 - #{Time.now.year.to_s}
:javascript
$('A[rel="external"]').each(function(){
$(this).attr('target', 'external');