Ext.application({
    requires: [
        'Ext.container.Viewport'
    ],

    name: 'TAGGUI.image-training-data',

    controllers: [
        'TrainingDataController'
    ],

    appFolder: BASE_URL + '/resources/js/taggui/image-training-data',

    launch: function () {
        Ext.QuickTips.init();
        Ext.create('Ext.container.Viewport', {
            cls: 'mainWraper',
            layout: 'fit',
            items: [
                {
                    xtype: 'container',
                    scrollable: true,
                    layout: {
                        type: 'vbox',
                        align: 'center'
                    },
                    items: [
                        {
                            xtype: 'aidr-header'
                        },
                        {
                            xtype: 'training-data-view'
                        },
                        {
                            xtype: 'panel',
                            width: 0,
                            border: false,
                            flex: 1,
                            margin: '0 0 25 0'
                        },
                        {
                            xtype: 'aidr-footer'
                        }
                    ]
                }
            ]
        });
    }
});