The 3T administration interface will require us to build the components displayed in the following screenshot. The ProjectForm
and TaskForm
views are not visible and will be displayed when required in a card layout:
The ManageTasks
view is an hbox
layout that equally splits the left and right parts of the screen. The toolbar contains a single button to add a new company, while the region to the right is a card layout containing the CompanyForm
, ProjectForm
, and TaskForm
views. Let's now look at each component in detail.
The ManageTasks
view defines the toolbar with the Add New Company button and splits the view into an hbox
layout. The companytree
panel and container
defined with the card layout are configured by xtype
. The card layout container contains the CompanyForm
, ProjectForm
, and TaskForm
. The ManageTasks
view is defined as follows:
Ext.define('TTT.view.admin.ManageTasks', { extend: 'Ext.panel.Panel', xtype: 'managetasks...