Thomas Lamprecht 4645c3d413 form: add Proxmox.form.field.ExpireDate
Behaves like a 'datefield' but treats the 0/empty value as "never",
and sets all defaults for behaving like one would expect from a date
expire field.

This allows to replaces hacks (e.g. [0]) from our various expire date
fields, mostly in PVE/PMG user accounts, and also for the soon to be
applied API token gui.

[0]: https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/dc/UserEdit.js;h=40c4044fd9364c9bcb8787507068378ed9936f67;hb=806edfe19f049f07db2628c68e4e5702bbedd9d7#l159

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-31 18:13:20 +02:00
2019-10-09 09:10:33 +02:00
2020-01-30 17:50:25 +01:00
2020-01-30 17:50:25 +01:00
2020-01-30 17:50:25 +01:00
2020-01-30 16:14:30 +01:00
2020-02-18 14:09:10 +01:00
Description
No description provided
1.2 MiB
Languages
JavaScript 93.1%
SCSS 4.7%
Makefile 1.1%
CSS 1.1%