summaryrefslogtreecommitdiff
path: root/views/layout.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-05-22 14:45:53 +0200
committergebele <gebele@in-silico.ch>2013-05-22 14:45:53 +0200
commit9e4e8531fc1c36a206c964c217b79986f20a32d2 (patch)
treecc81cddf11e435efe4fe5b151885726f03c1249a /views/layout.haml
parent3fddff9e92b4523f59d7c0e59776216464e09d5d (diff)
use jsme plugin instead of jme, position of tooltips edited
Diffstat (limited to 'views/layout.haml')
-rw-r--r--views/layout.haml11
1 files changed, 8 insertions, 3 deletions
diff --git a/views/layout.haml b/views/layout.haml
index 12874c4..410d150 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -6,7 +6,9 @@
%title Lazar Toxicity Predictions
%link{ :href=>"/stylesheets/screen.css", :media=>"screen, projection", :rel=>"stylesheet", :type=>"text/css"}
%link{ :href=>"/stylesheets/jquery-ui.css", :rel=>"stylesheet"}
+ %link{ :href=>"/jsme/jsa.css", :rel=>"stylesheet"}
%script{:src=>"/javascripts/jquery-1.9.1.min.js", :type=>"text/javascript"}
+ %script{:src=>"/jsme/jsme.nocache.js", :type=>"text/javascript"}
%script{ :src=>"/javascripts/jquery-ui.min.js", :type=>"text/javascript"}
%script{ :src=>"/javascripts/lazar-gui.js", :type=>"text/javascript"}
%script{:src=>"/javascripts/jquery.tablesorter.min.js", :type=>"text/javascript"}
@@ -15,6 +17,9 @@
%body
+ %noscript
+ %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=> to("/predict")}
%img{:src=>"/images/ist_logo.png"}
@@ -46,17 +51,17 @@
$('a#confidence').tooltip({
predelay: 800,
position: 'bottom center',
- offset: [-400, 0],
+ offset: [-100, 0],
});
$('a#similarity').tooltip({
predelay: 800,
position: 'bottom center',
- offset: [-400, 0],
+ offset: [-600, 0],
});
$('a#measured_activity').tooltip({
predelay: 800,
position: 'bottom center',
- offset: [-400, 0],
+ offset: [-450, 0],
});
});
#back-top