Michael Save
13 years ago
5 changed files with 142 additions and 114 deletions
@ -0,0 +1,16 @@ |
|||||
|
<!doctype html> |
||||
|
<html> |
||||
|
<head> |
||||
|
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"> |
||||
|
<style type="text/css"> |
||||
|
iframe{border:none;margin:0;padding:0;height:99%;position:absolute} |
||||
|
iframe#sidebar{left:0;top:0;width:15%} |
||||
|
iframe#main{border-left:1px solid black;left:15%;top:0;width:85%} |
||||
|
</style> |
||||
|
<title>{{ settings.title }}</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<iframe src="{{ settings.file_sidebar }}" id="sidebar" name="sidebar"></iframe> |
||||
|
<iframe src="{{ settings.file_news }}" id="main" name="main"></iframe> |
||||
|
</body> |
||||
|
</html> |
@ -0,0 +1,33 @@ |
|||||
|
{% filter remove_whitespace %} |
||||
|
<!doctype html> |
||||
|
<html> |
||||
|
<head> |
||||
|
<title>{{ settings.title }}</title> |
||||
|
<link rel="stylesheet" media="screen" href="{{ config.url_stylesheet }}"/> |
||||
|
</head> |
||||
|
<body> |
||||
|
<h1>{{ settings.title }}</h1> |
||||
|
<div class="title">{{ settings.subtitle }}</div> |
||||
|
|
||||
|
<div class="ban"> |
||||
|
{% if news|count == 0 %} |
||||
|
<p style="text-align:center" class="unimportant">(No news to show.)</p> |
||||
|
{% else %} |
||||
|
{% for entry in news %} |
||||
|
<h2 id="{{ entry.id }}"> |
||||
|
{% if entry.subject %} |
||||
|
{{ entry.subject }} |
||||
|
{% else %} |
||||
|
<em>no subject</em> |
||||
|
{% endif %} |
||||
|
<span class="unimportant"> — by {{ entry.name }} at {{ entry.time|date(config.post_date) }}</span> |
||||
|
</h2> |
||||
|
<p>{{ entry.body }}</p> |
||||
|
{% endfor %} |
||||
|
{% endif %} |
||||
|
</div> |
||||
|
|
||||
|
<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 © 2010-2012 Tinyboard Development Group</p> |
||||
|
</body> |
||||
|
</html> |
||||
|
{% endfilter %} |
@ -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…
Reference in new issue