-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfullBoard.html
More file actions
70 lines (66 loc) · 2.01 KB
/
fullBoard.html
File metadata and controls
70 lines (66 loc) · 2.01 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
<template name="fullBoard">
<div class="fullBoard">
<p>
Match Between
<strong>Home Team:</strong> {{result.home_team.name}} VS <strong>AwayTeam:</strong> {{result.away_team.name}}
<br>
<strong>Scheduled:</strong> {{result.scheduled}}
<br>
<strong>Completed:</strong> {{result.completed}}
<br>
<strong>Quarter:</strong> {{result.quarter}}
<br>
<strong>Completed:</strong> {{result.completed}}
</p>
<div class="row">
<div class="span5 well">
<h2>{{result.home_team.market}} {{result.home_team.name}}</h2> <h2>Points : {{result.home_team.points}}</h2>
<p>
Remaining challenges: {{result.home_team.remaining_challenges}} <br>
Remaining timeouts: {{result.home_team.remaining_timeouts}}
</p>
<table class="table table-striped">
<thead>
<tr>
<!-- <th>#</th> -->
<th>Quarter</th>
<th>Points</th>
</tr>
</thead>
<tbody>
{{#each result.home_team.scoring}}
{{> score}}
{{/each}}
</tbody>
</table>
</div>
<div class="span5 well">
<h2>{{result.away_team.market}} {{result.away_team.name}}</h2> <h2>Points : {{result.away_team.points}}</h2>
<p>
Remaining challenges: {{result.away_team.remaining_challenges}} <br>
Remaining timeouts: {{result.away_team.remaining_timeouts}}
</p>
<table class="table table-striped">
<thead>
<tr>
<!-- <th>#</th> -->
<th>Quarter</th>
<th>Points</th>
</tr>
</thead>
<tbody>
{{#each result.away_team.scoring}}
{{> score}}
{{/each}}
</tbody>
</table>
</div>
</div>
</div>
</template>
<template name="score">
<tr>
<td>{{this.quarter}}</td>
<td>{{this.points}}</td>
</tr>
</template>