diff options
| author | 8n-tech <8n-tech@users.noreply.github.com> | 2015-04-18 04:39:50 +1000 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-06 13:51:15 +0200 |
| commit | 6644ff666a1c794c6536c895e322dbcb50710134 (patch) | |
| tree | 7046e86e083f79f9cd9725294efb5e48a0b7eaf0 /templates/thread.html | |
| parent | 7a7574bdcace8ca5526ed10fe675cbbabced6ecd (diff) | |
Also improved some CSS and HTML aspects of the thread layout.
Signed-off-by: 8n-tech <8n-tech@users.noreply.github.com>
Diffstat (limited to 'templates/thread.html')
| -rw-r--r-- | templates/thread.html | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/templates/thread.html b/templates/thread.html index 2ca81e2e..1cbb6d20 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -24,6 +24,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 %}"> + <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 %} {% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %} @@ -56,18 +57,28 @@ <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 %} - {{ body }} - {% include 'report_delete.html' %} + <input type="hidden" name="board" value="{{ board.uri }}" /> + {% if mod %}<input type="hidden" name="mod" value="1" />{% endif %} + + {{ body }} + + <div id="thread-interactions"> + <span id="thread-links"> + <a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> + <a id="thread-top" href="#top">[{% trans %}Go to top{% endtrans %}]</a> + <a id="thread-catalog" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a> + </span> + + <span id="thread-quick-reply"> + <a id="link-quick-reply" href="#">[{% trans %}Post a Reply{% endtrans %}]</a> + </span> + + {% include 'report_delete.html' %} + </div> + + <div class="clearfix"></div> </form> - <span id="thread-links"> - <a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> - <a id="thread-top" href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a> - <a id="thread-catalog" style="padding-left: 10px" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a> - </span> - {{ boardlist.bottom }} {{ config.ad.bottom }} |
