Mercurial > lada > lada-client
annotate app/store/Info.js @ 273:a282da79cfaa
Added datetimepicker from
http://www.sencha.com/forum/showthread.php?137242-Ext.ux.DateTimeField-DateTimePicker-for-ext4-also-DateTimeMenu-TimePickerField
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 07 Aug 2013 11:59:50 +0200 |
parents | d19ad9d28de5 |
children | 39297b8e5ba2 |
rev | line source |
---|---|
259
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 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
|
2 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
|
3 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
|
4 proxy: { |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 type: 'rest', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 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
|
7 reader: { |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 type: 'json', |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 root: 'data' |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 } |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 } |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 }); |
d19ad9d28de5
Added code to show general information about the application in the
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 |