Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: appengine/monorail/templates/tracker/issue-list-page.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [define title]Issues[end]
2 [define category_css]css/ph_list.css[end]
3 [define page_css]css/ph_detail.css[end][# needed for infopeek]
4
5 [if-any projectname]
6 [include "../framework/master-header.ezt" "showtabs"]
7 [else]
8 [include "../framework/master-header.ezt" "hidetabs"]
9 [end]
10 [include "../framework/js-placeholders.ezt" "showtabs"]
11
12 <div id="colcontrol">
13 [if-any is_missing_shards]
14 <div class="error" style="text-align:center">[missing_shard_count] search bac kends did not respond or had errors. These results are probably incomplete.</div >
15 [end]
16
17 [if-any grid_mode]
18 [include "issue-grid-controls-top.ezt"]
19 [else]
20 [include "issue-list-controls-top.ezt"]
21 [end]
22
23 [include "issue-hovercard.ezt"]
24
25 <div id="cursorarea">
26 <table cellspacing="0" cellpadding="2" border="0" class="results [if-any grid_ mode][else]striped[end]" id="resultstable" width="100%">
27 [if-any grid_mode]
28 [include "issue-grid-body.ezt"]
29 [else]
30 [include "issue-list-body.ezt"]
31 [end]
32 </table>
33 </div>
34
35 [if-any grid_mode]
36 [include "issue-grid-controls-bottom.ezt"]
37 [else]
38 [include "issue-list-controls-bottom.ezt"]
39 [for panels][# There will always be exactly one panel]
40 [include "issue-list-menus.ezt"]
41 [end]
42 [end]
43 </div>
44
45 <div id="helparea"></div>
46
47 [include "../framework/footer-script.ezt"]
48 [if-any grid_mode][else]
49 [include "issue-list-js.ezt"]
50 [end]
51
52 <script type="text/javascript" nonce="[nonce]">
53 runOnLoad(function() {
54 _onload();
55 });
56 </script>
57
58 [if-any projectname]
59 <script type="text/javascript" nonce="[nonce]">
60 runOnLoad(function() {
61 _fetchOptions(
62 '[projectname]', 'issueOptions',
63 CS_env.token, [project.cached_content_timestamp]);
64
65 var stars = document.getElementsByClassName("star");
66 for (var i = 0; i < stars.length; ++i) {
67 var star = stars[[]i];
68 star.addEventListener("click", function (event) {
69 var projectName = event.target.getAttribute("data-project-name");
70 var localID = event.target.getAttribute("data-local-id");
71 _TKR_toggleStar(event.target, projectName, localID, null, "[set_star_to ken]");
72 [# TODO: _TKR_syncStarIcons() when issue peek is re-implemented.]
73 });
74 }
75
76 var issueCheckboxes = document.getElementsByClassName("checkRangeSelect");
77 for (var i = 0; i < issueCheckboxes.length; ++i) {
78 var el = issueCheckboxes[[]i];
79 el.addEventListener("click", function (event) {
80 _checkRangeSelect(event, event.target);
81 _highlightRow(event.target);
82 });
83 }
84 });
85 </script>
86 [end]
87
88 [include "../framework/master-footer.ezt"]
OLDNEW
« no previous file with comments | « appengine/monorail/templates/tracker/issue-list-menus.ezt ('k') | appengine/monorail/templates/tracker/issue-meta-part.ezt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698