text: /**
   * The basic glu view for the application.
   *
   * <p>
   * All views are purely layout and don't contain event handling,
   * application or business logic; this is all done in the view's corresponding mediator.
   * </p>
   */
  Ext.define("Core.view.touch.glu.View", {
  	extend: "Core.view.touch.glu.base.View",
      alias: "widget.gluView",
      controller: "Core.mediator.touch.glu.Mediator",
  
  	title: '-',
  	initComponent: function() {
  		this.tbar = {
  			items:[{
  				itemId: 'exitToggle',
  				text: 'Coming/Going',
  				enableToggle: true
  			}]
  		};
  		this.callParent();
  	}
  	/*
      config: {
  	
          title: "Login",
          plugins: [
              {
                  type: "localization",
                  method: "setTitle",
                  key: "login.title"
              }
          ],
  		style: Ext.Viewport.getOrientation() == "portrait" ? "width:320px;height:480px;margin:auto;-moz-border-radius:15px;border-radius:15px;" : "width:480px;height:320px;margin:auto;-moz-border-radius:15px;border-radius:15px;",
  		baseCls: 'x-box',		
          items: [
  //            {
  //                xtype: "image",
  //                src: Ext.Viewport.getOrientation() == "portrait" ? "../../../img/login.png" : "../../../img/login-small.png",
  //                style: Ext.Viewport.getOrientation() == "portrait" ? "width:80px;height:80px;margin:auto" : "width:40px;height:40px;margin:auto"
  //            },
              {
                  xtype: "fieldset",
                  itemId: "company",
                  title: "Your Company",
  				height: 187, // make this flexible
                  items: [
                      {
                          xtype: "textfield",
                          itemId: "usernameTextField",
                          name: "usernameTextField",
                          required: true,
                          plugins: [
                              {
                                  type: "localization",
                                  method: "setPlaceHolder",
                                  key: "login.username"
                              }
                          ]
                      },
                      {
                          xtype: "passwordfield",
                          itemId: "passwordTextField",
                          name: "passwordTextField",
                          required: true,
                          plugins: [
                              {
                                  type: "localization",
                                  method: "setPlaceHolder",
                                  key: "login.password"
                              }
                          ]
                      },
                      {
                          xtype: "checkboxfield",
                          itemId: "keepmeloggedinCheckboxField",
                          name: "keepmeloggedinCheckboxField",
                          required: false,
                          checked: false,
                          plugins: [
                              {
                                  type: "localization",
                                  method: "setLabel",
                                  key: "login.keepmeloggedin"
                              }
                          ],
  						labelWidth: "50%"
                      }
                  ]
              },
              {
                  xtype: "label",
                  plugins: [
                      {
                          type: "localization",
                          method: "setText",
                          key: "login.passwordHint"
                      }
                  ]
              },
              {
                  xtype: "button",
                  itemId: "logInButton",
                  ui: "neutral", // WAS "action",
                  padding: 10,
  				margin: 10,
                  plugins: [
                      {
                          type: "localization",
                          method: "setText",
                          key: "login.submit"
                      }
                  ]
              },
              {
                  xtype: "label",
                  itemId: "logInFailedLabel",
                  name: "logInFailedLabel",
                  hidden: true,
                  hideAnimation: "fadeOut",
                  showAnimation: "fadeIn",
                  style: "color:#990000;margin:5px 10px;",
                  plugins: [
                      {
                          type: "localization",
                          method: "setText",
                          key: "login.loginFailed"
                      }
                  ]
              },
  			{
  				xtype: "container",
  				style: "text-align: center; font-size: small; padding-bottom: 6px;",
  				docked: "bottom",
  				//html:  "Built using Sencha Ext JS " + Ext.getVersion('extjs')				
  				html:  "Built using Sencha Touch " + Ext.getVersion('touch'),
  			}
          ],
  		listeners: {
  			orientationchange: function(viewport, orientation, width, height) {
  				alert('orientation:' + orientation + ' width:' + width + ' height:' + height);
  			}
  		}
  
      }*///eof config
  });
  