Commit 3ff5f55a authored by Frank Bergmann's avatar Frank Bergmann

- Sencha Touch TS:

  UserDetails page enabled in Navigation View
parent 0d58f79e
...@@ -3,7 +3,8 @@ Ext.application({ ...@@ -3,7 +3,8 @@ Ext.application({
name: 'PO', name: 'PO',
models: ['Note'], models: ['Note'],
stores: ['Notes', 'Users', 'Contacts'], stores: ['Notes', 'Users', 'Contacts'],
views: ['UserList', 'BlogList'], views: ['UserList', 'UserDetail', 'BlogList', 'UserNavigationView'],
controllers: ['UserNavigationController'],
requires: [ requires: [
'Ext.MessageBox', 'Ext.MessageBox',
...@@ -29,6 +30,8 @@ Ext.application({ ...@@ -29,6 +30,8 @@ Ext.application({
xtype: 'blogList', xtype: 'blogList',
}, { }, {
xtype: 'userList', xtype: 'userList',
}, {
xtype: 'userNavigationView',
}, { }, {
title: 'Contact', title: 'Contact',
iconCls: 'user', iconCls: 'user',
......
Ext.define('PO.view.UserDetail', { Ext.define('PO.view.UserDetail', {
extend: 'Ext.Panel', extend: 'Ext.Panel',
xtype: 'userDetail',
config: { config: {
styleHtmlContent: true, styleHtmlContent: true,
scrollable: vertical, scrollable: 'vertical',
title: 'User Details', title: 'User Details',
html: 'Hello World' html: 'Hello World'
......
...@@ -5,7 +5,7 @@ Ext.define('PO.view.UserList', { ...@@ -5,7 +5,7 @@ Ext.define('PO.view.UserList', {
config: { config: {
title: 'Users', title: 'UserList',
iconCls: 'star', iconCls: 'star',
itemTpl: '<div class="contact2"><strong>{first_names}</strong> {last_name}</div>', itemTpl: '<div class="contact2"><strong>{first_names}</strong> {last_name}</div>',
disclosure: true, disclosure: true,
......
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