leftypol/templates/index.html

62 lines
2.6 KiB
HTML
Raw Normal View History

2012-02-14 09:17:49 +00:00
<!doctype html>
2010-11-02 10:57:33 +00:00
<html>
<head>
2012-05-05 15:33:10 +00:00
<meta charset="utf-8">
<script type="text/javascript">
{% if config.quick_reply %}
var new_reply_string = "{{ config.button_reply }}";
{% endif %}
{% if not no_post_form %}
var active_page = "index";
{% else %}
var active_page = "ukko";
{% endif %}
</script>
{% include 'header.html' %}
<title>{{ board.url }} - {{ board.title|e }}</title>
2010-11-02 10:57:33 +00:00
</head>
2011-10-05 08:41:34 +00:00
<body>
2011-10-05 04:22:53 +00:00
{{ boardlist.top }}
2011-10-05 08:41:34 +00: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 %}
2011-10-05 08:46:46 +00:00
{% if config.url_banner %}<img class="banner" 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 %}
2012-03-31 10:01:55 +00:00
<header>
2012-05-05 15:33:10 +00:00
<h1>{{ board.url }} - {{ board.title|e }}</h1>
2012-03-31 10:01:55 +00:00
<div class="subtitle">
2012-04-12 16:11:41 +00:00
{% if board.subtitle %}
2012-05-05 15:33:10 +00:00
{{ board.subtitle|e }}
2012-03-31 10:01:55 +00:00
{% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
</div>
</header>
2010-12-16 08:12:13 +00:00
2012-12-24 02:43:48 +00:00
{% include 'attention_bar.html' %}
2013-06-15 04:04:08 +00:00
{% if not no_post_form %}
{% include 'post_form.html' %}
{% else %}
{% include 'boardlist.html' %}
{% endif %}
2012-12-23 17:10:18 +00:00
2011-10-05 04:22:53 +00:00
{% if config.blotter %}<hr /><div class="blotter">{{ config.blotter }}</div>{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">
2011-10-05 04:22:53 +00:00
<input type="hidden" name="board" value="{{ board.uri }}" />
{% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
{{ body }}
{% include 'report_delete.html' %}
2011-01-21 02:13:50 +00:00
</form>
2011-10-05 04:22:53 +00:00
<div class="pages">{{ btn.prev }} {% 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 %}
2011-10-05 04:22:53 +00:00
{% endfor %} {{ btn.next }}</div>
{{ boardlist.bottom }}
2012-03-31 10:01:55 +00:00
<footer>
2013-01-20 10:23:46 +00:00
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2013 Tinyboard Development Group</p>
2012-03-31 10:01:55 +00:00
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
2012-03-31 08:37:31 +00:00
<script type="text/javascript">{% raw %}
ready();
{% endraw %}</script>
2010-11-02 10:57:33 +00:00
</body>
2011-10-05 08:41:34 +00:00
</html>