aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-28 00:02:29 +1300
committerGitHub <noreply@github.com>2017-02-28 00:02:29 +1300
commit053962fb3c45297f3e5ecfa4e26e61e5c7ab7284 (patch)
tree15103a426c4b09db5f032572c82e34e227cd4290 /web/app/view/ServerDialog.js
parenta540844ff9195716a188124960ee57bac6680ce0 (diff)
parent9d3fb390252a9d4cef09bf71c7ebaa7b1a024917 (diff)
downloadetbsa-traccar-web-053962fb3c45297f3e5ecfa4e26e61e5c7ab7284.tar.gz
etbsa-traccar-web-053962fb3c45297f3e5ecfa4e26e61e5c7ab7284.tar.bz2
etbsa-traccar-web-053962fb3c45297f3e5ecfa4e26e61e5c7ab7284.zip
Merge pull request #416 from Abyss777/server_devicereadonly
Add server "device readonly" flag
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 667bf47..770ead7 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,