Added mobile example app
This commit is contained in:
parent
4fbf705ae5
commit
cf364fc418
26 changed files with 187 additions and 61 deletions
7
example/app_server/www_views/thtml/bar.ejs
Normal file
7
example/app_server/www_views/thtml/bar.ejs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<div><h2>Bar</h2><p>Welcome to the bar.</p><div class="table-responsive">
|
||||
<table class="table table-bordered table-hover table-striped"><tbody>
|
||||
<tr><th>Chair</th><th>Person</th><th>Drinking</th></tr></tbody><tbody>
|
||||
<tr><td>seat 1</td><td>empty</td><td>none</td></tr>
|
||||
<tr><td>seat 2</td><td>you</td><td>coffee</td></tr>
|
||||
<tr><td>seat 3</td><td>cat</td><td>water</td></tr>
|
||||
</tbody></table></div></div>
|
||||
5
example/app_server/www_views/thtml/footer.ejs
Normal file
5
example/app_server/www_views/thtml/footer.ejs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<nav class="navbar">
|
||||
<div class="navbar-footer">
|
||||
Example footer
|
||||
</div>
|
||||
</nav>
|
||||
13
example/app_server/www_views/thtml/header.ejs
Normal file
13
example/app_server/www_views/thtml/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" ng-click="goLink('/example-ui/')">Home</a>
|
||||
<a class="navbar-brand" ng-click="goLink('/example-ui/foo')">Foo</a>
|
||||
<a class="navbar-brand" ng-click="goLink('/example-ui/bar')">Bar</a>
|
||||
</div>
|
||||
</nav>
|
||||
Loading…
Add table
Add a link
Reference in a new issue