-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.htm
242 lines (221 loc) · 5.84 KB
/
index.htm
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<title>Bugzilla Dependency Bug List</title>
<link rel="icon" href="https://mozorg.cdn.mozilla.net/media/img/firefox/favicon.ico?2013-08"/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Droid+Sans+Mono"/>
<link rel="stylesheet" href="css/BMO.css"/>
<style>
html {
font-size: 0.9em;
min-height: 100%;
}
input:focus {
border-color: inherit;
box-shadow: inherit;
}
h1 {
font-size: 1.5em;
}
#treelink {
font-size: 0.6em;
}
#tools {
background: inherit;
float: right;
position: sticky;
top: 0;
}
#whiteboardFilter {
font-size: 0.9em;
}
#status {
position: fixed;
background-color: rgb(204, 204, 204);
border: 1px solid #999;
top: 3.3em;
width: 30%;
left: 50%;
margin-left: -15%;
border-radius: 3px;
padding: 3px;
text-align: center;
transition-property: top, visibility;
transition-duration: 0.3s;
transition-timing-function: ease;
/* Stay above #summary */
z-index: 1;
}
#status.hidden {
top: -2em;
visibility: hidden;
}
#form {
text-align: center;
}
#list:not([data-product=""]) .product {
display: none;
}
#list:not([data-show-resolved="1"]) .cf_last_resolved {
display: none;
}
#metabugs {
margin: 5px 0;
padding: 0.3em;
background-color: #DDD;
}
#list {
border-collapse: collapse;
counter-reset: bugs P1 P2 P3 P4 P5 PMinus POther;
}
table.sortable thead {
cursor: default;
}
#list td,
#list th {
padding: 2px 4px;
}
tr:nth-child(even) {
background: #CCC;
}
tbody > tr:hover {
background: #AAA;
}
#list > tbody > tr {
counter-increment: bugs POther;
}
#list > tbody > tr[data-priority="P1"] { counter-increment: bugs P1; }
#list > tbody > tr[data-priority="P2"] { counter-increment: bugs P2; }
#list > tbody > tr[data-priority="P3"] { counter-increment: bugs P3; }
#list > tbody > tr[data-priority="P4"] { counter-increment: bugs P4; }
#list > tbody > tr[data-priority="P5"] { counter-increment: bugs P5; }
#list > tbody > tr[data-priority="P-"] { counter-increment: bugs PMinus; }
#list > tbody > tr[data-priority="P1"] > td.priority,
#list > tbody > tr[data-priority="P2"] > td.priority {
color: #A00;
}
#list > tbody > tr[data-priority="P1"] > td.priority {
font-weight: bold;
}
#list > tbody > tr[data-priority="P5"] > td.priority {
color: #808080;
}
#summary {
background: inherit;
bottom: 0;
padding: 1.3em 0.3em;
position: sticky;
}
#summary::after {
content: counter(bugs) " bugs (P1: " counter(P1) ", P2: " counter(P2) ", P3: " counter(P3) ", P4: " counter(P4) ", P5: " counter(P5) ", P-: " counter(PMinus) ", Others: " counter(POther) ")";
white-space: pre;
}
.VERIFIED,
.RESOLVED {
text-decoration: line-through;
}
.blocked,
.flag[data-flag-status="?"],
.assigned_to[data-assigned_to="nobody"] {
color: #a00;
}
.popupmenu {
display: inline-block;
padding: 0 4px;
}
.popupmenu:hover > ul,
.popupmenu:active > ul,
.popupmenu:hover > ol,
.popupmenu:active > ol {
visibility: visible;
}
.popupmenu > ul,
.popupmenu > ol {
background-color: #ddd;
border: 1px solid rgb(51, 51, 51);
list-style-position: inside;
margin-right: 100px;
padding: 4px;
position: absolute;
top: 0.7em;
visibility: hidden;
z-index: 1;
}
.popupmenu > ul {
list-style-type: none;
padding-left: inherit;
}
</style>
<script src="tracker.js?v=20160503.01"></script>
<script src="sorttable.js"></script>
</head>
<body>
<div id="tools">
<div id="file" class="popupmenu" style="display: none">
<label>File ▾</label>
<ul>
</ul>
</div>
<label>Filter: <input type="search" id="whiteboardFilter" placeholder="whiteboard & keywords" size="20"/></label>
<label>Max. Depth: <input type="number" id="maxDepth" size="1" min="0" max="10" style="max-width: 4ch" required="required" value="4"/></label>
<label><input type="checkbox" id="showMeta" value="1" checked="checked" />Meta</label>
<label><input type="checkbox" id="showMMinus" value="1" />M-/P-</label>
<select id="assigneeFilter">
<option value="" selected="selected">All assignees</option>
<option value="unassigned">Unassigned</option>
<option value="assigned">Assigned</option>
</select>
<select id="showResolved">
<option value="">Resolved and unresolved</option>
<option value="0" selected="selected">Only unresolved</option>
<option value="1">Only resolved</option>
</select>
<select id="productChooser">
<option value="" selected="selected">All products</option>
<!-- TODO: populate from bug list -->
<option>Add-on SDK</option>
<option>Core</option>
<option>Firefox</option>
<option>Loop</option>
<option>mozilla.org</option>
<option>Release Engineering</option>
<option>Testing</option>
<option>Toolkit</option>
<option>Tech Evangelism</option>
<option>www.mozilla.org</option>
</select>
</div>
<div id="status" class="hidden"></div>
<h1><a id="title" target="_blank">Dependency Bug List</a>
<span id="treelink" style="display: none">(<a target="_blank">tree</a>)</span>
</h1>
<div id="metabugs" hidden></div>
<form id="form" hidden="true" onsubmit="gUrlParams.list=this.list.value;filterChanged(event);this.hidden=true;">
<p>Specify a bug to list the dependencies of:</p>
<p>
<input name="list" size="18" placeholder="bug number or alias" autofocus />
<button>Fetch dependencies</button>
</p>
</form>
<table id="list" class="sortable">
<thead>
</thead>
<tbody>
<tbody>
<tfoot>
<tr>
<td></td>
</tr>
</tfoot>
</table>
<div id="summary">
<span style="float:right">
<label id="showFlagsLabel"><input type="checkbox" id="showFlags" value="1" />Show bug and attachment flags (slower)</label>
<a href="https://github.com/mnoorenberghe/bz-dependency-buglist/" target="_blank">Fork me on Github</a>
</span>
</div>
</body>
</html>