1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 08:50:59 +01:00
vichan/templates/themes/frameset/sidebar.html

57 lines
1.2 KiB
HTML
Raw Normal View History

{% filter remove_whitespace %}
<!doctype html>
<html>
<head>
<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>
2012-02-14 11:17:05 +01:00
<li>
<a class="system" href="javascript:parent.removeFrames()">[Remove Frames]</a>
</li>
</ul>
</fieldset>
2012-02-14 11:17:05 +01:00
{% for category, boards in config.categories %}
<fieldset>
<legend>
{{ category }}
</legend>
{% for board in boards %}
<li>
2012-02-14 11:17:05 +01:00
{{ board }}
</li>
2012-02-14 11:17:05 +01:00
{% endif %}
</fieldset>
{% endif %}
{% for category, links in config.custom_categories %}
<fieldset>
<legend>
{{ category }}
</legend>
{% for title, uri in links %}
<li>
<a href="{{ uri }}">{{ title }}</a>
</li>
{% endif %}
</fieldset>
{% endif %}
</body>
</html>
{% endfilter %}