summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2016-06-10 06:35:19 +0000
committergebele <gebele@in-silico.ch>2016-06-10 06:35:19 +0000
commit52a3d062409337ecc019991b00d0495f90f8261e (patch)
tree0015cf05f182d1070e828238cc0f88ced8dc938e /views
parent10ead88b17c70fdb3b53bb9daaa4a10c7755c2bf (diff)
added version and share buttons
Diffstat (limited to 'views')
-rw-r--r--views/layout.haml21
1 files changed, 19 insertions, 2 deletions
diff --git a/views/layout.haml b/views/layout.haml
index acdef62..d924f95 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -38,8 +38,25 @@
%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
+ %topline
+ %div.row
+ %div.col-md-8
+ Problems, bugs, ideas for improvements ? Please report at our
+ %a{:href => 'https://github.com/enanomapper/nano-lazar/issues', :rel => "external"} issue tracker
+ or send us an email
+ %a{ :href=>"mailto:info@in-silico.ch", :target=>"_top"}
+ %img.share{:src=>"/images/Email.png"}
+ (version #{@version}).
+ %div.col-md-2
+ %div.col-md-2
+ %a{:href=>"https://twitter.com/intent/tweet?source=http%3A%2F%2Flazar.in-silico.ch&text=:%20http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Tweet"}
+ %img.share{:src=>"/images/Twitter.png"}
+ %a{:href=>"https://plus.google.com/share?url=http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Share on Google+"}
+ %img.share{:src=>"/images/Google+.png"}
+ %a{:href=>"http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Flazar.in-silico.ch&title=&summary=&source=http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Share on LinkedIn"}
+ %img.share{:src=>"/images/LinkedIn.png"}
+ %a{:href=>"https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Flazar.in-silico.ch&title=&summary=&source=http%3A%2F%2Flazar.in-silico.ch", :target=>"_blank", :title=>"Share on Facebook"}
+ %img.share{:src=>"/images/Facebook.png"}
:javascript
$(document).ready(function(){
$("#back-top").hide();