Mercurial > lada > lada-client
annotate app/store/Info.js @ 435:f848807b2bc7
Added tag 0.9 for changeset 759828c533f5
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 12:56:59 +0100 |
parents | 39297b8e5ba2 |
children | debfcc7713e3 |
rev | line source |
---|---|
337
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
259
diff
changeset
|
1 /** |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
259
diff
changeset
|
2 * Store for Info |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
259
diff
changeset
|
3 */ |
259
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.store.Info', { |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Ext.data.Store', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 fields: ['user', 'groups', 'version'], |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 proxy: { |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 type: 'rest', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 url: 'server/rest/info', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 reader: { |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 type: 'json', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 root: 'data' |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 } |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 } |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 }); |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 |