Skip to content

Instantly share code, notes, and snippets.

@istan
Created June 4, 2012 17:52
Show Gist options
  • Save istan/2869835 to your computer and use it in GitHub Desktop.
Save istan/2869835 to your computer and use it in GitHub Desktop.
Ext.define("onthebar.view.Main", {
extend: 'Ext.Container',
requires: ['Ext.TitleBar','onthebar.view.SignIn'],
id: 'viewport',
config: {
title: 'onthebar',
layout: {
type: 'card'
},
fullscreen: true,
items: [
{
xtype: 'titlebar',
docked: 'top',
title: 'onthebar'
},
{
xclass: 'onthebar.view.SignIn',
}
]
}
});
Ext.define('onthebar.view.SignIn', {
extend: 'Ext.Container',
requires: ['onthebar.view.signIn.Form'],
config: {
padding: 20,
layout: 'fit',
items: [
{
xclass: 'onthebar.view.signIn.Form'
},
]
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment