From 9834ff8c5b3714cb6f0307416bc7a6742bd34f96 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 1 Feb 2015 11:20:39 +1300 Subject: Add simple extjs code --- default.cfg | 2 +- web/app.js | 16 ++++++++++++++++ web/index.html | 11 ++++++++--- web/login.js | 0 4 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 web/app.js create mode 100644 web/login.js diff --git a/default.cfg b/default.cfg index 33f0773e1..042759b29 100644 --- a/default.cfg +++ b/default.cfg @@ -49,7 +49,7 @@ 8082 ../traccar-web/traccar-web.war - false + true web diff --git a/web/app.js b/web/app.js new file mode 100644 index 000000000..a6084fbda --- /dev/null +++ b/web/app.js @@ -0,0 +1,16 @@ +Ext.application({ + name : 'Traccar', + + launch : function() { + + Ext.create('Ext.Panel', { + renderTo : Ext.getBody(), + width : 200, + height : 150, + bodyPadding : 5, + title : 'Hello World', + html : 'Hello World...' + }); + + } +}); diff --git a/web/index.html b/web/index.html index 45c0febd8..b9a4f4e7e 100644 --- a/web/index.html +++ b/web/index.html @@ -1,6 +1,11 @@ - -file - + +Traccar + + + + + + diff --git a/web/login.js b/web/login.js new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3