lainchan/templates/index.html

76 lines
3.6 KiB
HTML
Raw Normal View History

2012-02-14 04:17:49 -05:00
<!doctype html>
2010-11-02 06:57:33 -04:00
<html>
<head>
2012-05-05 11:33:10 -04:00
<meta charset="utf-8">
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}">
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}">{% endif %}
<title>{{ board.url }} - {{ board.title|e }}</title>
2012-05-05 11:33:10 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
{% if config.meta_keywords %}<meta name="keywords" content="{{ config.meta_keywords }}">{% endif %}
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if config.font_awesome %}<link rel="stylesheet" media="screen" href="{{ config.font_awesome_css }}">{% endif %}
{% if not nojavascript %}
<script type="text/javascript" src="{{ config.url_javascript }}"></script>
{% if config.quick_reply %}
<script type="text/javascript">
var new_reply_string = "{{ config.button_reply }}";
</script>
{% endif %}
{% if not config.additional_javascript_compile %}
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
{% endif %}
{% endif %}
2011-10-05 00:22:53 -04:00
{% if config.recaptcha %}<style type="text/css">{% raw %}
2011-06-15 14:59:16 -04:00
.recaptcha_image_cell {
background: none !important;
}
table.recaptchatable {
border: none !important;
}
#recaptcha_logo, #recaptcha_tagline {
display: none;
float: right;
}
.recaptchatable a {
display: block;
}
2011-10-05 00:22:53 -04:00
{% endraw %}</style>{% endif %}
2010-11-02 06:57:33 -04:00
</head>
2011-10-05 04:41:34 -04:00
<body>
2011-10-05 00:22:53 -04:00
{{ boardlist.top }}
2011-10-05 04:41:34 -04: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 04:46:46 -04: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 06:01:55 -04:00
<header>
2012-05-05 11:33:10 -04:00
<h1>{{ board.url }} - {{ board.title|e }}</h1>
2012-03-31 06:01:55 -04:00
<div class="subtitle">
2012-04-12 12:11:41 -04:00
{% if board.subtitle %}
2012-05-05 11:33:10 -04:00
{{ board.subtitle|e }}
2012-03-31 06:01:55 -04:00
{% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
</div>
</header>
2010-12-16 03:12:13 -05:00
{% include 'post_form.html' %}
2011-10-05 00:22:53 -04: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 00:22:53 -04: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-20 21:13:50 -05:00
</form>
2011-10-05 00:22:53 -04: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 00:22:53 -04:00
{% endfor %} {{ btn.next }}</div>
{{ boardlist.bottom }}
2012-03-31 06:01:55 -04:00
<footer>
2013-01-20 05:23:46 -05: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 06:01:55 -04:00
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</footer>
2012-03-31 04:37:31 -04:00
<script type="text/javascript">{% raw %}
ready();
{% endraw %}</script>
2010-11-02 06:57:33 -04:00
</body>
2011-10-05 04:41:34 -04:00
</html>