aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/model/Server.js3
-rw-r--r--web/app/view/ServerDialog.js5
-rw-r--r--web/l10n/en.json1
3 files changed, 9 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',
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 8e10812f3..ec8018863 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -59,6 +59,7 @@
"serverTitle": "Server Settings",
"serverZoom": "Zoom",
"serverRegistration": "Registration",
+ "serverReadonly": "Readonly",
"mapTitle": "Map",
"mapLayer": "Map Layer",
"mapCustom": "Custom Map",