aboutsummaryrefslogtreecommitdiff
path: root/web/DeviceView.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 13:42:07 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-26 13:42:07 +1200
commit8148beb00a82096b1d41f81bd5b3019fa75de2e9 (patch)
treef37a78e7f21170b663df95beced157867da9e0b0 /web/DeviceView.js
parentd72ae54820d8e42571fa7eadd1477a2502df580b (diff)
downloadtrackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.tar.gz
trackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.tar.bz2
trackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.zip
Add buttons to device panel
Diffstat (limited to 'web/DeviceView.js')
-rw-r--r--web/DeviceView.js20
1 files changed, 20 insertions, 0 deletions
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',