mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Keep the selected calendar grid visible on opening and after selecting a day, including for Gregorian dates. Stack popup fields, size day buttons within their cells and show only hour/minute dropdowns while retaining the hidden combined value for existing save handlers. Update documentation and popup regressions. Thanks to xet7 !
11 lines
462 B
Plaintext
11 lines
462 B
Plaintext
template(name="calendarTimeInput")
|
|
.calendar-time-input
|
|
input.js-calendar-native-time(type="hidden" id=inputId name=inputName class=fieldClass value=nativeTime)
|
|
select.js-calendar-hour(aria-label="{{_ 'hours'}}")
|
|
each hours
|
|
option(value=value selected=selected) {{value}}
|
|
span(aria-hidden="true") :
|
|
select.js-calendar-minute(aria-label="{{_ 'minutes'}}")
|
|
each minutes
|
|
option(value=value selected=selected) {{value}}
|