-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f258e3
commit 61af75b
Showing
7 changed files
with
141 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
build/* | ||
build/*.js | ||
build/client/*.js | ||
sencha-touch-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "lib/kaffeine"] | ||
path = lib/kaffeine | ||
url = https://github.com/weepy/kaffeine.git | ||
[submodule "lib/browserify"] | ||
path = lib/browserify | ||
url = https://github.com/substack/node-browserify.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This directory contains client (browser) javascript code. Edit /src/client/* kaffeine files. |
Submodule browserify
deleted from
147f01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,107 @@ | ||
new Ext.Application({ | ||
name: 'Shopperpedia', | ||
|
||
launch: function() { | ||
// new Ext.Panel({ | ||
// fullscreen: true, | ||
// html: 'Hello World!' | ||
// }); | ||
var formBase = { | ||
scroll: 'vertical', | ||
url : 'postUser.php', | ||
standardSubmit : false, | ||
items: [{ | ||
xtype: 'fieldset', | ||
title: 'Personal Info', | ||
instructions: 'Please enter the information above.', | ||
this.viewport = new Ext.Panel({ | ||
fullscreen: true, | ||
|
||
id : 'mainPanel', | ||
layout: 'card', | ||
items : [ | ||
{ | ||
xtype: 'carousel', | ||
defaults: { | ||
required: true, | ||
labelAlign: 'left', | ||
labelWidth: '40%' | ||
cls: 'card' | ||
}, | ||
items: [ | ||
{ | ||
xtype: 'textfield', | ||
name : 'name', | ||
label: 'Name', | ||
useClearIcon: true, | ||
autoCapitalize : false | ||
}] | ||
}] | ||
} | ||
|
||
if (Ext.is.Phone) { | ||
formBase.fullscreen = true; | ||
} else { | ||
Ext.apply(formBase, { | ||
autoRender: true, | ||
floating: true, | ||
modal: true, | ||
centered: true, | ||
hideOnMaskTap: false, | ||
height: 385, | ||
width: 480 | ||
}); | ||
} | ||
|
||
form = new Ext.form.FormPanel(formBase); | ||
form.show(); | ||
{ | ||
html: '' | ||
}, | ||
{ | ||
title: 'Tab 2', | ||
html: '2' | ||
}, | ||
{ | ||
title: 'Tab 3', | ||
html: '3' | ||
} | ||
] | ||
} | ||
] | ||
}); | ||
} | ||
}); | ||
|
||
|
||
new Ext.Application({ | ||
launch: function() { | ||
|
||
// var formBase = { | ||
// scroll: 'vertical', | ||
// url : 'postUser.php', | ||
// standardSubmit : false, | ||
// items: [{ | ||
// xtype: 'fieldset', | ||
// title: 'Personal Info', | ||
// // instructions: 'Please enter the information above.', | ||
// defaults: { | ||
// required: true, | ||
// labelAlign: 'left', | ||
// labelWidth: '40%' | ||
// }, | ||
// items: [ | ||
// { | ||
// xtype: 'textfield', | ||
// name : 'name', | ||
// label: 'Name', | ||
// useClearIcon: true, | ||
// autoCapitalize : true | ||
// }, | ||
// { | ||
// xtype: 'textfield', | ||
// name : 'email', | ||
// label: 'Email', | ||
// useClearIcon: true, | ||
// autoCapitalize : false | ||
// } | ||
// ] | ||
// }, | ||
// { | ||
// xtype: 'button', | ||
// text: 'Next', | ||
// // align: 'right', | ||
// width: '50%', | ||
// ui: 'forward', | ||
// handler: function() { | ||
// if(formBase.user){ | ||
// form.updateRecord(formBase.user, true); | ||
// } | ||
// form.submit({ | ||
// waitMsg : {message:'Submitting', cls : 'demos-loading'} | ||
// }); | ||
// } | ||
// }], | ||
// } | ||
// | ||
// if (Ext.is.Phone) { | ||
// formBase.fullscreen = true; | ||
// } else { | ||
// Ext.apply(formBase, { | ||
// autoRender: true, | ||
// floating: true, | ||
// modal: true, | ||
// centered: true, | ||
// hideOnMaskTap: false, | ||
// height: 385, | ||
// width: 480 | ||
// }); | ||
// } | ||
// | ||
// form = new Ext.form.FormPanel(formBase); | ||
// form.show(); | ||
|
||
// var carousel1 = new Ext.Carousel(); | ||
// | ||
// carousel1.show(); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
new Ext.Application({ | ||
name: 'Shopperpedia', | ||
|
||
launch: { | ||
@viewport = new Ext.Panel({ | ||
fullscreen: true, | ||
|
||
id : 'mainPanel', | ||
layout : 'card', | ||
items : [ | ||
{ | ||
xtype : 'carousel', | ||
defaults : { | ||
cls : 'card' | ||
}, | ||
items: [ | ||
{ | ||
html: '' | ||
}, | ||
{ | ||
title: 'Tab 2', | ||
html: '2' | ||
}, | ||
{ | ||
title: 'Tab 3', | ||
html: '3' | ||
} | ||
] | ||
} | ||
] | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters