annotate app.js @ 117:5ef91e9ac7b1

Clean up code and improve comments.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 10:08:19 +0200
parents c4f97a5a9939
children f2579cadaee8
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',
117
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
3 // Setting up translations. This is done using a ext-plgin which can be
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
4 // found on https://github.com/elmasse/Ext.i18n.Bundle
73
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
5 requires: ['Ext.i18n.Bundle'],
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
6 bundle: {
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
7 bundle: 'Lada',
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
8 lang: 'de-DE',
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
9 path: 'resources',
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
10 noCache: true
7661f09466cc Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 54
diff changeset
11 },
117
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
12 // Setting this variable to true triggers loading the Viewport.js
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
13 // file which sets ob the viewport.
25
f964a50bfe57 Restructured the application. Fixed layouts etc.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 24
diff changeset
14 autoCreateViewport: true,
117
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
15
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
16
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
17 // Start the application.
0
1e257ec56220 Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
18 launch: function() {
2
570373979387 Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 0
diff changeset
19 console.log('Launching the application');
570373979387 Added a simple panel to the application.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 0
diff changeset
20 },
117
5ef91e9ac7b1 Clean up code and improve comments.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 110
diff changeset
21
3
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
22 // Define the controllers of the application. They will be initialized
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
23 // first before the application "launch" function is called.
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
24 controllers: [
6
8e79bda4d55b Added a list to select predefined SQL Statement for the Proben list.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 4
diff changeset
25 'Proben',
54
3c7bfff8bd64 Added Controller for kommentare
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 25
diff changeset
26 'Kommentare',
108
6c69bbb61c65 Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 73
diff changeset
27 'Sql',
110
c4f97a5a9939 Added Forms to add Zusatzwerte
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 109
diff changeset
28 'Zusatzwerte',
109
2308094f5a8c Added forms to add Orte
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 108
diff changeset
29 'Orte',
108
6c69bbb61c65 Added Forms to add Messungen
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 73
diff changeset
30 'Messungen'
3
ac736eea9b30 Initialise the Proben controller.
Torsten Irländer <torsten.irlaender@intevation.de>
parents: 2
diff changeset
31 ]
0
1e257ec56220 Initial commit
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff changeset
32 });

http://lada.wald.intevation.org