Set fluid container on parent template

This commit is contained in:
Alexandre Iooss 2020-08-23 00:03:10 +02:00
parent 2c1cf148fa
commit 342d3910c7
3 changed files with 30 additions and 36 deletions

View File

@ -1,8 +1,5 @@
{% extends "member/noteowner_detail.html" %} {% extends "member/noteowner_detail.html" %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
{% block profile_info %} {% block profile_info %}
{% include "member/club_info.html" %} {% include "member/club_info.html" %}
{% endblock %} {% endblock %}

View File

@ -1,8 +1,9 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load static %} {% load static i18n pretty_money %}
{% load i18n %}
{% load render_table from django_tables2 %} {% load render_table from django_tables2 %}
{% load pretty_money %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
{% block content %} {% block content %}
<div class="row mt-4"> <div class="row mt-4">
@ -16,8 +17,7 @@
</div> </div>
</div> </div>
{% block extra_content %} {% block extra_content %}{% endblock %}
{% endblock %}
{% endblock %} {% endblock %}
{% block extrajavascript %} {% block extrajavascript %}

View File

@ -1,8 +1,5 @@
{% extends "member/noteowner_detail.html" %} {% extends "member/noteowner_detail.html" %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
{% block profile_info %} {% block profile_info %}
{% include "member/profile_info.html" %} {% include "member/profile_info.html" %}
{% endblock %} {% endblock %}