Mercurial > lada > lada-client
annotate app.js @ 2:570373979387
Added a simple panel to the application.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 29 Apr 2013 14:20:54 +0200 |
parents | 1e257ec56220 |
children | ac736eea9b30 |
rev | line source |
---|---|
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 Ext.application({ |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 name: 'Lada', |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 autoCreateViewprt: true, |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 launch: function() { |
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 // Start the application. |
2
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
6 console.log('Launching the application'); |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
7 Ext.create('Ext.container.Viewport', { |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
8 layout: 'fit', |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
9 items: [ |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
10 { |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
11 xtype: 'panel', |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
12 title: 'Probenauswahlmaske', |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
13 html: 'Probenliste wird hier angezeigt.' |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
14 } |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
15 ] |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
16 }); |
570373979387
Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
0
diff
changeset
|
17 }, |
0
1e257ec56220
Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 }); |