You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.8 KiB
115 lines
2.8 KiB
10 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Showtimes</title>
|
||
|
<link rel="stylesheet" href="css/normalize.css">
|
||
|
<link rel="stylesheet" href="css/style.css">
|
||
|
<link href="/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
||
|
</head>
|
||
|
<body>
|
||
|
<script type="text/x-handlebars">
|
||
|
<div class="navbar">
|
||
|
<div class="navbar-inner">
|
||
|
<a class="brand">{{appName}}</a>
|
||
|
<ul class="nav">
|
||
|
<li>{{#link-to 'groups'}}Theaters{{/link-to}}</li>
|
||
|
<li>{{#link-to 'about'}}About{{/link-to}}</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{{outlet}}
|
||
|
</script>
|
||
|
|
||
|
<script type="text/x-handlebars" id="groups">
|
||
|
<div class="container-fluid">
|
||
|
<div class="row-fluid">
|
||
|
<div class="span2">
|
||
|
<table class='table'>
|
||
|
<thead>
|
||
|
<tr><th>Groups</th></tr>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
{{#each model}}
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{#link-to 'theaters' name}}{{name}} <small class='muted'>#{{id}}</small>{{/link-to}}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{/each}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="span10">
|
||
|
{{outlet}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
<script type="text/x-handlebars" id="theaters">
|
||
|
<div class="row-fluid">
|
||
|
<div class="span5">
|
||
|
<table class='table'>
|
||
|
<thead>
|
||
|
<tr><th>Theaters</th></tr>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
{{#each model}}
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{#link-to 'showtimes' code}}{{name}}{{/link-to}}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{/each}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
|
||
|
<div class="span7">
|
||
|
{{outlet}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<script type="text/x-handlebars" id="showtimes">
|
||
|
<table class='table'>
|
||
|
<thead>
|
||
|
<tr><th>Movie Showtimes</th></tr>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
{{#each model}}
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{movie}} <mark>{{audio}}</mark> <small class='muted'>on {{format-date date}}</small>
|
||
|
<p>{{showtimes}} {{#if cinema}}<small class='muted'>#{{cinema}}</small>{{/if}}</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{/each}}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<script type="text/x-handlebars" id="about">
|
||
|
<div class='about'>
|
||
|
<h1>Zzyzx</h1>
|
||
|
<p>Whatever it is, it's quite awesome.</p>
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
<script src="/js/libs/jquery-1.10.2.js"></script>
|
||
|
<script src="/js/libs/handlebars-1.1.2.js"></script>
|
||
|
<script src="/js/libs/ember-1.7.0.js"></script>
|
||
|
<script src="/bower_components/showdown/compressed/showdown.js"></script>
|
||
|
<script src="/bower_components/moment/moment.js"></script>
|
||
|
<script src="/js/app.js"></script>
|
||
|
</body>
|
||
|
</html>
|