diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-25 20:10:34 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-25 20:10:34 +0200 |
commit | 07a5909d73595278436bc9b5064c69ad8476a9c2 (patch) | |
tree | a61947d6ea2ec14cb2e890718abf0c1113d81745 /tpl/_head.twig | |
parent | ec3972361d95f6f5956df77f7a76105b5ae6af72 (diff) | |
parent | eb16ab407b4de8fadb432b057a20ecc6d999cbdd (diff) | |
download | wallabag-07a5909d73595278436bc9b5064c69ad8476a9c2.tar.gz wallabag-07a5909d73595278436bc9b5064c69ad8476a9c2.tar.zst wallabag-07a5909d73595278436bc9b5064c69ad8476a9c2.zip |
Merge branch 'dev' of github.com:inthepoche/poche into dev
Diffstat (limited to 'tpl/_head.twig')
-rw-r--r-- | tpl/_head.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/_head.twig b/tpl/_head.twig index 6a8258a2..cab317a8 100644 --- a/tpl/_head.twig +++ b/tpl/_head.twig | |||
@@ -9,4 +9,4 @@ | |||
9 | <link rel="stylesheet" href="./tpl/css/print.css" media="print"> | 9 | <link rel="stylesheet" href="./tpl/css/print.css" media="print"> |
10 | <link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> | 10 | <link href='//fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> |
11 | <script src="./tpl/js/jquery-2.0.3.min.js"></script> | 11 | <script src="./tpl/js/jquery-2.0.3.min.js"></script> |
12 | <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 | 12 | <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>');$(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 |