pax_global_header 0000666 0000000 0000000 00000000064 12132563424 0014514 g ustar 00root root 0000000 0000000 52 comment=6ed19bc9dbd7ecce7e277268e43d3364b727f5ff
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/ 0000775 0000000 0000000 00000000000 12132563424 0022424 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/senchatouch-notes.info 0000664 0000000 0000000 00000002340 12132563424 0026732 0 ustar 00root root 0000000 0000000
Sencha Touch Notes
Sencha Touch Notes
f
t
f
f
senchatouch-notes
Frank Bergmann
Sencha Touch Notes Demo Application
]project-open[
Allows users to list and create notes.
0
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/ 0000775 0000000 0000000 00000000000 12132563424 0023250 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app.js 0000664 0000000 0000000 00000006514 12132563424 0024374 0 ustar 00root root 0000000 0000000
Ext.application({
name: 'PO',
models: ['Note'],
stores: ['Notes', 'Contacts'],
requires: [
'Ext.MessageBox',
'Ext.data.Store',
'Ext.List',
'Ext.plugin.PullRefresh'
],
launch: function() {
Ext.create("Ext.tab.Panel", {
fullscreen: true,
tabBarPosition: 'bottom',
items: [{
title: 'Home',
iconCls: 'home',
html: [
'
',
']project-open[ Sencha Touch Notes
',
"This demo shows how to build Sencha Touch applications using ]po[."
].join("")
}, {
xtype: 'nestedlist',
title: 'Blog',
iconCls: 'star',
displayField: 'title',
detailCard: {
xtype: 'panel',
scrollable: true,
styleHtmlContent: true
},
listeners: {
itemtap: function(nestedList, list, index, element, post) {
this.getDetailCard().setHtml(post.get('content'));
}
},
store: {
type: 'tree',
fields: [
'title', 'link', 'author', 'contentSnippet', 'content',
{name: 'leaf', defaultValue: true}
],
root: {
leaf: false
},
proxy: {
type: 'jsonp',
url: 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://feeds.feedburner.com/SenchaBlog',
reader: {
type: 'json',
rootProperty: 'responseData.feed.entries'
}
}
}
}, {
xtype: 'list',
title: 'List',
iconCls: 'star',
itemTpl: '
{firstName} {lastName}
',
disclosure: true,
grouped: true,
indexBar: true,
onItemDisclosure: function(record, item, index, e) {
//show a messagebox alert which shows the persons firstName
e.stopEvent();
Ext.Msg.alert('Disclose', 'Disclose more info for ' + record.get('firstName'));
},
store: 'Contacts'
}, {
title: 'Contact',
iconCls: 'user',
xtype: 'formpanel',
url: 'contact.php',
layout: 'vbox',
items: [{
xtype: 'fieldset',
title: 'Contact Us',
instructions: '(email address is optional)',
items: [
{
xtype: 'textfield',
label: 'Name'
},
{
xtype: 'emailfield',
label: 'Email'
},
{
xtype: 'textareafield',
label: 'Message'
}
]
},
{
xtype: 'button',
text: 'Send',
ui: 'confirm',
handler: function() {
this.up('formpanel').submit();
}
}
]
}
]
});
}
}); senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app.json 0000664 0000000 0000000 00000002014 12132563424 0024720 0 ustar 00root root 0000000 0000000 {
"name": "List",
"js": [
{
"path": "/senchatouch-v211/sencha-touch-all-debug.js"
},
{
"path": "app.js",
"update": "delta"
}
],
"css": [
{
"path": "/senchatouch-v211/resources/css/sencha-touch.css",
"update": "delta"
}
],
"appCache": {
"cache": [
"index.html"
],
"network": [
"*"
],
"fallback": []
},
"extras": [
"contacts.json",
"resources/icons",
"resources/loading"
],
"archivePath": "archive",
"buildPaths": {
"testing": "../../deploy/testing/list",
"production": "../../deploy/production/list",
"package": "../../deploy/package/list",
"native": "../../deploy/native/list"
},
"buildOptions": {
"product": "touch",
"minVersion": 3,
"debug": false,
"logger": "no"
},
"id": "3a867610-670a-11e1-a90e-4318029d18bb"
}
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/ 0000775 0000000 0000000 00000000000 12132563424 0024030 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/model/ 0000775 0000000 0000000 00000000000 12132563424 0025130 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/model/Note.js 0000664 0000000 0000000 00000001306 12132563424 0026373 0 ustar 00root root 0000000 0000000 Ext.define('PO.model.Note', {
extend: 'Ext.data.Model',
config: {
fields: [
'id',
'object_name',
'note_type_id'
],
proxy: {
type: 'rest',
url: '/intranet-rest/im_note',
appendId: true, // Append the object_id: ../im_ticket/
timeout: 300000,
extraParams: {
format: 'json', // Tell the ]po[ REST to return JSON data.
deref_p: '1',
columns: 'note_type_id'
},
reader: {
type: 'json', // Tell the Proxy Reader to parse JSON
root: 'data', // Where do the data start in the JSON file?
totalProperty: 'total' // Total number of tickets for pagination
},
writer: {
type: 'json' // Allow Sencha to write ticket changes
}
}
}
});
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/store/ 0000775 0000000 0000000 00000000000 12132563424 0025164 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/store/Contacts.js 0000664 0000000 0000000 00000000735 12132563424 0027305 0 ustar 00root root 0000000 0000000 Ext.define('PO.store.Contacts', {
extend: 'Ext.data.Store',
config: {
fields: ['firstName', 'lastName'],
sorters: 'firstName',
grouper: {
groupFn: function(record) { return record.get('firstName')[0]; }
},
data: [
{ firstName: 'Ed', lastName: 'Spencer' },
{ firstName: 'Tommy', lastName: 'Maintz' },
{ firstName: 'Aaron', lastName: 'Conran' },
{ firstName: 'Jamie', lastName: 'Avins' }
]
}
});
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/app/store/Notes.js 0000664 0000000 0000000 00000000472 12132563424 0026615 0 ustar 00root root 0000000 0000000 Ext.define('PO.store.Notes', {
extend: 'Ext.data.Store',
requires: 'Ext.DateExtras',
config: {
model: 'PO.model.Note',
sorters: [
{
property: 'note_type_id',
direction: 'ASC'
},
{
property: 'object_name',
direction: 'ASC'
}
]
}
});
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/contacts.json 0000664 0000000 0000000 00000015611 12132563424 0025765 0 ustar 00root root 0000000 0000000 [
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Ape", "lastName": "Evilias" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Ape", "lastName": "Evilias" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Ape", "lastName": "Evilias" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Ape", "lastName": "Evilias" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Tommy", "lastName": "Maintz" },
{ "firstName": "Ed", "lastName": "Spencer" },
{ "firstName": "Jamie", "lastName": "Avins" },
{ "firstName": "Aaron", "lastName": "Conran" },
{ "firstName": "Dave", "lastName": "Kaneda" },
{ "firstName": "Michael", "lastName": "Mullany" },
{ "firstName": "Abraham", "lastName": "Elias" },
{ "firstName": "Jay", "lastName": "Robinson" },
{ "firstName": "Zed", "lastName": "Zacharias "}
]
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/index.html 0000664 0000000 0000000 00000000422 12132563424 0025243 0 ustar 00root root 0000000 0000000
]po[ Sencha Touch Notes Demo
senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/resources/ 0000775 0000000 0000000 00000000000 12132563424 0025262 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/resources/startup/ 0000775 0000000 0000000 00000000000 12132563424 0026764 5 ustar 00root root 0000000 0000000 senchatouch-notes-6ed19bc9dbd7ecce7e277268e43d3364b727f5ff/www/resources/startup/1496x2048.png 0000664 0000000 0000000 00000303140 12132563424 0030604 0 ustar 00root root 0000000 0000000 PNG
IHDR + tEXtSoftware Adobe ImageReadyqe<