Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Lamprecht
ec23a5cb32 ui: calendar event: add once daily example and clarify workday one
Using 00:00 with relying on the implied default is sub optimal as its
a bit of a magic example that new users may not understand as easily.
So spell it out explicitly, even if there'd be a shorter version
possible.

We also had some request for the once-daily every day, and its a
sensible example to have in general, could help getting the
difference between an hour list and a single one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-12-07 18:51:32 +01:00
Thomas Lamprecht
82536c370d ui: form/CalendarEvent: remove 'first saturday each month' example
Originally-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 17:50:47 +01:00
Fabian Ebner
358d3efd1d ui: calendar event: fix descriptions for examples
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 10:09:47 +01:00
Thomas Lamprecht
9a621f7177 ui: form/calendar event: add some more complex examples
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:32:14 +01:00
Thomas Lamprecht
8e57774e2a ui: form/calendar event: increase width of combobox picker
makes it more readable and will allow for some more complex examples
without wrapping (which is hard to grasp without row styling
otherwise)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 21:31:18 +01:00
Dominik Csapak
afc70cd321 ui: form/CalendarEvent: remove displayField from config
in extjs 7.0, setting the displayField overwrites the displayTpl, which
we use here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-05-27 12:43:08 +02:00
Thomas Lamprecht
8058410f40 ui: eslint: fix various spacing related issues
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:39:15 +01:00
Thomas Lamprecht
f6710aac38 ui: eslint: fix trailing comma and comma related whitespaces errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-19 17:31:03 +01:00
Thomas Lamprecht
42b45f8fe8 replica: improve schedule format example
Add one more to show that also weekdays + intervals are possible

Further improve wording + reduce translation needs for others entries.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-06-28 11:31:39 +02:00
Dominik Csapak
56da921434 add calendarevent form field
this is a freely editable combobox, which shows five usable examples and
their syntax, allowing users to deduct how the syntax works without
reading documentation

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-14 07:32:59 +02:00