/*
 * File: app/view/LoginView.js
 *
 * This file was generated by Sencha Architect version 2.1.0.
 * http://www.sencha.com/products/architect/
 *
 * This file requires use of the Sencha Touch 2.0.x library, under independent license.
 * License of Sencha Architect does not include license for Sencha Touch 2.0.x. For more
 * details see http://www.sencha.com/license or contact license@sencha.com.
 *
 * This file will be auto-generated each and everytime you save your project.
 *
 * Do NOT hand edit this file.
 */

Ext.define('MyApp.view.LoginView', {
    extend: 'Ext.form.Panel',

    config: {
        id: 'LoginView',
        padding: 10,
        standardSubmit: true,
        submitOnAction: 'True',
        url: 'Login',
        cls: [
            'app-body'
        ],
        items: [
            {
                xtype: 'titlebar',
                cls: 'x-navigation-bar app-toolbar app-shadow-bottom',
                docked: 'top',
                title: '登录'
            },
            {
                xtype: 'fieldset',
                id: 'LoginForm',
                title: '欢迎您',
                items: [
                    {
                        xtype: 'textfield',
                        label: '用户名',
                        labelCls: 'icon-user',
                        name: 'UserName'
                    },
                    {
                        xtype: 'passwordfield',
                        label: '密码',
                        labelCls: 'icon-key',
                        name: 'Password'
                    }
                ]
            },
            {
                xtype: 'button',
                id: 'btnLogin',
                itemId: 'mybutton',
                ui: 'action',
                text: '登录'
            }
        ]
    }

});