forked from leftypol/leftypol
frameset theme: transition to twig, plus more configurable
This commit is contained in:
parent
bac326a365
commit
cdfd67c87a
5 changed files with 134 additions and 88 deletions
40
templates/themes/frameset/sidebar.html
Normal file
40
templates/themes/frameset/sidebar.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
{% 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>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Boards</legend>
|
||||
<ul>
|
||||
{% for board in boards %}
|
||||
<li>
|
||||
<a href="{{ config.board_path|sprintf(board.uri) }}">
|
||||
{{ board.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
||||
{% endfilter %}
|
Loading…
Add table
Add a link
Reference in a new issue