3 * Copyright(c) 2006-2010 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.onReady(function() {
\r
8 Ext.QuickTips.init();
\r
10 // create some portlet tools using built in Ext tool ids
\r
13 handler: function(){
\r
14 Ext.Msg.alert('Message', 'The Settings tool was clicked.');
\r
18 handler: function(e, target, panel){
\r
19 panel.ownerCt.remove(panel, true);
\r
23 var viewport = new Ext.Viewport({
\r
26 xtype: 'grouptabpanel',
\r
34 iconCls: 'x-icon-tickets',
\r
35 tabTip: 'Tickets tabtip',
\r
36 style: 'padding: 10px;',
\r
37 items: [new SampleGrid([0,1,2,3,4])]
\r
42 tabTip: 'Dashboard tabtip',
\r
45 style:'padding:10px 0 10px 10px',
\r
47 title: 'Grid in a Portlet',
\r
50 items: new SampleGrid([0, 2, 3])
\r
52 title: 'Another Panel 1',
\r
54 html: Ext.example.shortBogusMarkup
\r
58 style:'padding:10px 0 10px 10px',
\r
62 html: Ext.example.shortBogusMarkup
\r
64 title: 'Another Panel 2',
\r
66 html: Ext.example.shortBogusMarkup
\r
70 style:'padding:10px',
\r
74 html: Ext.example.shortBogusMarkup
\r
76 title: 'Another Panel 3',
\r
78 html: Ext.example.shortBogusMarkup
\r
82 title: 'Subscriptions',
\r
83 iconCls: 'x-icon-subscriptions',
\r
84 tabTip: 'Subscriptions tabtip',
\r
85 style: 'padding: 10px;',
\r
91 title: 'Nested Tabs',
\r
92 html: Ext.example.shortBogusMarkup
\r
97 iconCls: 'x-icon-users',
\r
98 tabTip: 'Users tabtip',
\r
99 style: 'padding: 10px;',
\r
100 html: Ext.example.shortBogusMarkup
\r
105 title: 'Configuration',
\r
106 iconCls: 'x-icon-configuration',
\r
107 tabTip: 'Configuration tabtip',
\r
108 style: 'padding: 10px;',
\r
109 html: Ext.example.shortBogusMarkup
\r
111 title: 'Email Templates',
\r
112 iconCls: 'x-icon-templates',
\r
113 tabTip: 'Templates tabtip',
\r
114 style: 'padding: 10px;',
\r
115 html: Ext.example.shortBogusMarkup
\r