Commit Graph

49 Commits

Author SHA1 Message Date
Sarah Vaupel
7fa0124fe2 fix(datepicker): close datepickers on focusout or click outside 2019-11-14 12:24:02 +01:00
Sarah Vaupel
3f9ca5e230 fix(datepicker): close datepickers on focus loss 2019-11-13 17:25:56 +01:00
Gregor Kleen
498d6168a0 feat(i18n): populate frontend datetime locale from backend settings 2019-10-29 15:54:11 +01:00
Gregor Kleen
3c24e5f187 fix(datepicker): fix for empty or browser-filled inputs 2019-10-28 11:02:43 +01:00
Sarah Vaupel
d24ebf8145 fix(datepicker): workaround for new Date(..) inconsistency 2019-10-25 15:54:12 +02:00
Gregor Kleen
09622bdb12 fix(datepicker): handle output format when reformatting
Fixes issue of datepicker randomly shifting dates if page is reloaded (browser
caches fancy formatting, which frontend could not understand)
2019-10-24 11:42:31 +02:00
Sarah Vaupel
3cd71d6b19 fix(datepicker): no manual positioning; update tail.datetime 2019-10-09 15:05:23 +02:00
Sarah Vaupel
3ecf834756 fix(datepicker): manually add scroll offset based on scroll target 2019-10-09 13:42:08 +02:00
Sarah Vaupel
bd97587ee5 Merge branch 'master' into 455-datepicker-interagieren-schlecht-mit-modals 2019-10-09 13:38:37 +02:00
Sarah Vaupel
b590995093 fix(datepicker): insert datepicker after the form 2019-09-18 14:04:12 +02:00
Sarah Vaupel
d3375bb2c1 fix(datepicker): select time from preselected date on edit 2019-09-18 13:21:42 +02:00
Gregor Kleen
ab4d67eb37 Revert "Merge branch '455-datepicker-interagieren-schlecht-mit-modals' into 'master'"
This reverts merge request !266
2019-09-12 14:24:16 +02:00
Sarah Vaupel
3f9454a7ef fix(datepicker): quickfix to fix datepicker position in modals 2019-09-11 17:56:10 +02:00
Sarah Vaupel
593a6a72d2 fix(datepicker): increase datepicker z-index in modals 2019-09-11 17:02:22 +02:00
Gregor Kleen
fc53497aa3 fix(course-edit): show old allocation
Fixes #450
2019-09-04 11:36:16 +02:00
Sarah Vaupel
ecab0ac93c feat(datepicker): do not replace value if input is no valid date 2019-08-28 11:27:55 +02:00
Sarah Vaupel
8bdcc9254e fix(datepicker): fix selecting date from manual input in internal format 2019-08-28 11:18:21 +02:00
Sarah Vaupel
8a3ac72cbe feat(datepicker): also parse manual input in internal format 2019-08-28 11:10:27 +02:00
Sarah Vaupel
d857af3812 feat(datepicker): only update datepicker date if date is valid 2019-08-28 11:04:28 +02:00
Sarah Vaupel
6665c1e85c refactor(datepicker): updated docs 2019-08-27 19:05:25 +02:00
Sarah Vaupel
293ab6dc62 feat(navigate-away-prompt): prompt on actual value change only
Store the initial FormData of a form and only prompt if any current value is actually different than the corresponding initial value (i.e. do not trigger prompt just by change events)
2019-08-27 17:55:21 +02:00
Sarah Vaupel
2512d69e67 feat(datepicker): helper functions and updated tail.datetime fork 2019-08-27 16:51:41 +02:00
Sarah Vaupel
9ea7b2e3f7 feat(datepicker): new approach stub for formatting dates in formdata 2019-08-27 15:49:31 +02:00
Sarah Vaupel
0998d11312 Merge branch 'master' into 409-find-implement-alternative-for-datepicker 2019-08-26 10:35:51 +02:00
Gregor Kleen
ef625cd901 feat(allocations): add application form(s) 2019-08-14 15:06:43 +02:00
Sarah Vaupel
db345eed55 feat(datepicker): format according to input type; position datepicker
Format dates and times according to the type of the input element; position the datepicker at the right by default and at the bottom for horizontal mass-inputs
2019-08-14 13:23:05 +02:00
Sarah Vaupel
85f46ef230 feat(datepicker): add option to change the position of the datepicker 2019-08-14 11:42:02 +02:00
Sarah Vaupel
863971fbde feat(datepicker): switch to tail.datetime fork to fix time selection
Use a fork of tail.datetime to automatically select the previously selected time on date change. Delete old flatpickr.css, update datepicker.md (include usage info about date format method)
2019-08-14 10:55:53 +02:00
Sarah Vaupel
5a4426300a feat(datepicker): more sane datetime config
refactored global settings; (partial!) quickfix for time inconsistency between selected time and input value
2019-08-13 18:26:16 +02:00
Sarah Vaupel
cbb7e95276 feat(datepicker): display datepicker on the right 2019-08-13 18:12:29 +02:00
Sarah Vaupel
d4ebed120d refactor(datepicker): removed comment 2019-08-13 18:06:10 +02:00
Sarah Vaupel
1eccb0ee4a feat(datepicker): format any dates before submission
format any date input values before submission on submit for forms, mass-inputs, async-forms and async-tables
2019-08-13 18:03:18 +02:00
Gregor Kleen
c5b18fcfcf feat(allocations): add registration form 2019-08-13 17:51:12 +02:00
Sarah Vaupel
b9fd4d7d28 feat(datepicker): formatting dates for mass-inputs 2019-08-13 17:24:19 +02:00
Sarah Vaupel
f5636b81d1 feat(datepicker): define instance collection singleton 2019-08-13 16:47:01 +02:00
Sarah Vaupel
99d9efa946 fix(datepicker): format time on copy paste as well 2019-08-12 14:19:37 +02:00
Sarah Vaupel
9f8749c4ce feat(datepicker): format time on submit 2019-08-12 13:49:57 +02:00
Sarah Vaupel
0e5707ac9f feat(datepicker): close datepicker on escape keydown 2019-08-12 13:03:51 +02:00
Sarah Vaupel
88a6b85a7e feat(datepicker): close datepicker on click outside 2019-08-12 12:55:37 +02:00
Sarah Vaupel
cf3682cc27 style(datepicker): new colors for datetime 2019-08-09 17:57:38 +02:00
Sarah Vaupel
4282554d82 feat(datepicker): currently broken version using tail.datetime instead 2019-08-09 10:19:25 +02:00
Gregor Kleen
14a9a45674 feat(allocations): add courses to allocations 2019-08-05 11:34:00 +02:00
Felix Hamann
3e48809f00 add eslint rule for enforced single quotes 2019-06-03 11:53:01 +02:00
Felix Hamann
59251bc570 Merge branch 'master' into utility-refactoring 2019-06-03 11:35:13 +02:00
Felix Hamann
c72335c13f checked and refined remaining ported js utils 2019-05-28 23:18:47 +02:00
Felix Hamann
86ea9d4256 Merge branch 'master' into babel 2019-05-28 20:59:28 +02:00
Felix Hamann
befa9f3941 refactor js utilities to use class syntax and Utility decorator 2019-05-28 00:19:39 +02:00
Felix Hamann
5e5e350378 remove zepto.js and make flatpickr a js import 2019-05-25 23:10:23 +02:00
Felix Hamann
4ee48ca268 move js and css to frontend folder 2019-05-25 22:13:45 +02:00