]> git.agnieray.net Git - galette.git/commitdiff
Members' attendance sheet modal improvements
authorGuillaume AGNIERAY <dev@agnieray.net>
Fri, 24 Feb 2023 23:35:44 +0000 (00:35 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 26 Feb 2023 17:42:46 +0000 (18:42 +0100)
galette/templates/default/modals/members_attendance_sheet.html.twig

index c37282106944ab460fa81fddd0899f77e9351c53..8e48d66a98570d2802ea615da0c5359994246257 100644 (file)
                         </div>
                         <div class="inline field">
                             <label for="sheet_date">{{ _T("Date") }}</label>
-                            <input type="text" name="sheet_date" id="sheet_date"/>
+                            <div id="sheet_date_rangestart" class="ui calendar">
+                                <div class="ui fluid input left icon">
+                                    <i class="calendar icon"></i>
+                                    <input type="text" name="sheet_date" id="sheet_date"/>
+                                </div>
+                            </div>
                             <span class="exemple">{{ _T("(yyyy-mm-dd format)") }}</span>
                         </div>
                         <div class="inline field">
-                            <label for="sheet_photos">{{ _T("With photos?") }}</label>
-                            <input type="checkbox" name="sheet_photos" id="sheet_photos" value="1"/>
+                            <div class="ui toggle checkbox">
+                                <input type="checkbox" name="sheet_photos" id="sheet_photos" value="1"/>
+                                <label for="sheet_photos">{{ _T("With photos?") }}</label>
+                            </div>
     {% for key, value in data %}
                             <input type="hidden" name="selection[]" value="{{ value }}"/>
     {% endfor %}