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({ ...@@ -17,6 +17,10 @@ Ext.application({
'NoteNavigationController' 'NoteNavigationController'
], ],
viewport: {
autoMaximize: true
},
// Main function: Load the various panels // Main function: Load the various panels
launch: function() { launch: function() {
Ext.create("Ext.tab.Panel", { Ext.create("Ext.tab.Panel", {
......
...@@ -39,7 +39,6 @@ Ext.define('PO.controller.NoteNavigationController', { ...@@ -39,7 +39,6 @@ Ext.define('PO.controller.NoteNavigationController', {
var view = this.getNoteNavigationView(); var view = this.getNoteNavigationView();
view.push({ view.push({
xtype: 'noteDetail', xtype: 'noteDetail',
title: record.data.note,
record: record record: record
}); });
} }
......
...@@ -6,8 +6,7 @@ Ext.define('PO.view.NoteDetail', { ...@@ -6,8 +6,7 @@ Ext.define('PO.view.NoteDetail', {
layout: 'vbox', layout: 'vbox',
items: [{ items: [{
xtype: 'fieldset', xtype: 'fieldset',
title: 'Note Fields', title: 'Edit Note',
instructions: '(email address is optional)',
items: [{ items: [{
xtype: 'selectfield', xtype: 'selectfield',
name: 'note_type_id', name: 'note_type_id',
......
...@@ -4,7 +4,7 @@ Ext.define('PO.view.NoteList', { ...@@ -4,7 +4,7 @@ Ext.define('PO.view.NoteList', {
requires: ['PO.store.NoteStore'], requires: ['PO.store.NoteStore'],
config: { config: {
title: 'NoteList', title: 'Note List',
iconCls: 'star', iconCls: 'star',
itemTpl: '<div class="contact2">{note}</div>', itemTpl: '<div class="contact2">{note}</div>',
disclosure: true, disclosure: true,
......
...@@ -8,9 +8,14 @@ Ext.define('PO.view.SplashPage', { ...@@ -8,9 +8,14 @@ Ext.define('PO.view.SplashPage', {
scrollable: 'vertical', scrollable: 'vertical',
// styleHtmlContent: true, // styleHtmlContent: true,
html: [ html: [
'<center><img src="/senchatouch-notes/resources/startup/320x460.png"/></center>', '<br>&nbsp;<br>&nbsp;<br>',
'<h1>]project-open[ Sencha Touch Notes</h1>', '<center>',
"<p>This demo shows how to build Sencha Touch applications using ]po[." '<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("") ].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