diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-12 23:55:40 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-12 23:55:40 +1300 |
commit | 0b5e524dc21b0a29234ba9e7c60393c0ab95dfb2 (patch) | |
tree | b4c76ee0464cb39855b747a730d423b52e5e54f5 /web/app/view/CalendarDialog.js | |
parent | 5a48ac8baf4e5ad214f622ceb1e130cceec99594 (diff) | |
parent | e4fb4c63fe14179be94f08211ea14256f70f35e3 (diff) | |
download | trackermap-web-0b5e524dc21b0a29234ba9e7c60393c0ab95dfb2.tar.gz trackermap-web-0b5e524dc21b0a29234ba9e7c60393c0ab95dfb2.tar.bz2 trackermap-web-0b5e524dc21b0a29234ba9e7c60393c0ab95dfb2.zip |
Merge pull request #435 from Abyss777/group_group_calendar
Group fields in Group and Calendar dialog
Diffstat (limited to 'web/app/view/CalendarDialog.js')
-rw-r--r-- | web/app/view/CalendarDialog.js | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/web/app/view/CalendarDialog.js b/web/app/view/CalendarDialog.js index 795c2c62..93c2d429 100644 --- a/web/app/view/CalendarDialog.js +++ b/web/app/view/CalendarDialog.js @@ -29,25 +29,29 @@ Ext.define('Traccar.view.CalendarDialog', { items: { xtype: 'form', items: [{ - xtype: 'textfield', - name: 'name', - fieldLabel: Strings.sharedName, - allowBlank: false - }, { - xtype: 'filefield', - name: 'file', - fieldLabel: Strings.sharedFile, - allowBlank: false, - buttonConfig: { - glyph: 'xf093@FontAwesome', - text: '', - tooltip: Strings.sharedSelectFile, - tooltipType: 'title', - minWidth: 0 - }, - listeners: { - change: 'onFileChange' - } + xtype: 'fieldset', + title: Strings.sharedRequired, + items: [{ + xtype: 'textfield', + name: 'name', + fieldLabel: Strings.sharedName, + allowBlank: false + }, { + xtype: 'filefield', + name: 'file', + fieldLabel: Strings.sharedFile, + allowBlank: false, + buttonConfig: { + glyph: 'xf093@FontAwesome', + text: '', + tooltip: Strings.sharedSelectFile, + tooltipType: 'title', + minWidth: 0 + }, + listeners: { + change: 'onFileChange' + } + }] }, { xtype: 'hiddenfield', name: 'data', |