Skip to content

Commit

Permalink
Add simple extjs code
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jan 31, 2015
1 parent 08e6d78 commit 9834ff8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down
16 changes: 16 additions & 0 deletions web/app.js
Original file line number Diff line number Diff line change
@@ -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>...'
});

}
});
11 changes: 8 additions & 3 deletions web/index.html
Original file line number Diff line number Diff line change
@@ -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>
Empty file added web/login.js
Empty file.

0 comments on commit 9834ff8

Please sign in to comment.