aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-02-27 15:55:01 +0500
committerAbyss777 <abyss@fox5.ru>2017-02-27 15:55:01 +0500
commit9d3fb390252a9d4cef09bf71c7ebaa7b1a024917 (patch)
tree877971d1cf7a7edf98512f7c7c6f4135f5e0a41c /web/app/view/ServerDialog.js
parent66171b939e4d20ecae0014bb61862e1880e9c6c5 (diff)
downloadtrackermap-web-9d3fb390252a9d4cef09bf71c7ebaa7b1a024917.tar.gz
trackermap-web-9d3fb390252a9d4cef09bf71c7ebaa7b1a024917.tar.bz2
trackermap-web-9d3fb390252a9d4cef09bf71c7ebaa7b1a024917.zip
- Add server "device readonly" flag
- Do not hide buttons in Devices toolbar
Diffstat (limited to 'web/app/view/ServerDialog.js')
-rw-r--r--web/app/view/ServerDialog.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 667bf47f..770ead79 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -42,6 +42,13 @@ Ext.define('Traccar.view.ServerDialog', {
fieldLabel: Strings.serverReadonly,
allowBlank: false
}, {
+ xtype: 'checkboxfield',
+ inputValue: true,
+ uncheckedValue: false,
+ name: 'deviceReadonly',
+ fieldLabel: Strings.userDeviceReadonly,
+ allowBlank: false
+ }, {
xtype: 'combobox',
name: 'map',
fieldLabel: Strings.mapLayer,