demo component and service page updates

This commit is contained in:
Sercan Yemen 2017-09-21 15:54:11 +03:00
parent 098dacf2a5
commit e5cf4fdafb
3 changed files with 17 additions and 9 deletions

View File

@ -49,7 +49,7 @@ export class FuseNavigationService
{
if ( !navigationItems )
{
navigationItems = this.navigationModel;
navigationItems = this.navigationModel.model;
}
for ( const navItem of navigationItems )

View File

@ -50,13 +50,20 @@
</div>
<div class="my-48">
<h3>Header</h3>
<h3>Grouping</h3>
<p class="md-grey-200-bg py-8">
<fuse-hljs lang="json" class="source-code">
<textarea #source hidden="hidden">
{
'title': 'COMPONENTS',
'type' : 'subheader'
'type' : 'group',
'children': [
{
'title': 'ngx-datatable',
'type' : 'item',
'url' : '/components/datatables/ngx-datatable'
}
]
},
</textarea>
</fuse-hljs>
@ -70,7 +77,7 @@
<textarea #source hidden="hidden">
{
'title' : 'Datatables',
'type' : 'nav-collapse',
'type' : 'collapse',
'icon' : 'border_all',
'children': [
{
@ -92,7 +99,7 @@
<textarea #source hidden="hidden">
{
'title': 'Countdown',
'type' : 'nav-item',
'type' : 'item',
'icon' : 'settings_input_component',
'url' : '/components/countdown'
},

View File

@ -45,14 +45,15 @@
// Fully customizable surroundings for this particular component
this.fuseConfig.setSettings({
layout : {
navigation: 'left', // 'right', 'left', 'top', none
toolbar : 'below', // 'above', 'below', none
footer : 'none' // 'above', 'below', none
navigation: 'left', // 'right', 'left', 'top', none
toolbar : 'below', // 'above', 'below', none
footer : 'none' // 'above', 'below', none
mode : 'fullwidth' // 'boxed', 'fullwidth'
},
colorClasses : {
toolbar: 'md-white-500-bg',
navbar : 'md-fuse-dark-500-bg',
footer : 'md-fuse-dark-800-bg'
footer : 'md-fuse-dark-700-bg'
},
customScrollbars: true,
routerAnimation : 'fadeIn'