diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-02-01 11:20:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-02-01 11:20:39 +1300 |
commit | 9834ff8c5b3714cb6f0307416bc7a6742bd34f96 (patch) | |
tree | b47378287a0eff56aed2d62adbad938ed599f3fb /web | |
parent | 08e6d78e4f623b790f65cd4147d55dd7c7a4c6c2 (diff) | |
download | trackermap-server-9834ff8c5b3714cb6f0307416bc7a6742bd34f96.tar.gz trackermap-server-9834ff8c5b3714cb6f0307416bc7a6742bd34f96.tar.bz2 trackermap-server-9834ff8c5b3714cb6f0307416bc7a6742bd34f96.zip |
Add simple extjs code
Diffstat (limited to 'web')
-rw-r--r-- | web/app.js | 16 | ||||
-rw-r--r-- | web/index.html | 11 | ||||
-rw-r--r-- | web/login.js | 0 |
3 files changed, 24 insertions, 3 deletions
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 |