[TASK] [NPM] install choices.js (styling copy & paste)

This commit is contained in:
Marie Birner
2023-09-23 19:19:28 +02:00
committed by philipp
parent 90155dbc0f
commit 5e097a95da
6 changed files with 359 additions and 229 deletions

View File

@ -105,7 +105,7 @@
{% macro rower_select(id, selected, amount_seats='', class='') %}
<div class="{{ class }}">
<select style="width: 100px;" multiple="multiple" name="rowers[]" multiselect-search="true" id="{{id}}" class="w-full">
<select style="width: 100%;" multiple data-multi-select-plugin name="rowers[]" id="{{id}}" class="w-full">
{% for user in users %}
{% set_global sel = false %}
{% for rower in selected %}

View File

@ -5,7 +5,9 @@
{% block content %}
{% if flash %}
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
<div class="w-full">
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
</div>
{% endif %}
<div class="w-full">
@ -42,5 +44,4 @@
{% include "dynamics/sidebar" %}
<script src="/public/logbook.js"></script>
<script src="/public/js/multiselect-dropdown.js"></script>
{% endblock content%}