Amélioration de la mise en page
This commit is contained in:
parent
43e1d3fd26
commit
44a04deb26
@ -1402,6 +1402,6 @@ form.messages div, form.moderation-events {
|
||||
}
|
||||
|
||||
.moderate-preview .event-body {
|
||||
max-height: 300px;
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
{% load static %}
|
||||
|
||||
|
||||
{% block title %}{% block og_title %}Modération de l'événement {{ object.title }} ({{ object.start_day }}){% endblock %}{% endblock %}
|
||||
{% block title %}{% block og_title %}Modération de l'événement {{ object.title }}{% endblock %}{% endblock %}
|
||||
|
||||
{% block ajouter-bouton %}{% block ajouter-menu %}{% endblock %}{% endblock %}
|
||||
|
||||
@ -26,35 +26,39 @@
|
||||
<script src="{% static 'js/django_better_admin_arrayfield.min.js' %}"></script>
|
||||
<script src="{% static 'js/adjust_datetimes.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% block fluid %}{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% load static_content_extra %}
|
||||
|
||||
<article class="moderate-preview">
|
||||
<article>
|
||||
<header>
|
||||
<h1>Modération de l'événement {{ object.title }} ({{ object.start_day }})</h1>
|
||||
<h1>Modération de l'événement {{ object.title }}</h1>
|
||||
<p class="remarque">En utilisant cet outil de modération, l'événement ne sera pas modifié{% if event.pure_import %}
|
||||
et restera considéré comme une version importée, peut importe les modifications d'étiquette,
|
||||
de catégorie ou de lieu que vous lui appliquerez{% endif %}.
|
||||
</p>
|
||||
</header>
|
||||
|
||||
{% include "agenda_culturel/single-event/event-single-inc.html" with event=event filter=filter %}
|
||||
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
{{ form.media }}
|
||||
{{ form.as_p }}
|
||||
<div class="grid buttons">
|
||||
<a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{{ object.get_absolute_url }}{% endif %}" role="button" class="secondary">Annuler</a>
|
||||
<input type="submit" value="Enregistrer">
|
||||
|
||||
<div class="grid moderate-preview">
|
||||
|
||||
{% include "agenda_culturel/single-event/event-single-inc.html" with event=event noedit=1 %}
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h2>Modification des méta-informations</h2>
|
||||
</header>
|
||||
{{ form.media }}
|
||||
{{ form.as_p }}
|
||||
</article>
|
||||
</div>
|
||||
<div class="grid buttons">
|
||||
<a href="{% if request.META.HTTP_REFERER %}{{ request.META.HTTP_REFERER }}{% else %}{{ object.get_absolute_url }}{% endif %}" role="button" class="secondary">Annuler</a>
|
||||
<input type="submit" value="Enregistrer">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% if object %}
|
||||
{% include "agenda_culturel/event-info-inc.html" %}
|
||||
{% endif %}
|
||||
</article>
|
||||
|
||||
<script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user