diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-12 05:14:04 -0700 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-12 05:14:04 -0700 |
commit | 667009727a38890eb651815843c1bc02869a4119 (patch) | |
tree | fc3cdb9f2c7659c2d6a1bfe04a34d2430629612c /tpl/_head.twig | |
parent | 82757801b9e9cdc8806c0005c290f05124f91ba6 (diff) | |
parent | 15493df62db830a0834a74c240bbb9d8889ae1de (diff) | |
download | wallabag-667009727a38890eb651815843c1bc02869a4119.tar.gz wallabag-667009727a38890eb651815843c1bc02869a4119.tar.zst wallabag-667009727a38890eb651815843c1bc02869a4119.zip |
Merge pull request #132 from inthepoche/dev
merge with beta2
Diffstat (limited to 'tpl/_head.twig')
-rw-r--r-- | tpl/_head.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tpl/_head.twig b/tpl/_head.twig index f25f0471..145d668f 100644 --- a/tpl/_head.twig +++ b/tpl/_head.twig | |||
@@ -6,4 +6,6 @@ | |||
6 | <link rel="stylesheet" href="./tpl/css/style.css" media="all"> | 6 | <link rel="stylesheet" href="./tpl/css/style.css" media="all"> |
7 | <link rel="stylesheet" href="./tpl/css/style-{{ constant('THEME') }}.css" media="all" title="{{ constant('THEME') }} theme"> | 7 | <link rel="stylesheet" href="./tpl/css/style-{{ constant('THEME') }}.css" media="all" title="{{ constant('THEME') }} theme"> |
8 | <link rel="stylesheet" href="./tpl/css/messages.css" media="all"> | 8 | <link rel="stylesheet" href="./tpl/css/messages.css" media="all"> |
9 | <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> \ No newline at end of file | 9 | <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> |
10 | <script src="./tpl/js/jquery-2.0.3.min.js"></script> | ||
11 | <script type="text/javascript">$(document).ready(function(){$("body").prepend('<a href="#top" class="top_link" title="{% trans "back to top" %}"><img src="./tpl/img/{{ constant("THEME") }}/backtotop.png" alt={% trans "back to top" %}"/></a>');$(".top_link").css({position:"fixed",right:"15px",bottom:"15px",display:"none",padding:"20px",background:"#ccc","-moz-border-radius":"40px","-webkit-border-radius":"40px","border-radius":"40px",opacity:"0.9","z-index":"2000"});$(window).scroll(function(){posScroll=$(document).scrollTop();if(posScroll>=400)$(".top_link").fadeIn(600);else $(".top_link").fadeOut(600)})})</script> \ No newline at end of file | ||