depicts/templates/base.html

35 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
{% block title %}{% endblock %}
</title>
{% block style %}{% endblock %}
</head>
{% from "navbar.html" import navbar with context %}
{% from "block_alert.html" import local_block_alert, global_block_alert with context %}
<body>
{% block nav %}{{ navbar() }}{% endblock %}
{% if config.SHOW_BLOCK_ALERT %}
<div class="p-2">
{{ local_block_alert() }}
{{ global_block_alert() }}
</div>
{% endif %}
{% block content %}{% endblock %}
<script src="{{ url_for('static', filename='javascript/jquery/jquery.min.js') }}"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
{% block script %}{% endblock %}
</body>
</html>