forked from toolness/bugzilla-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtaskcluster.html
64 lines (64 loc) · 1.82 KB
/
taskcluster.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
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="all"
href="css/dashboard.css" />
<title>TaskCluster Bugzilla Dashboard</title>
</head>
<body>
<div id="reports">
<h1>TaskCluster Bugzilla Dashboard</h1>
<div id="directreports" class="container">
</div>
</div>
<div id="templates">
<div class="bug-tooltip">
<div>
<span class="priority"></span>
<span class="severity"></span>
</div>
<div>
<span class="product"></span>
<span class="component"></span>
</div>
<div>Created <span class="age"></span></div>
</div>
<table id="sortable" class="bugs">
<tr class="header">
<th>Summary</th>
<th>Last Changed</th>
<th>Priority</th>
</tr>
<tr class="bug-row">
<td class="summary"></td>
<td class="last-changed"></td>
<td class="priority"></td>
</tr>
</table>
</div>
<div id="form-cache">
<form><textarea class="data"></textarea></form>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="js/date-utils.js"></script>
<script src="js/bugzilla.js"></script>
<script src="js/cache.js"></script>
<script src="js/dashboard.js"></script>
<script src="js/reports.js"></script>
<script type="text/javascript">
var manager = "taskcluster";
var myUsernames = reports[manager];
var l = myUsernames.length;
var fragment = document.createDocumentFragment();
for (var i = 0; i < l; i++) {
fragment.appendChild(generate_bug_div(i, myUsernames[i]));
}
$('div#directreports').append(fragment);
$(function() {
$("#sortable").sortable();
$("#sortable").disableSelection();
});
</script>
</html>