summaryrefslogtreecommitdiff
path: root/templates/thread.html
diff options
context:
space:
mode:
authorBui <bui@bui.pm>2015-09-26 00:17:05 +0900
committerczaks <marcin@6irc.net>2016-05-06 14:05:16 +0200
commit33ef1d2123749db43bba372cbc0aa7ab3df4839a (patch)
tree72c65b74d66faf1b9e87d6fc569a15019a75fbac /templates/thread.html
parent6644ff666a1c794c6536c895e322dbcb50710134 (diff)
add active page classes to body; czaks: go to bottom @ thread: fixes
Diffstat (limited to 'templates/thread.html')
-rw-r--r--templates/thread.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 1cbb6d20..2d4ae262 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -23,7 +23,7 @@
<title>{{ board.url }} - {{ meta_subject }}</title>
</head>
-<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
+<body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %} active-thread" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
<a name="top"></a>
{{ boardlist.top }}
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
@@ -44,8 +44,7 @@
{% include 'attention_bar.html' %}
- <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a class="unimportant" href="javascript:window.scrollTo(0,document.body.scrollHeight);
-">[{% trans %}Go to bottom {% endtrans %}]</a></div>
+ <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a class="unimportant" href="#bottom">[{% trans %}Go to bottom {% endtrans %}]</a></div>
{{ config.ad.top }}
@@ -53,9 +52,6 @@
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
<hr />
- <a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
- <a href="#bottom" style="padding-left: 10px">[{% trans %}Go to bottom{% endtrans %}]</a>
- <hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}