catalog theme: integrate with the styling framework of tinyboard; allow for js

This commit is contained in:
czaks
2013-12-25 17:46:13 +01:00
parent 8a2df689df
commit c918953d33
5 changed files with 38 additions and 57 deletions

View File

@@ -3,18 +3,19 @@
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<script type='text/javascript'>
active_page = "catalog";
</script>
{% include 'header.html' %}
<title>{{ settings.title }}</title>
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/>
<link rel="stylesheet" media="screen" href="{{ config.root }}{{ settings.css }}"/>
{% if config.url_favicon %}<link rel="shortcut icon" href="{{ config.url_favicon }}" />{% endif %}
</head>
<body>
<body class="theme-catalog">
{{ boardlist.top }}
<header>
<h1>{{ settings.title }} (<a href="{{link}}">/{{ board }}/</a>)</h1>
<div class="subtitle">{{ settings.subtitle }}</div>
</header>
<hr/>
<ul>
{% for post in recent_posts %}
<div class="thread">
@@ -31,6 +32,9 @@
<hr/>
<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>
<script type="text/javascript">
ready();
</script>
</body>
</html>
{% endfilter %}