blob: a386b6716023df622156aae35dcbe181816f147e (
plain)
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
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl
title = "My Dashboard"
style_urls = [ "extensions/MyDashboard/web/styles/mydashboard.css" ]
javascript_urls = [ "js/yui3/yui/yui-min.js",
"extensions/MyDashboard/web/js/query.js",
"extensions/MyDashboard/web/js/flags.js",
"extensions/MyDashboard/web/js/prod_comp_search.js" ]
%]
[% standard_queries = [] %]
[% saved_queries = [] %]
[% FOREACH q = queries %]
[% standard_queries.push(q) IF !q.saved %]
[% saved_queries.push(q) IF q.saved %]
[% END %]
<div id="mydashboard">
<div class="yui3-skin-sam">
<div id="left">
<div id="query_list_container">
Choose query:
<select id="query" name="query">
<optgroup id="standard_queries" label="Standard">
[% FOREACH r = standard_queries %]
<option value="[% r.name FILTER html %]">[% r.heading || r.name FILTER html %]</option>
[% END%]
</optgroup>
<optgroup id="saved_queries" label="Saved">
[% FOREACH r = saved_queries %]
<option value="[% r.name FILTER html %]">[% r.heading || r.name FILTER html %]</option>
[% END %]
</optgroup>
</select>
<small>
(<a href="userprefs.cgi?tab=saved-searches">add or remove saved searches</a>)
</small>
</div>
<div id="query_container">
<div class="query_heading"></div>
<div class="query_description"></div>
<span class="items_found" id="query_bugs_found">0 bugs found</span>
| <a class="refresh" href="javascript:void(0);" id="query_refresh">Refresh</a>
<span class="status">Loading...</span>
<div id="query_pagination_top"></div>
<div id="query_table"></div>
</div>
</div>
<div id="right">
<div id="prod_comp_search_container">
<div id="prod_comp_search_main">
<div id="prod_comp_search_label">
File [% terms.Bug %]:
<img id="prod_comp_throbber" src="extensions/BMO/web/images/throbber.gif"
class="bz_default_hidden" width="16" height="11">
</div>
<input id="prod_comp_search" type="text" size="60">
</div>
</div>
<div id="requestee_container">
<div class="query_heading">
Flags Requested of You
</div>
<span class="items_found" id="requestee_flags_found">0 flags found</span>
| <a class="refresh" href="javascript:void(0);" id="requestee_refresh">Refresh</a>
<span class="status">Loading...</span>
<div id="requestee_table"></div>
</div>
<div id="requester_container">
<div class="query_heading">
Flags You Have Requested
</div>
<span class="items_found" id="requester_flags_found">0 flags found</span>
| <a class="refresh" href="javascript:void(0);" id="requester_refresh">Refresh</a>
<span class="status">Loading...</span>
<div id="requester_table"></div>
</div>
</div>
<div style="clear:both;"></div>
</div>
</div>
[% PROCESS global/footer.html.tmpl %]
|