even better style xD

This commit is contained in:
Sebastian Hugentobler 2015-05-18 16:36:47 +02:00
parent 07beadbfb9
commit d2a1812a38
6 changed files with 34 additions and 25 deletions

View file

@ -7,6 +7,10 @@
<title>{{ title }}</title>
</head>
<body>
<ul>
<li><a href="../boards.html">Boards</a></li>
</ul>
<hr>
{% if board.boards |length > 0 %}
<ul>
{% for board in board.boards %}

View file

@ -14,7 +14,7 @@
<ul>
{% for board in boards %}
<li>
<b><a href={{ "board/" + board.title.replace('/', '_').replace(' ', '_').replace('?', '') + ".html" }}>{{ board.title }}</a></b>
<a href={{ "board/" + board.title |url_replacer + ".html" }}>{{ board.title }}</a><br>
<i>{{ board.description }}</i>
</li>
{% endfor %}

View file

@ -7,10 +7,14 @@
<title>{{ title }}</title>
</head>
<body>
<ul>
<li><a href={{ "../" + board.title |url_replacer + ".html" }}>{{ board.title }}</a></li>
</ul>
<hr>
<h1>{{ thread.title }}</h1>
{% for post in thread.posts %}
<a href="#{{ loop.index }}">{{ loop.index }} - </a>
<b><a name="{{ loop.index }}" href={{ "../../user/" + post.user.name |url_replacer + ".html" }}>{{ post.user.name }}</a></b>
<a href="#{{ loop.index }}">{{ loop.index }} </a><i>by </i>
<a name="{{ loop.index }}" href={{ "../../user/" + post.user.name |url_replacer + ".html" }}>{{ post.user.name }}</a>
<i>({{ post.timestamp | fromunixtime }})</i>
<p>{{ post.message | tohtml }}</p>
{% for attachment in post.attachments %}

View file

@ -1,22 +1,23 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="../board/thread/static/styles.css" rel="stylesheet" type="text/css" />
<title>{{ title }}</title>
</head>
<body>
<h1>{{ user.name }}</h1>
<h3>{{ user.status }}</h3>
<p>
{% if user.registered %} registered {{ user.registered | fromunixtime }} {% else %} unregistered {% endif %}
</p>
{% if user.signature %}
<hr>
<i>{{ user.signature | tohtml }}</i> {% endif %}
</body>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="../board/thread/static/styles.css" rel="stylesheet" type="text/css" />
<title>{{ title }}</title>
</head>
<body>
<ul>
<li><a href="../users.html">Users</a></li>
</ul>
<hr>
<h1>{{ user.name }}</h1>
<h3>{{ user.status }}</h3>
<p>
{% if user.registered %} registered {{ user.registered | fromunixtime }} {% else %} unregistered {% endif %}
</p>
{% if user.signature %}
<hr>
<i>{{ user.signature | tohtml }}</i> {% endif %}
</body>
</html>

View file

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<link href="../../board/thread/static/styles.css" rel="stylesheet" type="text/css" />
<link href="board/thread/static/styles.css" rel="stylesheet" type="text/css" />
<title>{{ title }}</title>
</head>
<body>