You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
konova/templates/base.html

54 lines
1.6 KiB
HTML

3 years ago
<!DOCTYPE html>
{% load static i18n l10n fontawesome_5 bootstrap4 %}
3 years ago
<html lang="{{ language }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ tab_title }}</title>
<link rel="icon" type="image/ico" href="{% static 'images/ksp-favicon.ico' %}">
{% bootstrap_css %}
{% bootstrap_javascript jquery='full' %}
3 years ago
{% fontawesome_5_static %}
<link rel="stylesheet" href="{% static 'css/konova.css' %}">
{% comment %}
Adds script for modal rendering. Script depends on Jquery, therefore it needs to be loaded afterwards.
{% endcomment %}
<script src="{% static 'js/jquery.bootstrap.modal.forms.min.js' %}"></script>
3 years ago
{% block head %}
{% endblock %}
</head>
<body>
<header>
{% block header %}
{% include 'navbars/navbar.html' %}
{% endblock %}
</header>
<div class="col">
{% for message in messages %}
<div class="row alert alert-{{ message.tags }}">
{{ message }}
</div>
{% endfor %}
</div>
<div class="container-fluid mt-3 px-4">
{% comment %}
The modal wrapper, which can be used on every view can stay on the base.html template
{% endcomment %}
<div class="modal fade" tabindex="-1" role="dialog" id="modal">
<div class="modal-dialog modal-md modal-xl" role="document">
<div class="modal-content"></div>
</div>
</div>
{% block body %}
3 years ago
{% endblock %}
3 years ago
</div>
{% block footer %}
{% include 'footer.html' %}
{% endblock %}
3 years ago
</body>
</html>