1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Use a fluid-container for navbar

This commit is contained in:
Alexandre Iooss 2020-08-21 14:38:07 +02:00
parent e03a3f7fd2
commit 197bd28ceb

View File

@ -56,6 +56,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<body class="d-flex w-100 h-100 flex-column"> <body class="d-flex w-100 h-100 flex-column">
<main class="mb-auto"> <main class="mb-auto">
<nav class="navbar navbar-expand-md navbar-dark bg-primary fixed-navbar shadow-sm"> <nav class="navbar navbar-expand-md navbar-dark bg-primary fixed-navbar shadow-sm">
<div class="container-fluid">
<a class="navbar-brand" href="/">{{ request.site.name }}</a> <a class="navbar-brand" href="/">{{ request.site.name }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" <button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarNavDropdown" data-target="#navbarNavDropdown"
@ -146,6 +147,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
</div>
</nav> </nav>
<div class="{% block containertype %}container{% 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 %}