-
Notifications
You must be signed in to change notification settings - Fork 4
/
dash_template.html
65 lines (64 loc) · 2.38 KB
/
dash_template.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Swift Community Dashboard</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Content-Type" content="application/xhtml; charset=utf-8" />
<meta http-equiv="refresh" content="600"/>
</head>
<body>
<div id="content">
<h1>Swift Community</h1>
<div class="section" id="review_stats">
<h3>Review Stats</h3>
<div id="open_patches"><span>Open Patches</span><span class="value">{open_patches}</span></div>
<div id="owner_response"><span>Owner response time</span><span class="value">{owner_response}</span></div>
<div id="no_follow_ups"><span>Need owner follow up</span><span class="value">{no_follow_ups}</span></div>
<div id="review_follow_ups"><span>Need reviewer follow up</span><span class="value">{need_followup_count}</span></div>
<div id="unreviewed_patches"><span>Unreviewed patches</span><span class="value">{unreviewed_patches}</span></div>
<div id="reviewer_response"><span>Reviewer response time</span><span class="value">{reviewer_response}</span></div>
</div>
<div class="section" id="community_stars">
<h3>Community Starred Patches</h3>
<ol>
{community_stars}
</ol>
</div>
<div class="section" id="unreviewed_list">
<h3>Unreviewed Patches</h3>
<ol>
{unreviewed_list}
</ol>
</div>
<div class="section" id="need_followup_list">
<h3>Needs Reviewer Follow-Up</h3>
<ol>
{need_followup_list}
</ol>
</div>
<div class="section" id="activity_spark">
<h3>Last 90 Day Activity</h3>
<div>
<div>
<a href="http://d.not.mn/active_contribs.png">
<img id="actives_graph" src="http://d.not.mn/active_contribs_small.png" />
<label for="actives_graph">Active: {active_contributors}</label>
</a>
</div>
<div>
<a href="http://d.not.mn/total_contribs.png">
<img id="totals_graph" src="http://d.not.mn/total_contribs_small.png" />
<label for="totals_graph">Total (last year): {total_contributors}</label>
</a>
</div>
</div>
</div>
<div id="current_time">
Stats at <span>{current_time}</span>
</div>
</div>
<canvas id="canvas"></canvas>
</body>
</html>