From ab24c2af5795493064c53ead43401e4ab677714b Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Mon, 22 Dec 2014 19:35:09 +0000 Subject: [PATCH] Put threadlinks in a bar --- js/auto-reload.js | 2 +- stylesheets/style.css | 2 +- templates/thread.html | 10 +++++++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/js/auto-reload.js b/js/auto-reload.js index d1922dfe..bccc0ec2 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -36,7 +36,7 @@ $(document).ready(function(){ var countdown_interval; // Add an update link - $("footer").prev().after("["+_("Update")+"] ( "+_("Auto")+") "); + $(".threadlinks span:last-child").after(""+_("Update")+" ] ( "+_("Auto")+") "); // Grab the settings var settings = new script_settings('auto-reload'); diff --git a/stylesheets/style.css b/stylesheets/style.css index 1a5b5208..804d5d08 100755 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -417,7 +417,7 @@ box-shadow: 0 0 40px #000000; background-color: #D6DAF0; border-bottom: 1px solid #B7C5D9; } -.bar.top > :not(script) { +.bar > :not(script) { display: table-cell; vertical-align: middle; } diff --git a/templates/thread.html b/templates/thread.html index aa7852a9..6de24aef 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -44,9 +44,6 @@ {{ body }} {% include 'report_delete.html' %} - [{% trans %}Return{% endtrans %}] - [{% trans %}Go to top{% endtrans %}] - {{ config.ad.bottom }} +
+ +
+