From 8148beb00a82096b1d41f81bd5b3019fa75de2e9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 26 Apr 2015 13:42:07 +1200 Subject: Add buttons to device panel --- web/DeviceView.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'web/DeviceView.js') diff --git a/web/DeviceView.js b/web/DeviceView.js index a99e20fd4..09174467c 100644 --- a/web/DeviceView.js +++ b/web/DeviceView.js @@ -20,6 +20,26 @@ Ext.define('DeviceView', { title: Strings.device_title, + + initComponent: function() { + + this.tbar = [{ + text:'Add' + }, { + text:'Edit' + }, { + text:'Remove' + }, { + xtype: 'tbfill' + }, { + text:'Settings' + }, { + text:'Logout' + }]; + + this.callParent(); + }, + store: { proxy: { type: 'ajax', -- cgit v1.2.3