2013-01-06 09:41:00 +01:00
<!doctype html>
< html >
< head >
< meta charset = "utf-8" >
2013-07-31 20:54:20 +02:00
< script type = "text/javascript" >
{% if not no_post_form %}
var active_page = "index";
{% else %}
var active_page = "ukko";
{% endif %}
< / script >
2013-01-06 09:41:00 +01:00
{% include 'header.html' %}
< title > {{ board.url }} - {{ board.title|e }}< / title >
< / head >
2014-10-19 03:07:04 +02:00
< body class = "8chan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet = "{% if config.default_stylesheet.1 != '' and not mod %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}" >
2013-01-06 09:41:00 +01:00
{{ boardlist.top }}
2013-09-14 16:53:45 +02:00
2013-01-06 09:41:00 +01:00
{% 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 %}
2014-12-14 12:25:43 +01:00
{% if config.url_banner %}< img class = "board_image" src = "{{ config.url_banner }}?board={{ board.uri|url_encode }}" { % 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 %}
2013-09-14 16:53:45 +02:00
2013-01-06 09:41:00 +01:00
< header >
< h1 > {{ board.url }} - {{ board.title|e }}< / h1 >
< div class = "subtitle" >
{% if board.subtitle %}
2013-08-08 20:58:44 +02:00
{% if config.allow_subtitle_html %}
{{ board.subtitle }}
{% else %}
{{ board.subtitle|e }}
{% endif %}
2013-01-06 09:41:00 +01:00
{% endif %}
{% if mod %}< p > < a href = "?/" > {% trans %}Return to dashboard{% endtrans %}< / a > < / p > {% endif %}
2014-09-27 22:06:11 +02:00
< p > < a href = "{{ config.root }}{{ board.dir }}{{ config.catalog_link }}" > {% trans %}Catalog{% endtrans %}< / a > < / p >
2013-01-06 09:41:00 +01:00
< / div >
< / header >
2014-01-06 03:28:37 +01:00
2013-07-31 20:54:20 +02:00
{% include 'attention_bar.html' %}
2014-01-06 03:28:37 +01:00
{{ config.ad.top }}
2013-07-31 20:54:20 +02:00
{% if not no_post_form %}
{% include 'post_form.html' %}
{% else %}
{% include 'boardlist.html' %}
{% endif %}
2013-09-14 21:46:27 +02:00
{% if config.page_nav_top %}
< div class = "pages top" >
{% for page in pages %}
[< a { % if page . selected % } class = "selected" { % endif % } { % if not page . selected % } href = "{{ page.link }}" { % endif % } > {{ page.num }}< / a > ]{% if loop.last %} {% endif %}
{% endfor %}
{{ btn.next }}
< / div >
{% endif %}
2013-08-03 02:52:58 +02:00
{% if config.global_message %}< hr / > < div class = "blotter" > {{ config.global_message }}< / div > {% endif %}
2013-01-06 09:41:00 +01:00
< 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' %}
< / form >
2013-09-14 16:42:20 +02:00
< div class = "pages" >
{{ btn.prev }} {% for page in pages %}
2013-01-06 09:41:00 +01:00
[< a { % if page . selected % } class = "selected" { % endif % } { % if not page . selected % } href = "{{ page.link }}" { % endif % } > {{ page.num }}< / a > ]{% if loop.last %} {% endif %}
2013-09-14 16:42:20 +02:00
{% endfor %} {{ btn.next }}
{% if config.catalog_link %}
| < a href = "{{ config.root }}{{ board.dir }}{{ config.catalog_link }}" > Catalog< / a >
{% endif %}
< / div >
2013-01-06 09:41:00 +01:00
{{ boardlist.bottom }}
2013-08-08 23:57:52 +02:00
{{ config.ad.bottom }}
2013-01-06 09:41:00 +01:00
< footer >
2014-04-17 17:11:27 +02:00
< p class = "unimportant" style = "margin-top:20px;text-align:center;" > - < a href = "http://tinyboard.org/" > Tinyboard< / a > +
< a href = 'https://int.vichan.net/devel/' > vichan< / a > {{ config.version }} -
< br > < a href = "http://tinyboard.org/" > Tinyboard< / a > Copyright © 2010-2014 Tinyboard Development Group
< br > < a href = "https://int.vichan.net/devel/" > vichan< / a > Copyright © 2012-2014 vichan-devel< / p >
2013-01-06 09:41:00 +01:00
{% for footer in config.footer %}< p class = "unimportant" style = "text-align:center;" > {{ footer }}< / p > {% endfor %}
< / footer >
2013-10-25 03:42:45 +02:00
< script type = "text/javascript" > { % r a w % }
var styles = {
{% endraw %}
{% for name, uri in config.stylesheets %}{% raw %}'{% endraw %}{{ name|addslashes }}{% raw %}' : '{% endraw %}/stylesheets/{{ uri|addslashes }}{% raw %}',
{% endraw %}{% endfor %}{% raw %}
2013-10-27 16:12:21 +01:00
}; onready(init);
2013-10-25 03:42:45 +02:00
{% endraw %}< / script >
2013-01-06 09:41:00 +01:00
< script type = "text/javascript" > { % r a w % }
ready();
{% endraw %}< / script >
< / body >
< / html >