DefaultTimeWindow.js
1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* @class SimpleTasks.view.tasks.DefaultTimeWindow
* @extends Ext.window.Window
*
* A window for setting the default reminder time
*/
Ext.define('SimpleTasks.view.tasks.DefaultTimeWindow', {
extend: 'Ext.window.Window',
xtype: 'defaultTimeWindow',
title: 'Set Default Reminder Time',
closeAction: 'hide',
width: 300,
layout: 'fit',
items: [
{
xtype: 'form',
layout: 'anchor',
border: false,
frame: true,
items: [
{
xtype: 'timefield',
name: 'default_time',
labelAlign: 'top',
fieldLabel: 'When setting quick reminders, default the time to',
anchor: '100%'
}
],
buttons: [
{
text: 'OK',
id: 'save-default-time-btn'
},
{
text: 'Cancel',
id: 'cancel-default-time-edit-btn'
}
]
}
]
});