added example
This commit is contained in:
parent
30404c8701
commit
cb9a12f8a1
18 changed files with 508 additions and 0 deletions
5
example/www_views/include/bar.jade
Normal file
5
example/www_views/include/bar.jade
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
div
|
||||
h2 Bar
|
||||
|
||||
p Welcome to bar.
|
||||
|
||||
4
example/www_views/include/foo.jade
Normal file
4
example/www_views/include/foo.jade
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
div
|
||||
h2 Foo
|
||||
|
||||
p Welcome to foo.
|
||||
5
example/www_views/include/index.jade
Normal file
5
example/www_views/include/index.jade
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
div
|
||||
h2 Example UI Index
|
||||
|
||||
p Welcome
|
||||
p Make your self at home.
|
||||
3
example/www_views/include/layout/footer.jade
Normal file
3
example/www_views/include/layout/footer.jade
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
nav(class='navbar')
|
||||
div(class='navbar-footer')
|
||||
Example footer
|
||||
10
example/www_views/include/layout/header.jade
Normal file
10
example/www_views/include/layout/header.jade
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
nav(class='navbar navbar-inverse navbar-fixed-top',role='navigation')
|
||||
div(class='navbar-header')
|
||||
button(type='button',class='navbar-toggle',data-toggle='collapse',data-target='.navbar-ex1-collapse')
|
||||
span(class='sr-only') Toggle navigation
|
||||
span(class='icon-bar')
|
||||
span(class='icon-bar')
|
||||
span(class='icon-bar')
|
||||
a(class='navbar-brand',href='/example-ui') Home
|
||||
a(class='navbar-brand',href='/example-ui/foo') Foo
|
||||
a(class='navbar-brand',href='/example-ui/bar') Bar
|
||||
21
example/www_views/index.jade
Normal file
21
example/www_views/index.jade
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
doctype html
|
||||
html(lang='en',ng-app='exampleUI')
|
||||
head
|
||||
base(href='/example-ui')
|
||||
title='Example UI'
|
||||
meta(charset='UTF-8')
|
||||
meta(http-equiv='X-UA-Compatible' content='IE=edge')
|
||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||
meta(name='keywords' content='Example UI')
|
||||
each cssFile in includeCssFiles
|
||||
link(rel='stylesheet' href='#{cssFile}')
|
||||
body
|
||||
div(id='wrapper')
|
||||
div(ng-include='\'/example-ui/include/layout/header\'')
|
||||
div(id='page-wrapper')
|
||||
div(id='container-fluid')
|
||||
div(ng-view)
|
||||
div(ng-include='\'/example-ui/include/layout/footer\'')
|
||||
each jsFile in includeJsFiles
|
||||
script(src='#{jsFile}')
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue