Mercurial > lada > lada-client
annotate app/store/Info.js @ 439:1fc4407c6c83 0.9
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 02 Dec 2013 15:02:53 +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 |