Commit 189991fd authored by Frank Bergmann's avatar Frank Bergmann

- Sencha Touch:

  - removed unnecessary files
  - added automaximize=true
parent f451650c
......@@ -17,6 +17,10 @@ Ext.application({
'NoteNavigationController'
],
viewport: {
autoMaximize: true
},
// Main function: Load the various panels
launch: function() {
Ext.create("Ext.tab.Panel", {
......
......@@ -39,7 +39,6 @@ Ext.define('PO.controller.NoteNavigationController', {
var view = this.getNoteNavigationView();
view.push({
xtype: 'noteDetail',
title: record.data.note,
record: record
});
}
......
......@@ -6,8 +6,7 @@ Ext.define('PO.view.NoteDetail', {
layout: 'vbox',
items: [{
xtype: 'fieldset',
title: 'Note Fields',
instructions: '(email address is optional)',
title: 'Edit Note',
items: [{
xtype: 'selectfield',
name: 'note_type_id',
......
......@@ -4,7 +4,7 @@ Ext.define('PO.view.NoteList', {
requires: ['PO.store.NoteStore'],
config: {
title: 'NoteList',
title: 'Note List',
iconCls: 'star',
itemTpl: '<div class="contact2">{note}</div>',
disclosure: true,
......
......@@ -8,9 +8,14 @@ Ext.define('PO.view.SplashPage', {
scrollable: 'vertical',
// styleHtmlContent: true,
html: [
'<center><img src="/senchatouch-notes/resources/startup/320x460.png"/></center>',
'<h1>]project-open[ Sencha Touch Notes</h1>',
"<p>This demo shows how to build Sencha Touch applications using ]po[."
'<br>&nbsp;<br>&nbsp;<br>',
'<center>',
'<img src="/senchatouch-notes/resources/startup/project_open.250x91.gif"/>',
'<br>&nbsp;<br>',
'<h1>]po[ Sencha Touch Notes</h1>',
'<br>&nbsp;<br>',
'<p>This demo shows how to list, update and create notes objects using a ]po[ backend.',
'</center>',
].join("")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment