-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbigboard.html
More file actions
78 lines (68 loc) · 2.33 KB
/
bigboard.html
File metadata and controls
78 lines (68 loc) · 2.33 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
<head>
<title>Bigboard</title>
</head>
<body>
{{renderPage}}
</body>
<template name="bigboard">
<div class="bigboard">
<div class="edgecast_points" style="Float:left;width:25%">
<img src="http://downoi.petalphile.com/stuff/edgecast-logo.png" width="200" height="200" alt="edgecast">
<h2><small>points:</small> {{ edgecast_points }}</h2>
</div>
<div style="Float:left;width:50%">
<img src="http://downoi.petalphile.com/stuff/header.png" alt="devops family feud!">
{{#if who_is_incontrol }}
<h2>{{who_is_incontrol}} controls the board!</h2>
{{/if}}
<h1>{{ current_question }}</h1>
<div class="answer">
<span class="bigtext-yes">points<span>
<span class="bigscore-yes">{{ question_points }}</span><br/>
</div>
{{#each answers}}
<div class="answer {{selected}}">
<span class="bigtext-{{display}}">{{text}}</span>
<span class="bigscore-{{display}}">{{score}}</span>
</div>
{{/each}}
</div>
<div class="facebook_points" style="Float:left;width:25%">
<img src="http://downoi.petalphile.com/stuff/facebook-logo.jpg" width="200" height="200" alt="facebook">
<h2><small>points:</small> {{ facebook_points }}</h2>
</div>
</div>
</template>
<template name="admin">
<h1>what's your favorite cli tool?</h1>
<div class="bigboard">
{{#each answers}}
<div class="answer {{selected}}">
<span class="text">{{text}}</span>
<span class="score">{{score}}</span>
<span class="score">{{display}}</span>
</div>
{{/each}}
</div>
{{#if selected_answer}}
<div class="details">
<div class="name">{{selected_answer}}</div>
<input type="button" class="display" value="Display it" />
</div>
{{else}}
<div class="none">Click to question to display on the big board</div>
{{/if}}
<input type="button" class="wrong" value="WRONG ANSWER" />
<div class="answer">
<h3>Control of the Big Board</h3>
<input type="button" class="edgecast_incontrol" value="EdgeCast"/>
<br/>
<input type="button" class="facebook_incontrol" value="Facebook"/>
<h3>Points go to</h3>
<input type="button" class="edgecast_getspoints" value="EdgeCast"/>
<br/>
<input type="button" class="facebook_getspoints" value="Facebook"/>
<h2>NEXT Question</h2>
<input type="button" class="next_question" value="NEXT QUESTION"/>
</div>
</template>