]> git.proxmox.com Git - extjs.git/blame - extjs/examples/modern/geocongress/app/view/legislator/TabPanel.js
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / modern / geocongress / app / view / legislator / TabPanel.js
CommitLineData
6527f429
DM
1/**\r
2 * The container for a Legislator's Info, Sponsored Bills and Votes\r
3 */\r
4Ext.define('GeoCon.view.legislator.TabPanel', {\r
5 extend: 'Ext.tab.Panel',\r
6\r
7 requires: [\r
8 'GeoCon.view.legislator.Info',\r
9 'GeoCon.view.bill.List',\r
10 'GeoCon.view.vote.List'\r
11 ],\r
12\r
13 id: 'legislatorTabPanel',\r
14\r
15 config: {\r
16 tabBar: {\r
17 layout: {\r
18 pack: 'center'\r
19 }\r
20 },\r
21 items: [\r
22 {\r
23 id: 'legislatorToolbar',\r
24 docked: 'top',\r
25 xtype: 'toolbar',\r
26 items: [\r
27 {\r
28 xtype: 'button',\r
29 text: 'Back',\r
30 ui: 'back',\r
31 id: 'legislatorBackButton'\r
32 }\r
33 ]\r
34 },\r
35 { title: 'Bio', xclass: 'GeoCon.view.legislator.Info' },\r
36 { title: 'Bills', xclass: 'GeoCon.view.bill.List' },\r
37 { title: 'Votes', xclass: 'GeoCon.view.vote.List' }\r
38 ]\r
39 }\r
40});\r