usnistgov / NEMO

NEMO is a laboratory logistics web application. Use it to schedule reservations, control tool access, track maintenance issues, and more.
Other
135 stars 63 forks source link

Customize Calendar slot duration and slot label interval #223

Open abuckles-uci opened 4 months ago

abuckles-uci commented 4 months ago

Hello, in calendar.html it would be useful to be able to customize these values for the calendar. For example, we use 00:30:00 slot durations. We use the default slotLabelInterval, but that could possibly useful to customize too?

"slotDuration": '00:15:00', {# 15 minutes each row #}
"slotLabelInterval": '1:00', {# One hour intervals for label #}
rptmat57 commented 4 months ago

sure, that sounds pretty straightforward. we could add that to the calendar customizations