Skip to content

Commit

Permalink
Improved default fixtures.
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed Mar 22, 2018
1 parent 41910e1 commit 57bbe95
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 107 deletions.
57 changes: 30 additions & 27 deletions app/fixtures/layouts.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
# App Layouts:

SilverWare\Model\Layout:
Main:
+Section:
+Row:
+Left:
StyleID: PageLayout
Span:
Medium: fill
+SilverWare\Navigation\Components\CrumbNavigation.Crumbs:
StyleID: Crumbs
HideTopLevel: false
+SilverWare\Components\PageComponent.PageLayout:
+Right:
StyleID: Sidebar
Sidebar: true
HideEmpty: true
Span:
Medium: 3
+SilverWare\Components\AreaComponent.Sidebar:
Home:
+Section:
+Row:
+Column:
StyleID: HomePageLayout
+SilverWare\Components\PageComponent.PageLayout:
# App Layouts:

SilverWare\Model\Layout:
Main:
+Section:
+Row:
+Left:
StyleID: PageLayout
Span:
Medium: fill
+SilverWare\Navigation\Components\CrumbNavigation.Crumbs:
StyleID: Crumbs
HideTopLevel: false
+SilverWare\Components\PageComponent.PageLayout:
StyleID: PageComponent
+Right:
StyleID: Sidebar
Sidebar: true
HideEmpty: true
Span:
Medium: 4
Large: 3
+SilverWare\Components\AreaComponent.Sidebar:
Home:
+Section:
+Row:
+Column:
StyleID: HomePageLayout
+SilverWare\Components\PageComponent.PageLayout:
StyleID: PageComponent
28 changes: 14 additions & 14 deletions app/fixtures/panels.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# App Panels:

SilverWare\Model\Panel:
Sidebar:
Areas:
- =>SilverWare\Components\AreaComponent.Sidebar
+SilverWare\Navigation\Components\LevelNavigation.SideNav:
StyleID: SideNav
UseLevelTitle: true
FontIcon: arrow-right
+SilverWare\Components\ContentComponent.SideContent:
StyleID: SideContent
Content: >
<p>This is a content component in the sidebar panel.</p>
# App Panels:

SilverWare\Model\Panel:
Sidebar:
Areas:
- =>SilverWare\Components\AreaComponent.Sidebar
+SilverWare\Navigation\Components\LevelNavigation.SideNav:
StyleID: SideNav
UseLevelTitle: true
FontIcon: arrow-right
+SilverWare\Components\ContentComponent.SideContent:
StyleID: SideContent
Content: >
<p>This is a content component in the sidebar panel.</p>
116 changes: 59 additions & 57 deletions app/fixtures/templates.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,59 @@
# App Templates:

SilverWare\Model\Template:
Main:
+SilverWare\Sections\HeaderSection.Header:
StyleID: Header
EdgeToEdge: true
+Row:
NoGutters: true
+Column:
+SilverWare\Navigation\Components\BarNavigation.NavBar:
BrandText: 'SilverWare'
+SilverWare\Navigation\Items\NavigationItem.MainNavigation:
ShowSubMenus: true
+SilverWare\Sections\LayoutSection.Layout:
StyleID: Layout
+SilverWare\Grid\Section.Widgets:
StyleID: Widgets
+Row:
+Left:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+Center:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+Right:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+SilverWare\Sections\FooterSection.Footer:
StyleID: Footer
+Row:
+Left:
+SilverWare\Components\CopyrightComponent.Copyright:
EntityName: 'My Company'
+Right:
+SilverWare\Components\DeveloperComponent.Developer:
DeveloperName: 'My Developer'
+SilverWare\Components\ScrollToTopButton.ScrollToTop:
ButtonIcon: 'chevron-up'
# App Templates:

SilverWare\Model\Template:
Main:
+SilverWare\Sections\HeaderSection.Header:
StyleID: Header
EdgeToEdge: true
+Row:
NoGutters: true
+Column:
+SilverWare\Navigation\Components\BarNavigation.NavBar:
StyleID: NavBar
BrandText: 'SilverWare'
Background: ''
+SilverWare\Navigation\Items\NavigationItem.MainNavigation:
ShowSubMenus: true
+SilverWare\Sections\LayoutSection.Layout:
StyleID: Layout
+SilverWare\Grid\Section.Widgets:
StyleID: Widgets
+Row:
+Left:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+Center:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+Right:
+SilverWare\Components\ContentComponent.WidgetContent:
StyleID: WidgetContent
Content: >
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sit amet felis in tortor accumsan
rutrum sed eget nunc. Vestibulum facilisis mi vel metus mollis congue sed vel nibh. Phasellus dapibus
vitae nisi sit amet porta. Etiam molestie fermentum massa, eget tristique elit.
</p>
+SilverWare\Sections\FooterSection.Footer:
StyleID: Footer
+Row:
+Left:
+SilverWare\Components\CopyrightComponent.Copyright:
EntityName: 'My Company'
+Right:
+SilverWare\Components\DeveloperComponent.Developer:
DeveloperName: 'My Developer'
+SilverWare\Components\ScrollToTopButton.ScrollToTop:
ButtonIcon: 'chevron-up'
18 changes: 9 additions & 9 deletions app/fixtures/types.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# App Page Types:

SilverWare\Model\PageType:
Page:
MyTemplate: =>SilverWare\Model\Template.Main
MyLayout: =>SilverWare\Model\Layout.Main
SilverWare\App\Pages\HomePage:
MyTemplate: =>SilverWare\Model\Template.Main
MyLayout: =>SilverWare\Model\Layout.Home
# App Page Types:

SilverWare\Model\PageType:
Page:
MyTemplate: =>SilverWare\Model\Template.Main
MyLayout: =>SilverWare\Model\Layout.Main
SilverWare\App\Pages\HomePage:
MyTemplate: =>SilverWare\Model\Template.Main
MyLayout: =>SilverWare\Model\Layout.Home

0 comments on commit 57bbe95

Please sign in to comment.