Fusionne base et base_layout

This commit is contained in:
Ludovic Stephan 2020-07-26 19:24:40 +02:00
parent 54e8f95667
commit 9efc200f74
3 changed files with 27 additions and 3 deletions

View file

@ -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>

View file

@ -1,4 +1,4 @@
{% extends "bds/base_layout.html" %}
{% extends "bds/base.html" %}
{% block content %}
<div class="container">

View file

@ -1,4 +1,4 @@
{% extends "bds/base_layout.html" %}
{% extends "bds/base.html" %}
{% load i18n %}