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