-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.html
More file actions
83 lines (77 loc) · 3.36 KB
/
Home.html
File metadata and controls
83 lines (77 loc) · 3.36 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
<template name="Home">
{{#if isMeteorConnected}}
<h1 class="tousalaneb">TOUS A LA NEB !</h1>
{{#if isConnected}}
<div class="flip-clock-wrapper">
<div class="clock"></div>
</div>
{{#if isHomePageHome}}
{{#if isButtonActivated}}
<button class="neb enabled"><img id="button-gif" src="img/Balle copie.png" height="300"
width="300"/></button>
{{else}}
<button class="neb disabled"><img id="button-gif" src="img/BeerPong .gif" height="300" width="300"/>
</button>
{{/if}}
{{/if}}
{{#if isHomePageCutlery}}
<!-- Afficher les plats disponibles -->
<legend>Petits plats disponibles</legend>
<ul style="list-style-type: none; padding:0;">
{{#each affichePlat}}
<li>{{name}} ( {{price}} €)</li>
{{/each}}
</ul>
<legend>Pizzas disponibles</legend>
<ul style="list-style-type: none; padding:0;">
{{#each affichePizza}}
<li>{{name}} ( {{price}} €)</li>
{{/each}}
</ul>
{{/if}}
{{#if isHomePageBeer}}
<!-- Afficher les boissons disponibles-->
<legend>Bières disponibles</legend>
<ul style="list-style-type: none; padding:0;">
{{#each afficheBeer}}
<li>{{name}} ( {{price}} €)</li>
{{/each}}
</ul>
{{/if}}
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container">
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="{{#if isHomePageCutlery}}active{{/if}}"><a href="#"><i class="fa fa-cutlery"></i></a>
</li>
<li class="{{#if isHomePageHome}}active{{/if}}"><a href="#"><i class="fa fa-home"></i></a>
</li>
<li class="{{#if isHomePageBeer}}active{{/if}}"><a href="#"><i class="fa fa-beer"></i></a>
</li>
</ul>
</div>
</div>
</nav>
{{else}}
<h1>Connecte-toi sur MyECP</h1>
<button id="myecp-login" class="button button-positive">Se connecter !</button>
{{/if}}
{{else}}
<h1>Pas de connexion internet, en attente de connexion ...</h1>
{{/if}}
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-73589420-1', 'auto');
ga('send', 'pageview');
</script>
</template>