Amélioration apparence formulaire événement

This commit is contained in:
Jean-Marie Favreau 2024-08-21 14:56:17 +02:00
parent 72b52ba743
commit a4d7754b3c
2 changed files with 14 additions and 2 deletions

View File

@ -761,14 +761,19 @@ aside nav a.badge {
}
/* mise en forme pour les récurrences */
.container-fluid article form p .recurrence-widget {
@extend article;
article form p .recurrence-widget {
width: 100%;
border: 0;
.header a, .add-button {
@extend [role="button"];
border-color: var(--primary) !important;
margin-right: var(--nav-element-spacing-horizontal);
span {
color: var(--primary-inverse);
}
span.plus {
margin-right: var(--nav-element-spacing-horizontal);

View File

@ -15,6 +15,8 @@
{% endblock %}{% endblock %}
{% block entete_header %}
<script src="{% static 'choicejs/choices.min.js' %}"></script>
<script src="{% url 'jsi18n' %}"></script>
<script src="/static/admin/js/vendor/jquery/jquery.js"></script>
<script src="/static/admin/js/jquery.init.js"></script>
@ -66,4 +68,9 @@
{% endif %}
</article>
<script>
const element = document.querySelector('#id_exact_location');
const choices = new Choices(element);
</script>
{% endblock %}