1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Use a fixed-width container by default for lisibility

This commit is contained in:
Alexandre Iooss 2020-08-10 12:08:47 +02:00
parent e78ba49252
commit beff848796
4 changed files with 13 additions and 1 deletions

View File

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

View File

@ -5,6 +5,9 @@
{# Remove page title #}
{% block contenttitle %}{% endblock %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
{% block content %}
<div class="row mt-4">
<div class="col-sm-5 col-md-4" id="infos_div">

View File

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

View File

@ -72,6 +72,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
.bs-tooltip-bottom .arrow::before {
border-bottom-color: rgba(0,0,0,.250);
}
.container-fluid {
max-width: 1600px;
}
</style>
{% block extracss %}{% endblock %}
@ -167,7 +170,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
</ul>
</div>
</nav>
<div class="{% block containertype %}container-fluid{% endblock %} my-3">
<div class="{% block containertype %}container{% endblock %} my-3">
{% if request.user.is_authenticated and not request.user.profile.email_confirmed %}
<div class="alert alert-warning">
{% trans "Your e-mail address is not validated. Please check your mail inbox and click on the validation link." %}