aboutsummaryrefslogtreecommitdiff
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
parentd72ae54820d8e42571fa7eadd1477a2502df580b (diff)
downloadtrackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.tar.gz
trackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.tar.bz2
trackermap-server-8148beb00a82096b1d41f81bd5b3019fa75de2e9.zip
Add buttons to device panel
-rw-r--r--web/DeviceView.js20
-rw-r--r--web/Styles.js2
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,