From 24245629a6e918b95c2149f28b9b5bd9c8a3c931 Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 21 Feb 2014 13:59:03 +0100 Subject: w3c conformity --- views/layout.haml | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) (limited to 'views') diff --git a/views/layout.haml b/views/layout.haml index de7cafc..6992489 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -53,30 +53,33 @@ About this service :javascript $("#about").click(function() { - $("info").toggle(); + $("#info").toggle(); }); - %info{:id=>"info", :style => "display:none;z-index:5;position:fixed; top:10px; left:25%; width: 50%; background-color:#F5F5F5;border:solid 1px black;"} + #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 - %div{:style => "align:justify;padding:1em;"} - %dt - (experimental) - %dd - Filtered experimental data from pubchem database. - %br - %dt - (read across) - %dd - Predictions - results of processed pubchem data. - %br - %dt - Predictions relationship - %dd - Similar compounds, predicted assays and predicted targets are related considering relevant data. - If data is insufficent there will be no result displayed. :javascript $("#x").click(function() { - $("info").toggle(); + $("#info").toggle(); }); + + %div{:style => "align:justify;padding:1em;"} + %dl + %dt + (experimental) + %dd + Filtered experimental data from pubchem database. + %br + %dt + (read across) + %dd + Predictions - results of processed pubchem data. + %br + %dt + Predictions relationship + %dd + Similar compounds, predicted assays and predicted targets are related considering relevant data. + If data is insufficent there will be no result displayed. + %form{:name => "form", :action => '/search', :method => "GET"} %fieldset %label{:for => 'name'} Compound name: -- cgit v1.2.3