35 řádky
1.5 KiB
HTML
35 řádky
1.5 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="cs">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>{% block title %}{% endblock %}</title>
|
||
|
<meta name="description" content="{{ tcx.cfg.site.description }}">
|
||
|
<link rel="stylesheet" href="/static/themes/yotsuba.css">
|
||
|
<link rel="stylesheet" href="/static/style.css">
|
||
|
<!-- Muh flash of unstyled content -->
|
||
|
<script>0</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="board-links">
|
||
|
<span class="link-group"><a href="/">domov</a></span>
|
||
|
<span class="link-group">
|
||
|
{% for board_link in tcx.boards %}
|
||
|
<a href="/boards/{{ board_link }}">{{ board_link }}</a>
|
||
|
{% if !loop.last %}<span class="link-separator"></span>{% endif %}
|
||
|
{% endfor %}
|
||
|
</span>
|
||
|
<span class="link-group"><a href="/overboard">nadnástěnka</a></span>
|
||
|
<span style="float: right;">
|
||
|
{% if tcx.logged_in %}
|
||
|
<span class="link-group"><a href="/logout">odhlásit se</a></span>
|
||
|
<span class="link-group"><a href="/staff/account">účet</a></span>
|
||
|
{% else %}
|
||
|
<span class="link-group"><a href="/login">přihlásit se</a></span>
|
||
|
{% endif %}
|
||
|
</span>
|
||
|
</div>
|
||
|
<div class="main">{% block content %}{% endblock %}</div>
|
||
|
</body>
|
||
|
</html>
|