3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
15 Ext.Loader.setConfig({enabled: true});
17 Ext.Loader.setPath('Ext.ux', '../ux/');
21 'Ext.tip.QuickTipManager',
23 'Ext.ux.GroupTabPanel',
27 Ext.onReady(function() {
28 Ext.tip.QuickTipManager.init();
30 // create some portlet tools using built in Ext tool ids
34 Ext.Msg.alert('Message', 'The Settings tool was clicked.');
38 handler: function(e, target, panel){
39 panel.ownerCt.remove(panel, true);
43 Ext.create('Ext.Viewport', {
46 xtype: 'grouptabpanel',
52 iconCls: 'x-icon-tickets',
53 tabTip: 'Tickets tabtip',
61 tabTip: 'Dashboard tabtip',
67 html: '<div class="portlet-content">'+Ext.example.bogusMarkup+'</div>'
70 title: 'Stock Portlet',
76 html: '<div class="portlet-content">'+Ext.example.bogusMarkup+'</div>'
80 title: 'Subscriptions',
81 iconCls: 'x-icon-subscriptions',
82 tabTip: 'Subscriptions tabtip',
83 style: 'padding: 10px;',
91 html: Ext.example.shortBogusMarkup
96 iconCls: 'x-icon-users',
97 tabTip: 'Users tabtip',
98 style: 'padding: 10px;',
99 html: Ext.example.shortBogusMarkup
104 title: 'Configuration',
105 iconCls: 'x-icon-configuration',
106 tabTip: 'Configuration tabtip',
107 style: 'padding: 10px;',
108 html: Ext.example.shortBogusMarkup
110 title: 'Email Templates',
111 iconCls: 'x-icon-templates',
112 tabTip: 'Templates tabtip',
113 style: 'padding: 10px;',
116 xtype: 'form', // since we are not using the default 'panel' xtype, we must specify it
119 title: 'Form Layout',
120 bodyStyle: 'padding:15px',
127 defaultType: 'textfield',
129 fieldLabel: 'First Name',
133 fieldLabel: 'Last Name',
136 fieldLabel: 'Company',
144 buttons: [{text: 'Save'},{text: 'Cancel'}]