-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.handlebars
39 lines (37 loc) · 1.11 KB
/
index.handlebars
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
{{> header}}
<header id="header">
<h1>{{ title }}</h1>
</header>
<div class="status-wrap cf">
{{#each status.tests}}
<a href="/test/{{ id }}">
<div class="status-cell cf">
<div class="status-node status-node-{{ status.shortcode }}">
<h2 class="status-title">{{ name }}</h2>
<ul class="status-stats">
<li>{{percentage passCount totalCount}}% pass</li>
<li>{{percentage errorCount totalCount}}% error</li>
<li>{{percentage warnCount totalCount}}% warn</li>
</ul>
</div>
</div>
</a>
{{/each}}
{{#each status.collections}}
{{#each tests}}
<a href="/test/{{ id }}">
<div class="status-cell cf">
<div class="status-node status-node-{{ status.shortcode }}">
<h2 class="status-title">{{ name }}</h2>
<ul class="status-stats">
<li>{{percentage passCount totalCount}}% pass</li>
<li>{{percentage errorCount totalCount}}% error</li>
<li>{{percentage warnCount totalCount}}% warn</li>
</ul>
</div>
</div>
</a>
{{/each}}
{{/each}}
</div>
{{> footer}}