-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
154 lines (138 loc) · 6.56 KB
/
index.html
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-180839684-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-180839684-1');
</script>
<meta charset="UTF-8">
<meta name="author" content="Cleverson Sacramento" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/material-icons/css/material-icons.min.css">
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/index.css">
<title>Cardápio</title>
</head>
<body>
<div class="container-fluid">
<div id="content"></div>
</div>
<script id="template" type="text/x-handlebars-template">
<div id="divlogo">
<div class="logo">
<img src="" class="img-fluid" />
</div>
</div>
{{#each .}}
<div class="group">
<div class="header">
<div class="title"><span>{{title}}</span></div>
{{#if description}}
<div class="description alpha"><span>{{description}}</span></div>
{{/if}}
</div>
{{#if options.length}}
<div class="options {{#unless show_options}}hidden{{/unless}}">
{{#each options}}
<div class="option alpha">◦ {{title}}{{#if hint}} <span class="hint">({{hint}})</span>{{/if}}<span class="ref"> #{{ref}}</span></div>
{{/each}}
</div>
{{/if}}
<div class="items">
{{#if items.length}}
<table class="table">
<tbody>
{{#each items}}
{{#if @first}}
<tr>
<td colspan="3" class="line">
<div></div>
</td>
</tr>
{{/if}}
<tr class="item" data-ref="{{ref}}">
<td>
<div class="info">
<div class="title">{{title}}{{#if hint}} <span class="hint alpha">({{hint}})</span>{{/if}}<span class="ref"> #{{ref}}</span></div>
{{#if description}}
<div class="description alpha">{{description}}</div>
{{/if}}
{{#if options.length}}
<div class="options {{#unless show_options}}hidden{{/unless}}">
{{#each options}}
<div class="option alpha">◦ {{title}}{{#if hint}} <span class="hint">({{hint}})</span>{{/if}}<span class="ref"> #{{ref}}</span></div>
{{/each}}
</div>
{{/if}}
</div>
</td>
<td>
<div class="prices">
{{#each prices}}
<div class="price">
<div class="">
<span class="hint alpha">R$</span> {{value}}
</div>
{{#if hint}}
<div class="hint alpha">{{hint}}</div>
{{/if}}
{{#notSingle ../prices}}{{#if ref}}<span class="ref"> #{{ref}}</span>{{/if}}{{/notSingle}}
</div>
{{/each}}
</div>
</td>
<td class="chevron">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-chevron-right" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>
</svg>
</td>
</tr>
<tr>
<td colspan="3" class="line">
<div></div>
</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}
</div>
</div>
{{/each}}
<div id="buttons">
<button id="share" type="button" class="btn btn-secondary btn-lg btn-block">Compartilhar</button>
<button id="exit" type="button" class="hidden btn btn-light btn-lg btn-block">Parar Experimento</button>
</div>
<div class="fixed">
<button id="contact" type="button" hidden="true" class="btn btn-primary btn-lg btn-block">Críticas &
Sugestões</button>
</div>
</script>
<script id="buttons-template" type="text/template">
{{#each .}}
<button type="button" class="connection btn btn-secondary btn-lg btn-block" hidden="true" data-connection="{{@key}}">{{label}}</button>
{{/each}}
</script>
<!-- <script src="proxy/MenuProxy.js"></script>
<script src="manager/MenuManager.js"></script> -->
<!-- <script src="node_modules/jquery/dist/jquery.min.js"></script> -->
<script src="js/lib/jquery-3.5.1.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- <script src="node_modules/handlebars/dist/handlebars.min.js"></script> -->
<script src="js/lib/handlebars.min-v4.7.6.js"></script>
<!-- <script src="node_modules/moment/dist/moment.js"></script> -->
<!-- <script src="node_modules/numeral/min/numeral.min.js"></script> -->
<script src="node_modules/webfontloader/webfontloader.js"></script>
<script src="js/_temp.js"></script>
<script src="js/Util.js"></script>
<script src="js/MenuManager.js"></script>
<script src="js/EstablishmentManager.js"></script>
<script src="js/index.js"></script>
</body>
</html>