-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (98 loc) · 3.05 KB
/
index.html
File metadata and controls
116 lines (98 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if IE 8]>
<html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8"/>
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width"/>
<title>Ordr: Rstaurant Mnu Systm</title>
<!-- Included CSS Files (Compressed) -->
<link rel="stylesheet" href="css/foundation.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<script type="text/x-handlebars" data-template-name="application">
<div class="row">
<div class="twelve columns">
<h1>Ordr</h1>
{{outlet}}
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="index">
hello Amber
</script>
<script type="text/x-handlebars" data-template-name="tables">
<div class="row">
<div class="four columns" id="tables">
{{ partial "tablesMenu" }}
</div>
<div class="eight columns" id="order">
{{ outlet }}
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="table">
<div class="row">
<div class="three columns">
{{render "food" }}
</div>
<div class="nine columns">
<h2> Table <span> {{id}}</span></h2>
{{ render "tab" tab }}
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="_tablesMenu">
<h2> TABLES </h2>
{{#each table in controller}}
{{#linkTo "table" table class="panel six columns"}} {{table.id}} {{/linkTo}}
{{/each}}
</script>
<script type="text/x-handlebars" data-template-name="food">
<ul id="menu">
{{#each controller}}
<li>
<img {{ bindAttr src="imageUrl" }}>
<p> {{ name }} </p>
</li>
{{/each}}
</ul>
</script>
<script type="text/x-handlebars" data-template-name="tab">
<ul id="customer-tab">
{{ model }}
{{ log model }}
{{#each tabItem in tabItems}}
<li>
{{ tabItem }}
<h3>{{ tabItem.food.name }} <span>${{ tabItem.cents }}</span></h3>
</li>
{{/each}}
</ul>
</script>
<!--
<script type="text/x-handlebars" data-template-name="tab">
<ul id="customer-tab">
{{#each tabItem in tabItems}}
<li>
<h3>{{ tabItem.food.name }} <span>${{ tabItem.cents }}</span> </h3>
<!–<h3>{{ tabItem.food.name }} <span>${{ money tabItem.cents }}</span></h3>–>
</li>
{{ /each }}
</ul>
</script>
-->
<script type="text/x-handlebars" data-template-name="tables/index">
<h2> Please Select a table</h2>
</script>
<script src="js/libs/jquery-1.8.3.min.js"></script>
<script src="js/libs/handlebars-1.0.0.rc.2.js"></script>
<script src="js/libs/ember.js"></script>
<script src="js/libs/ember-data.js"></script>
<script src="js/app.js"></script>
</body>
</html>