Mercurial > lada > lada-client
annotate app/store/Info.js @ 461:32cb3ce17f62
Added properties
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 08 Jan 2014 16:50:26 +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 |