diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/DeviceView.js | 20 | ||||
-rw-r--r-- | web/Styles.js | 2 |
2 files changed, 21 insertions, 1 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', diff --git a/web/Styles.js b/web/Styles.js index ea154ba2e..a77a0b0bf 100644 --- a/web/Styles.js +++ b/web/Styles.js @@ -19,7 +19,7 @@ Ext.define('Styles', { panel_padding: 10, - device_width: 300, + device_width: 400, map_center: [ -0.1275, 51.507222 ], map_zoom: 6, |