extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
54 lines (48 loc) • 1.3 kB
JavaScript
Ext.define('Admin.view.dashboard.Dashboard', {
extend: 'Ext.Container',
xtype: 'admindashboard',
controller: 'dashboard',
viewModel: {
type: 'dashboard'
},
cls: 'dashboard',
scrollable: true,
items: [
{
xtype: 'network',
// 60% width when viewport is big enough,
// 100% when viewport is small
userCls: 'big-60 small-100 dashboard-item shadow'
},
{
xtype: 'hddusage',
userCls: 'big-20 small-50 dashboard-item shadow'
},
{
xtype: 'earnings',
userCls: 'big-20 small-50 dashboard-item shadow'
},
{
xtype: 'sales',
userCls: 'big-20 small-50 dashboard-item shadow'
},
{
xtype: 'topmovies',
userCls: 'big-20 small-50 dashboard-item shadow'
},
{
xtype: 'weather',
userCls: 'big-40 small-100 dashboard-item shadow'
},
{
xtype: 'todo',
height: 340,
userCls: 'big-60 small-100 dashboard-item shadow'
},
{
xtype: 'services',
height: 340,
userCls: 'big-40 small-100 dashboard-item shadow'
}
]
});