aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/ServerDialog.js')
-rw-r--r--web/app/view/ServerDialog.js30
1 files changed, 21 insertions, 9 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 0f8dbd2eb..83f9c47f2 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -66,9 +66,8 @@ Ext.define('Traccar.view.ServerDialog', {
displayField: 'name',
valueField: 'key'
}, {
- xtype: 'fieldset',
+ xtype: 'fieldcontainer',
reference: 'mapCenter',
- title: Strings.sharedMapCenter,
defaultType: 'numberfield',
items: [{
name: 'latitude',
@@ -81,12 +80,6 @@ Ext.define('Traccar.view.ServerDialog', {
}, {
name: 'zoom',
fieldLabel: Strings.serverZoom
- }, {
- xtype: 'button',
- margin: Traccar.Style.inFormButtonMargin,
- enableToggle: false,
- text: Strings.sharedGetFromMap,
- handler: 'getFromMap'
}]
}, {
xtype: 'checkboxfield',
@@ -94,5 +87,24 @@ Ext.define('Traccar.view.ServerDialog', {
fieldLabel: Strings.settingsTwelveHourFormat,
allowBlank: false
}]
- }
+ },
+
+ buttons: [{
+ text: Strings.sharedAttributes,
+ handler: 'showAttributesView'
+ }, {
+ glyph: 'xf276@FontAwesome',
+ minWidth: 0,
+ handler: 'getFromMap',
+ tooltip: Strings.sharedGetFromMap,
+ tooltipType: 'title'
+ }, {
+ xtype: 'tbfill'
+ }, {
+ text: Strings.sharedSave,
+ handler: 'onSaveClick'
+ }, {
+ text: Strings.sharedCancel,
+ handler: 'closeView'
+ }]
});