nekrochan/templates/base.html

52 řádky
2.2 KiB
HTML
Surový Normální zobrazení Historie

2023-12-25 13:53:44 +00:00
{% import "./macros/board-links.html" as board_links %}
2023-12-11 15:18:43 +00:00
<!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 }}">
2024-02-17 21:24:39 +00:00
<link rel="stylesheet" href='/static/themes/{% block theme %}{% include "../theme.txt" %}{% endblock %}'>
2023-12-11 15:18:43 +00:00
<link rel="stylesheet" href="/static/style.css">
2024-02-18 19:25:38 +00:00
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/expand-image.js"></script>
2024-02-20 21:09:52 +00:00
<script src="/static/js/password.js"></script>
{% block scripts %}{% endblock %}
2023-12-11 15:18:43 +00:00
</head>
2024-02-20 21:09:52 +00:00
<body>
<div id="top"></div>
2024-01-02 11:58:47 +00:00
<div class="board-links header">
2023-12-11 15:18:43 +00:00
<span class="link-group"><a href="/">domov</a></span>
2023-12-25 13:53:44 +00:00
{% call board_links::board_links() %}
2024-01-15 15:06:25 +00:00
<span class="link-group">
<a href="/overboard">nadnástěnka</a>
<span class="link-separator"></span>
<a href="/news">novinky</a></span>
</span>
2024-01-02 11:58:47 +00:00
<span class="float-r">
2024-01-15 15:06:25 +00:00
{% 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>
2023-12-11 15:18:43 +00:00
{% else %}
<span class="link-group"><a href="/login">přihlásit se</a></span>
{% endif %}
</span>
</div>
2023-12-16 18:05:47 +00:00
<div class="main">
{% block content %}{% endblock %}
2024-02-20 21:09:52 +00:00
<div class="footer">
2024-01-02 11:58:47 +00:00
<div class="box inline-block">
<a href="https://git.nekrofilie.com/sneedmaster/nekrochan">nekrochan</a> - Projekt <a href="https://nekrofilie.com/">Nekrofilie</a>
<br>
<span>Všechny příspěvky na této stránce byly vytvořeny náhodnými uživateli.</span>
</div>
2023-12-16 18:05:47 +00:00
</div>
</div>
2024-02-20 21:09:52 +00:00
<div id="bottom"></div>
2023-12-11 15:18:43 +00:00
</body>
</html>