switch example to ejs (for multi content type)
This commit is contained in:
parent
d31beb5f74
commit
3662aac188
15 changed files with 61 additions and 53 deletions
4
example/www_views/thtml/bar.ejs
Normal file
4
example/www_views/thtml/bar.ejs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div>
|
||||
<h2>Bar</h2>
|
||||
<p>Welcome to the bar.</p>
|
||||
</div>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
div
|
||||
h2 Bar
|
||||
|
||||
p Welcome to bar.
|
||||
|
||||
4
example/www_views/thtml/foo.ejs
Normal file
4
example/www_views/thtml/foo.ejs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div>
|
||||
<h2>Foo</h2>
|
||||
<p>Welcome to the foo.</p>
|
||||
</div>
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
div
|
||||
h2 Foo
|
||||
|
||||
p Welcome to foo.
|
||||
4
example/www_views/thtml/index.ejs
Normal file
4
example/www_views/thtml/index.ejs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<div>
|
||||
<h2>Example UI Index</h2>
|
||||
<p>Welcome make yourself at home.</p>
|
||||
</div>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
div
|
||||
h2 Example UI Index
|
||||
|
||||
p Welcome
|
||||
p Make your self at home.
|
||||
5
example/www_views/thtml/layout/footer.ejs
Normal file
5
example/www_views/thtml/layout/footer.ejs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<nav class="navbar">
|
||||
<div class="navbar-footer">
|
||||
Example footer
|
||||
</div>
|
||||
</nav>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
nav(class='navbar')
|
||||
div(class='navbar-footer')
|
||||
Example footer
|
||||
13
example/www_views/thtml/layout/header.ejs
Normal file
13
example/www_views/thtml/layout/header.ejs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<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>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/example-ui/">Home</a>
|
||||
<a class="navbar-brand" href="/example-ui/foo">Foo</a>
|
||||
<a class="navbar-brand" href="/example-ui/bar">Bar</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue