aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CommandDialog.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-19 23:34:24 +0300
committerGitHub <noreply@github.com>2016-08-19 23:34:24 +0300
commit6b6d28695600fee509ee37a7225dd6518879ac9c (patch)
tree0b40718962f549b6ab963cf93e9de7cf3c105b13 /web/app/view/CommandDialog.js
parent3826a93f1009942e22ec80c1e13be71e8e917b01 (diff)
parentaaa16c01263847221c7cfec95d722b283dcfd35e (diff)
downloadtrackermap-server-6b6d28695600fee509ee37a7225dd6518879ac9c.tar.gz
trackermap-server-6b6d28695600fee509ee37a7225dd6518879ac9c.tar.bz2
trackermap-server-6b6d28695600fee509ee37a7225dd6518879ac9c.zip
Merge pull request #2231 from Abyss777/wialon_commands
Commands to Wialon protocol
Diffstat (limited to 'web/app/view/CommandDialog.js')
-rw-r--r--web/app/view/CommandDialog.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/web/app/view/CommandDialog.js b/web/app/view/CommandDialog.js
index 8e9a80dbf..d9c3beeb3 100644
--- a/web/app/view/CommandDialog.js
+++ b/web/app/view/CommandDialog.js
@@ -55,6 +55,39 @@ Ext.define('Traccar.view.CommandDialog', {
valueField: 'factor'
}]
}, {
+ xtype: 'fieldcontainer',
+ reference: 'paramOutputControl',
+ name: 'attributes',
+ hidden: true,
+
+ items: [{
+ xtype: 'numberfield',
+ fieldLabel: Strings.commandIndex,
+ name: 'index',
+ allowBlank: false
+ }, {
+ xtype: 'textfield',
+ fieldLabel: Strings.commandData,
+ name: 'data'
+ }]
+ }, {
+ xtype: 'fieldcontainer',
+ reference: 'paramSendSmsUssd',
+ name: 'attributes',
+ hidden: true,
+
+ items: [{
+ xtype: 'textfield',
+ fieldLabel: Strings.commandPhoneNumber,
+ name: 'phoneNumber'
+ }, {
+ xtype: 'textfield',
+ reference: 'paramSmsMessage',
+ fieldLabel: Strings.commandMessage,
+ name: 'message',
+ hidden: true
+ }]
+ }, {
xtype: 'textfield',
reference: 'paramCustom',
fieldLabel: Strings.commandCustom,