forked from DGNum/gestioCOF
Fusionne base et base_layout
This commit is contained in:
parent
54e8f95667
commit
9efc200f74
3 changed files with 27 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
|||
{% load staticfiles %}
|
||||
{% load bulma_utils %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
@ -15,8 +16,31 @@
|
|||
{# Javascript #}
|
||||
<script src="{% static 'vendor/jquery/jquery-3.3.1.min.js' %}"></script>
|
||||
<script src="{% static "vendor/jquery/jquery.autocomplete-light.min.js" %}"></script>
|
||||
|
||||
{% block extra_head %}{% endblock extra_head %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
{% include "bds/nav.html" %}
|
||||
|
||||
<section class="section">
|
||||
<div class="columns">
|
||||
<div class="column is-two-thirds is-offset-2">
|
||||
{% if messages %}
|
||||
{% for message in messages %}
|
||||
<div class="notification is-{{ message.level_tag|bulma_message_tag }}">
|
||||
{% if 'safe' in message.tags %}
|
||||
{{ message|safe }}
|
||||
{% else %}
|
||||
{{ message }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock content %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "bds/base_layout.html" %}
|
||||
{% extends "bds/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "bds/base_layout.html" %}
|
||||
{% extends "bds/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue