summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-05-04 15:42:27 +0000
committergebele <gebele@in-silico.ch>2016-05-04 15:42:27 +0000
commit288dc2147651dc46bf62b5dda61045dbf510a45b (patch)
treeea517c7de3fe56db74dff63932c22695ff83e0ca
parentbcd686f8180a2ac5347901e09eb904166819bedc (diff)
harmonized header
-rw-r--r--public/images/IST_logo_s.pngbin0 -> 7456 bytes
-rw-r--r--views/layout.haml16
2 files changed, 10 insertions, 6 deletions
diff --git a/public/images/IST_logo_s.png b/public/images/IST_logo_s.png
new file mode 100644
index 0000000..eff71af
--- /dev/null
+++ b/public/images/IST_logo_s.png
Binary files differ
diff --git a/views/layout.haml b/views/layout.haml
index 41ec5a9..c9a6264 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -22,17 +22,21 @@
%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.
- %header.page-header{:style=>"margin:20px 0 20px;"}
+ %header.page-header{:style=>"margin:20px 0 20px;text-align:justify;display:inline-block;width:100%;"}
%div.row
%div.col-sm-2
%a{:href=> to("/predict")}
- %img.media-object{:src=>"/images/ist_logo.png", :alt=>"logo_ist", :style=>"margin:0 3em 0 2em;"}
- %div.col-sm-6
- %h1.media-heading{:style=>"margin: 0 0 0 1em;"} nano-lazar toxicity predictions
+ %img.media-object{:src=>"/images/IST_logo_s.png", :alt=>"logo_ist", :width=>"150px", :heigth=>"150px", :style=>"margin:0 0 0 2em;"}
%div.col-sm-2
%a{:href=> "http://www.enanomapper.net"}
- %img.media-object{:src=>"/images/enm_logo.png", :width=>"200px", :heigth=>"200px", :alt=>"logo_enm", :style=>"margin:0 3em 0 2em;"}
-
+ %img.media-object{:src=>"/images/enm_logo.png", :width=>"200px", :heigth=>"200px", :alt=>"logo_enm", :style=>"margin:0 3em 0 0;"}
+ %div.col-sm-6
+ %h1.media-heading{:style=>"margin: 0 0 0 1em;"} nano-lazar toxicity predictions
+ %div.col-md-2
+ %h1.media-heading{:style=>"margin: 0 0 0 1em;"}
+ %small
+ %a{:href=>"https://lazar.in-silico.ch/predict"} lazar
+
%div.container-fluid
Problems, bugs, ideas for improvements ? Please report at our
%a{:href => 'https://github.com/enanomapper/nano-lazar/issues', :rel => "external"} issue tracker