2
Fork 0

Added lots op options

This commit is contained in:
Willem 2016-01-14 22:42:13 +01:00
parent b8b21655cf
commit 95a90b51fb
19 changed files with 814 additions and 484 deletions

View file

@ -1,17 +1,17 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Loading</title><%- inlineNot %>
</head>
<body><%- inline %>
<script>
FFSpaLoader.start({
url: '/static/resources-spa-web',
debug: true,
cacheGetFn: function(key) { return localStorage.getItem(key); },
cacheSetFn: function(key,value) { localStorage.setItem(key,value); },
cacheDelFn: function(key) { return localStorage.removeItem(key); }
FFSpaLoader.options.debug = true;
FFSpaLoader.options.server.urlPath = '/static/spa-client-resources';
FFSpaLoader.options.cache.factory = FFSpaLoader.autoSelectCache();
FFSpaLoader.start(function() {
console.log('FFExample.bootstrap angular');
angular.bootstrap( $('body'), ['exampleUI']);
});
</script>
</body>

View file

@ -1,32 +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>
<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>

View file

@ -1,4 +0,0 @@
<div>
<h2>Foo</h2>
<p>Welcome to the foo.</p>
</div>

View file

@ -1,4 +0,0 @@
<div>
<h2>Example UI Index</h2>
<p>Welcome make yourself at home.</p>
</div>