Amélioration de la navigation dans la partie modération
This commit is contained in:
parent
e1721db311
commit
31c9f79d3f
@ -1173,7 +1173,7 @@ article {
|
||||
}
|
||||
}
|
||||
|
||||
#menu-rechercher, #menu-ajouter {
|
||||
#menu-rechercher, #menu-ajouter, #menu-configurer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -1206,7 +1206,7 @@ article {
|
||||
#boutons-fixes {
|
||||
display: none;
|
||||
}
|
||||
#menu-rechercher, #menu-ajouter {
|
||||
#menu-rechercher, #menu-ajouter, #menu-configurer {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{% block og_title %}Importation manuelle{% endblock %}{% endblock %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Supprimer {{ object.title }}{% endblock %}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Règles de catégorisation{% endblock %}{% endblock %}
|
||||
|
||||
@ -84,6 +84,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="catrules" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Supprimer la règle de catégorisation {{ object.pk }}{% endblock %}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{% block og_title %}Règle de catéorisation{% endblock %}{% endblock %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
{% load utils_extra %}
|
||||
{% load cat_extra %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Supprimer {{ object.subject }}{% endblock %}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{% block og_title %}Contact{% endblock %}{% endblock %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
{% load utils_extra %}
|
||||
|
||||
@ -42,6 +42,10 @@
|
||||
</article>
|
||||
</div>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="contactmessages" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Derniers messages de contact reçus{% endblock %}{% endblock %}
|
||||
|
||||
@ -51,6 +51,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="contactmessages" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% load utils_extra %}
|
||||
{% load event_extra %}
|
||||
@ -59,6 +59,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="duplicates" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% load utils_extra %}
|
||||
{% load event_extra %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Importations par lot{% endblock %}{% endblock %}
|
||||
|
||||
@ -22,6 +22,10 @@
|
||||
{% include "agenda_culturel/batch-imports-inc.html" with paginator_filter=paginator_filter %}
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="imports" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% load utils_extra %}
|
||||
{% block title %}{% block og_title %}Derniers événements soumis{% endblock %}{% endblock %}
|
||||
|
||||
{% load cat_extra %}
|
||||
@ -7,9 +8,10 @@
|
||||
{% css_categories %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="grid two-columns">
|
||||
<article>
|
||||
<article id="contenu-principal">
|
||||
<header>
|
||||
<h1>Derniers événements soumis</h1>
|
||||
|
||||
@ -29,6 +31,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="moderation" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Supprimer la réponse #{{ object.pk }}{% endblock %}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{% block og_title %}{% if form.instance.pk %}Modification{% else %}Création{% endif %} d'une réponse de modération{% endblock %}{% endblock %}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Supprimer la question #{{ object.pk }}{% endblock %}{% endblock %}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Question de modération #{{ object.pk }}{% endblock %}{% endblock %}
|
||||
|
||||
@ -61,6 +61,10 @@
|
||||
{% endif %}
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="moderationquestions" %}
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
{% load static %}
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
{% extends "agenda_culturel/page-admin.html" %}
|
||||
|
||||
{% block title %}{% block og_title %}Questions de modération{% endblock %}{% endblock %}
|
||||
|
||||
@ -59,6 +59,10 @@
|
||||
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="moderationquestions" %}
|
||||
</div>
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
{% extends "agenda_culturel/page.html" %}
|
||||
|
||||
{% block configurer-menu %}{% block configurer-bouton %}{% endblock %}{% endblock %}
|
@ -50,6 +50,10 @@
|
||||
</article>
|
||||
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="rimports" %}
|
||||
</div>
|
||||
{% endblock %}
|
@ -36,6 +36,8 @@
|
||||
<body class="{% block body-class %}contenu{% endblock %}">
|
||||
<div id="boutons-fixes">
|
||||
<ul>
|
||||
{% block sidemenu-bouton %}{% endblock %}
|
||||
{% block configurer-bouton %}<li class="configurer-bouton"><a href="{% url 'moderation' %}" aria-label="Administration">{% picto_from_name "settings" %}</a></li>{% endblock %}
|
||||
{% block ajouter-bouton %}<li class="ajouter-bouton"><a href="{% url 'add_event' %}" aria-label="Ajouter un événement">{% picto_from_name "plus" %}</a></li>{% endblock %}
|
||||
{% block rechercher-bouton %}<li class="rechercher-bouton"><a href="{% url 'event_search' %}" aria-label="Rechercher">{% picto_from_name "search" %}</a></li>{% endblock %}
|
||||
</ul>
|
||||
@ -45,6 +47,7 @@
|
||||
<input class="menu-btn" type="checkbox" id="menu-btn" />
|
||||
<label class="menu-icon" for="menu-btn">{% picto_from_name "menu" %}</label>
|
||||
<ul class="menu">
|
||||
{% block configurer-menu %}<li id="menu-configurer" class="configurer-bouton"><a href="{% url 'moderation' %}">Modération {% picto_from_name "settings" %}</a></li>{% endblock %}
|
||||
{% block ajouter-menu %}<li id="menu-ajouter" class="ajouter-bouton"><a href="{% url 'add_event' %}">Ajouter un événement {% picto_from_name "plus-circle" %}</a></li>{% endblock %}
|
||||
{% block rechercher-menu %}<li id="menu-rechercher" class="rechercher-bouton"><a href="{% url 'event_search' %}">Rechercher {% picto_from_name "search" %}</a></li>{% endblock %}
|
||||
<li><a href="{% url 'a_venir' %}">À venir</a></li>
|
||||
|
@ -58,6 +58,10 @@
|
||||
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="places" %}
|
||||
</div>
|
||||
|
||||
|
@ -43,6 +43,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="unknown_places" %}
|
||||
</div>
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Suppression de l'import récurrent {{ object.pk }}</h1>
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
{% block title %}{% block og_title %}Importation récurrente{% endblock %}{% endblock %}
|
||||
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block entete_header %}
|
||||
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
|
||||
<script src="/static/admin/js/jquery.init.js"></script>
|
||||
|
@ -9,6 +9,7 @@
|
||||
{% block entete_header %}
|
||||
{% css_categories %}
|
||||
{% endblock %}
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="grid two-columns">
|
||||
@ -115,6 +116,10 @@
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="rimports" %}
|
||||
</div>
|
||||
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<article>
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
{% block title %}{% block og_title %}Lancer tous les imports échoués{% endblock %}{% endblock %}
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
{% block fluid %}{% endblock %}
|
||||
|
||||
{% block configurer-bouton %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<article>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% load event_extra %}
|
||||
{% load contactmessages_extra %}
|
||||
{% load duplicated_extra %}
|
||||
<aside>
|
||||
<aside id="sidebar">
|
||||
<article>
|
||||
<header>
|
||||
<h2>Administrer</h2>
|
||||
|
@ -22,6 +22,10 @@
|
||||
{% endif %}
|
||||
</article>
|
||||
|
||||
{% block sidemenu-bouton %}
|
||||
<li><a href="#contenu-principal" aria-label="Aller au contenu">{% picto_from_name "chevron-up" %}</a></li>
|
||||
<li><a href="#sidebar" aria-label="Aller au menu latéral">{% picto_from_name "chevron-down" %}</a></li>
|
||||
{% endblock %}
|
||||
{% include "agenda_culturel/side-nav.html" with current="tags" %}
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user