aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/model/Server.js3
-rw-r--r--web/app/view/ServerDialog.js5
2 files changed, 8 insertions, 0 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index b200a2d23..9b4b5b2b6 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -25,6 +25,9 @@ Ext.define('Traccar.model.Server', {
name: 'registration',
type: 'boolean'
}, {
+ name: 'readonly',
+ type: 'boolean'
+ }, {
name: 'map',
type: 'string'
}, {
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index da197ffe4..9fbbed920 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -31,6 +31,11 @@ Ext.define('Traccar.view.ServerDialog', {
name: 'registration',
fieldLabel: Strings.serverRegistration,
allowBlank: false
+ },{
+ xtype: 'checkboxfield',
+ name: 'readonly',
+ fieldLabel: Strings.serverReadonly,
+ allowBlank: false
}, {
xtype: 'combobox',
name: 'map',