lainchan/templates/themes/categories/sidebar.html

56 lines
1.3 KiB
HTML
Raw Normal View History

2012-02-14 05:26:08 -05:00
{% filter remove_whitespace %}
<!doctype html>
<html>
<head>
2012-03-03 23:17:30 -05:00
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
2012-02-14 05:26:08 -05:00
<title>{{ settings.title }}</title>
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/>
<style type="text/css">
fieldset{margin:10px 0}
legend{width:100%;margin-left:-15px;background:#98E;border:1px solid white;color:white;font-weight:bold;padding:5px 5px}
ul{margin:0;padding:0}
li{list-style:none;padding:0 4px;margin: 0 4px}
li a.system{font-weight:bold}
</style>
<base target="main"/>
</head>
<body>
<fieldset>
<legend>{{ settings.title }}</legend>
<ul>
<li>
<a class="system" href="{{ settings.file_news }}">[News]</a>
</li>
</ul>
</fieldset>
{% for category, boards in categories %}
<fieldset>
<legend>
{{ category }}
</legend>
2012-02-14 05:26:08 -05:00
{% for board in boards %}
<li>
2012-05-05 11:33:10 -04:00
<a href="{{ board.uri }}">{{ board.title|e }}</a>
2012-02-14 05:26:08 -05:00
</li>
{% endfor %}
</fieldset>
{% endfor %}
{% for category, links in config.custom_categories %}
<fieldset>
<legend>
{{ category }}
</legend>
{% for title, uri in links %}
<li>
<a href="{{ uri }}">{{ title }}</a>
</li>
{% endfor %}
</fieldset>
{% endfor %}
2012-02-14 05:26:08 -05:00
</body>
</html>
{% endfilter %}