-
Notifications
You must be signed in to change notification settings - Fork 0
/
bi.html
88 lines (73 loc) · 1.75 KB
/
bi.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
<head>
<title>BI-noculars</title>
</head>
<body>
<div class="container">
<h1>BI-noculars</h1>
<hr>
<div class="row">
<div class="col-md-3">
{{> facets}}
</div>
<div class="col-md-9">
{{> charts}}
{{> table}}
</div>
</div>
</div>
</body>
<template name="facets">
<h4>Locaties</h4>
<div class="facet">
{{#each locations}}
<div class="checkbox">
<label>
<input value="{{this}}" class="locations-facet" type="checkbox" {{isLocationChecked}}> {{this}}
</label>
</div>
{{/each}}
{{#each locationsWithoutResults}}
<div class="checkbox">
<label class="without-results">
<input value="{{this}}" class="without-results locations-facet" type="checkbox" {{isLocationChecked}}> {{this}}
</label>
</div>
{{/each}}
</div>
<hr>
<h4>Recruiters</h4>
<div class="facet">
{{#each recruiters}}
<div class="checkbox">
<label>
<input value="{{this}}" class="recruiters-facet" type="checkbox" {{isRecruiterChecked}}> {{this}}
</label>
</div>
{{/each}}
{{#each recruitersWithoutResults}}
<div class="checkbox">
<label class="without-results">
<input value="{{this}}" class="recruiters-facet" type="checkbox" {{isRecruiterChecked}}> {{this}}
</label>
</div>
{{/each}}
</div>
</template>
<template name="charts">
</template>
<template name="table">
<table class="table">
<tr>
<th>Week</th>
<th>Omzet</th>
<th>Marge</th>
</tr>
{{#each results}}
<tr>
<td>{{week}}</td>
<td>€ {{amount}}</td>
<td>€ {{profit}}</td>
</tr>
{{/each}}
</table>
</template>