aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app.js16
-rw-r--r--web/index.html11
-rw-r--r--web/login.js0
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