Przeglądaj źródła

Put threadlinks in a bar

pull/9/head
Michael Walker 9 lat temu
rodzic
commit
ab24c2af57
3 zmienionych plików z 9 dodań i 5 usunięć
  1. +1
    -1
      js/auto-reload.js
  2. +1
    -1
      stylesheets/style.css
  3. +7
    -3
      templates/thread.html

+ 1
- 1
js/auto-reload.js Wyświetl plik

@@ -36,7 +36,7 @@ $(document).ready(function(){
var countdown_interval;

// Add an update link
$("footer").prev().after("<span id='updater'><a href='#' id='update_thread' style='padding-left:10px'>["+_("Update")+"]</a> (<input type='checkbox' id='auto_update_status' checked> "+_("Auto")+") <span id='update_secs'></span></span>");
$(".threadlinks span:last-child").after("<span id='updater'><a href='#' id='update_thread' style='padding-left:10px'>"+_("Update")+"</a> ] (<input type='checkbox' id='auto_update_status' checked> "+_("Auto")+") <span id='update_secs'></span></span>");

// Grab the settings
var settings = new script_settings('auto-reload');


+ 1
- 1
stylesheets/style.css Wyświetl plik

@@ -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;
}


+ 7
- 3
templates/thread.html Wyświetl plik

@@ -44,9 +44,6 @@
{{ body }}
{% include 'report_delete.html' %}
</form>
<a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
<a href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a>

{{ config.ad.bottom }}

<footer>
@@ -57,6 +54,13 @@
<br><a href="https://int.vichan.net/devel/">vichan</a> Copyright &copy; 2012-2014 vichan-devel</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
<div class="bar bottom">
<div class="threadlinks">
<span class="threadlink">[ <a href="{{ return }}">{% trans %}Return{% endtrans %}</a> /</span>
<span class="threadlink"><a href="#" style="padding-left: 10px"> {% trans %}Go to top{% endtrans %}</a> /</span>
</div>
<div class=pages></div>
</div>
<script type="text/javascript">{% raw %}
ready();
{% endraw %}</script>


Ładowanie…
Anuluj
Zapisz