1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +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" %} {% 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 %}

View File

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

View File

@ -1,5 +1,8 @@
{% 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 "wei/weiclub_info.html" %} {% include "wei/weiclub_info.html" %}
{% endblock %} {% endblock %}

View File

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