Remove sidebar and drop shadows

This commit is contained in:
Alexandre Iooss 2020-02-21 13:50:35 +01:00
parent b395d3a633
commit 6c017b1993
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
4 changed files with 14 additions and 22 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-21 12:08+0100\n" "POT-Creation-Date: 2020-02-21 13:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -422,7 +422,7 @@ msgstr ""
msgid "Manage auth token" msgid "Manage auth token"
msgstr "" msgstr ""
#: templates/member/profile_detail.html:53 #: templates/member/profile_detail.html:54
msgid "View my memberships" msgid "View my memberships"
msgstr "" msgstr ""

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-21 12:08+0100\n" "POT-Creation-Date: 2020-02-21 13:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -424,7 +424,7 @@ msgstr "Changer le mot de passe"
msgid "Manage auth token" msgid "Manage auth token"
msgstr "Gérer les jetons d'authentification" msgstr "Gérer les jetons d'authentification"
#: templates/member/profile_detail.html:53 #: templates/member/profile_detail.html:54
msgid "View my memberships" msgid "View my memberships"
msgstr "Voir mes adhésions" msgstr "Voir mes adhésions"

View File

@ -40,7 +40,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
</head> </head>
<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-light bg-light fixed-navbar"> <nav class="navbar navbar-expand-md navbar-light bg-light fixed-navbar shadow-sm">
<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="#navbarNavAltMarkup" data-target="#navbarNavAltMarkup"
@ -94,19 +94,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
</ul> </ul>
</div> </div>
</nav> </nav>
<div class="container-fluid mb-5 mt-2"> <div class="container-fluid my-3" style="max-width: 1600px;">
<div class="row"> {% block contenttitle %}<h1>{{ title }}</h1>{% endblock %}
<div class="col-md-1"> {% block content %}
{% block sidebar %} <p>Default content...</p>
{% endblock %} {% endblock content %}
</div>
<div class="col-md-10">
{% block contenttitle %}<h1>{{ title }}</h1>{% endblock %}
{% block content %}
<p>Default content...</p>
{% endblock content %}
</div>
</div>
</div> </div>
</main> </main>
<footer class="bg-light mt-auto py-2"> <footer class="bg-light mt-auto py-2">
@ -116,9 +108,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
<form action="{% url 'set_language' %}" method="post" <form action="{% url 'set_language' %}" method="post"
class="form-inline"> class="form-inline">
<span class="text-muted mr-1"> <span class="text-muted mr-1">
NoteKfet2020 - NoteKfet2020 &mdash;
<a href="mailto:tresorie.bde@lists.crans.org" <a href="mailto:tresorie.bde@lists.crans.org"
class="text-muted">Nous contacter</a> - class="text-muted">Nous contacter</a> &mdash;
</span> </span>
{% csrf_token %} {% csrf_token %}
<select title="language" name="language" <select title="language" name="language"

View File

@ -4,7 +4,7 @@
{% block content %} {% block content %}
<div class="row mt-4"> <div class="row mt-4">
<div class="col-md-3 mb-4"> <div class="col-md-3 mb-4">
<div class="card bg-light"> <div class="card bg-light shadow">
<img src="{{ object.note.display_image.url }}" class="card-img-top" alt=""> <img src="{{ object.note.display_image.url }}" class="card-img-top" alt="">
<div class="card-body"> <div class="card-body">
<dl class="row"> <dl class="row">
@ -45,7 +45,7 @@
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
<div class="accordion" id="accordionProfile"> <div class="accordion shadow" id="accordionProfile">
<div class="card"> <div class="card">
<div class="card-header position-relative" id="clubListHeading"> <div class="card-header position-relative" id="clubListHeading">
<a class="btn btn-link stretched-link font-weight-bold" <a class="btn btn-link stretched-link font-weight-bold"