64 řádky
2.8 KiB
HTML
64 řádky
2.8 KiB
HTML
|
{% import "./macros/board-links.html" as board_links %}
|
||
|
|
||
|
<!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/{% block theme %}{{ tcx.cfg.site.theme }}{% endblock %}">
|
||
|
<link rel="stylesheet" href="/static/style.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"></div>
|
||
|
<div class="board-links header">
|
||
|
<span class="link-group"><a href="/">domov</a></span>
|
||
|
{% call board_links::board_links() %}
|
||
|
<span class="link-group">
|
||
|
<a href="/overboard">nadnástěnka</a>
|
||
|
<span class="link-separator"></span>
|
||
|
<a href="/news">novinky</a>
|
||
|
</span>
|
||
|
{% for group in tcx.cfg.site.links %}
|
||
|
<span class="link-group">
|
||
|
{% for (link, href) in group %}
|
||
|
<a href="{{ href }}">{{ link }}</a>
|
||
|
{% if !loop.last %}
|
||
|
<span class="link-separator"></span>
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
</span>
|
||
|
{% endfor %}
|
||
|
<span class="float-r">
|
||
|
{% if let Some(report_count) = tcx.report_count %}
|
||
|
<span class="link-group"><a href="/staff/reports">Hlášení: {{ report_count }}</a></span>
|
||
|
{% endif %}
|
||
|
{% if tcx.account.is_some() %}
|
||
|
<span class="link-group">
|
||
|
<a href="/logout">odhlásit se</a>
|
||
|
<span class="link-separator"></span>
|
||
|
<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 class="footer">
|
||
|
<div class="box inline-block">Všechny příspěvky na této stránce byly vytvořeny náhodnými uživateli.</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="bottom"></div>
|
||
|
<script src="/static/js/jquery.min.js" defer=""></script>
|
||
|
<script src="/static/js/autofill.js" defer=""></script>
|
||
|
<script src="/static/js/expand.js" defer=""></script>
|
||
|
<script src="/static/js/hover.js" defer=""></script>
|
||
|
<script src="/static/js/quote.js" defer=""></script>
|
||
|
<script src="/static/js/time.js" defer=""></script>
|
||
|
{% block scripts %}{% endblock %}
|
||
|
</body>
|
||
|
</html>
|