aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/GeofenceDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-11 10:53:33 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-11 10:53:33 +0500
commitf8e90b20d08bbd00cd7d5657c91c364b47288ae6 (patch)
treeacb2473f07a7cb02f5f7d8cdcd3f06cc2f6abce6 /web/app/view/GeofenceDialog.js
parent2eeb2a1bdc6a11a115a6774a49a21d88abb63056 (diff)
downloadtrackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.tar.gz
trackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.tar.bz2
trackermap-web-f8e90b20d08bbd00cd7d5657c91c364b47288ae6.zip
- Pass selfEdit parameter to UserDialog
- Group Geofence fields
Diffstat (limited to 'web/app/view/GeofenceDialog.js')
-rw-r--r--web/app/view/GeofenceDialog.js48
1 files changed, 29 insertions, 19 deletions
diff --git a/web/app/view/GeofenceDialog.js b/web/app/view/GeofenceDialog.js
index f55a8b2e..4c2781e5 100644
--- a/web/app/view/GeofenceDialog.js
+++ b/web/app/view/GeofenceDialog.js
@@ -28,26 +28,36 @@ Ext.define('Traccar.view.GeofenceDialog', {
items: {
xtype: 'form',
items: [{
- xtype: 'textfield',
- name: 'name',
- fieldLabel: Strings.sharedName
+ xtype: 'fieldset',
+ title: Strings.sharedRequired,
+ items: [{
+ xtype: 'textfield',
+ name: 'name',
+ fieldLabel: Strings.sharedName
+ }]
}, {
- xtype: 'textfield',
- name: 'description',
- fieldLabel: Strings.sharedDescription
- }, {
- xtype: 'combobox',
- name: 'calendarId',
- store: 'Calendars',
- queryMode: 'local',
- displayField: 'name',
- valueField: 'id',
- fieldLabel: Strings.sharedCalendar
- }, {
- xtype: 'hiddenfield',
- name: 'area',
- allowBlank: false,
- reference: 'areaField'
+ xtype: 'fieldset',
+ title: Strings.sharedExtra,
+ collapsible: true,
+ collapsed: true,
+ items: [{
+ xtype: 'textfield',
+ name: 'description',
+ fieldLabel: Strings.sharedDescription
+ }, {
+ xtype: 'combobox',
+ name: 'calendarId',
+ store: 'Calendars',
+ queryMode: 'local',
+ displayField: 'name',
+ valueField: 'id',
+ fieldLabel: Strings.sharedCalendar
+ }, {
+ xtype: 'hiddenfield',
+ name: 'area',
+ allowBlank: false,
+ reference: 'areaField'
+ }]
}]
},