depicts/templates/base.html

35 lines
1.2 KiB
HTML
Raw Normal View History

2019-09-13 17:16:37 +01:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
2023-11-09 06:35:41 +00:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
2019-09-13 17:16:37 +01:00
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{% block title %}{% endblock %}
</title>
{% block style %}{% endblock %}
</head>
2019-10-15 12:21:05 +01:00
{% from "navbar.html" import navbar with context %}
{% from "block_alert.html" import local_block_alert, global_block_alert with context %}
2019-09-13 17:16:37 +01:00
<body>
2019-10-15 12:21:05 +01:00
{% block nav %}{{ navbar() }}{% endblock %}
2020-04-22 16:30:44 +01:00
{% if config.SHOW_BLOCK_ALERT %}
<div class="p-2">
{{ local_block_alert() }}
{{ global_block_alert() }}
</div>
{% endif %}
2019-09-13 17:16:37 +01:00
{% block content %}{% endblock %}
2019-09-25 13:40:15 +01:00
<script src="{{ url_for('static', filename='javascript/jquery/jquery.min.js') }}"></script>
2023-11-09 06:35:41 +00:00
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
2019-09-13 17:16:37 +01:00
{% block script %}{% endblock %}
</body>
</html>