]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/form/CalendarEvent.js
1 Ext
.define('PVE.form.CalendarEvent', {
2 extend
: 'Ext.form.field.ComboBox',
3 xtype
: 'pveCalendarEvent',
12 field
: ['value', 'text'],
14 { value
: '*/30', text
: Ext
.String
.format(gettext("Every {0} minutes"), 30) },
15 { value
: '*/2:00', text
: gettext("Every two hours") },
16 { value
: '2,22:30', text
: gettext("Every day") + " 02:30, 22:30" },
17 { value
: 'mon..fri', text
: gettext("Monday to Friday") + " 00:00" },
18 { value
: 'mon..fri */1:00', text
: gettext("Monday to Friday") + ': ' + gettext("hourly") },
19 { value
: 'sun 01:00', text
: gettext("Sunday") + " 01:00" },
24 '<ul class="x-list-plain"><tpl for=".">',
25 '<li role="option" class="x-boundlist-item">{text}</li>',