From aaa16c01263847221c7cfec95d722b283dcfd35e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 19 Aug 2016 19:49:11 +0500 Subject: - Added commands to WialonProtocol - Added more additional fields to CommandDialog --- web/app/view/CommandDialog.js | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'web/app/view/CommandDialog.js') 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 @@ -54,6 +54,39 @@ Ext.define('Traccar.view.CommandDialog', { displayField: 'name', 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', -- cgit v1.2.3