diff options
-rw-r--r-- | default.cfg | 2 | ||||
-rw-r--r-- | web/app.js | 16 | ||||
-rw-r--r-- | web/index.html | 11 | ||||
-rw-r--r-- | web/login.js | 0 |
4 files changed, 25 insertions, 4 deletions
diff --git a/default.cfg b/default.cfg index 33f0773e1..042759b29 100644 --- a/default.cfg +++ b/default.cfg @@ -49,7 +49,7 @@ <!--<entry key='http.address'></entry>--> <entry key='http.port'>8082</entry> <entry key='http.application'>../traccar-web/traccar-web.war</entry> - <entry key='http.new'>false</entry> + <entry key='http.new'>true</entry> <entry key='http.path'>web</entry> <!-- Geocoder options --> 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 <b>World</b>...' + }); + + } +}); 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 @@ <!DOCTYPE html> <html> -<body> -file -</body> +<head> +<title>Traccar</title> +<link rel="stylesheet" type="text/css" href="//cdn.sencha.com/ext/gpl/5.1.0/build/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css"> +<script type="text/javascript" src="//cdn.sencha.com/ext/gpl/5.1.0/build/ext-all.js"></script> +<script type="text/javascript" src="//cdn.sencha.com/ext/gpl/5.1.0/build/packages/ext-theme-neptune/build/ext-theme-neptune.js"></script> +<script type ="text/javascript" src="app.js"></script> +</head> +<body></body> </html> diff --git a/web/login.js b/web/login.js new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/web/login.js |