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

Unified Diff: appengine/monorail/templates/tracker/issue-grid-controls-top.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 side-by-side diff with in-line comments
Download patch
Index: appengine/monorail/templates/tracker/issue-grid-controls-top.ezt
diff --git a/appengine/monorail/templates/tracker/issue-grid-controls-top.ezt b/appengine/monorail/templates/tracker/issue-grid-controls-top.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..0887a43206ab57dadc935dd3c1fef6516866722a
--- /dev/null
+++ b/appengine/monorail/templates/tracker/issue-grid-controls-top.ezt
@@ -0,0 +1,55 @@
+<div class="list">
+<div style="float:right; margin-left:2em; font-size:95%">
+ <a class="buttonify capsule_left" href="list?can=[can]&amp;q=[query]&amp;colspec=[format "url"][colspec][end]&amp;groupby=[format "url"][groupby][end]&amp;sort=[format "url"][sortspec][end]&amp;x=[grid_x_attr]&amp;y=[grid_y_attr]&amp;cells=[grid_cell_mode]">List</a><span
+ class="buttonify capsule_right mode_button_active">Grid</span>
+</div>
+
+[if-any grid_data]
+<div class="pagination">
+ [is pagination.total_count "1"]
+ [pagination.total_count] issue shown
+ [else]
+ [if-any grid_limited][grid_shown] issues of [end]
+ [pagination.total_count] issues shown
+ [end]
+</div>
+[end]
+
+ <form id="colspecform" action="list" method="GET" style="display:inline">
+ <input type="hidden" name="can" value="[can]">
+ <input type="hidden" name="q" value="[query]">
+ <input type="hidden" name="colspec" id="colspec" value="[colspec]">
+ <input type="hidden" name="sort" value="[sortspec]">
+ <input type="hidden" name="groupby" value="[groupby]">
+ <input type="hidden" name="mode" value="grid">
+<span>Rows:</span>
+<select name="y" class="drop-down-bub">
+ <option value="--" [if-any grid_y_attr][else]selected=selected[end]>None</option>
+ [for grid_axis_choices]
+ <option value="[grid_axis_choices]"
+ [is grid_axis_choices grid_y_attr]selected=selected[end]
+ >[grid_axis_choices]</option>
+ [end]
+</select>
+
+<span style="margin-left:.7em">Cols:</span>
+<select name="x" class="drop-down-bub">
+ <option value="--" [if-any grid_x_attr][else]selected=selected[end]>None</option>
+ [for grid_axis_choices]
+ <option value="[grid_axis_choices]"
+ [is grid_axis_choices grid_x_attr]selected=selected[end]
+ >[grid_axis_choices]</option>
+ [end]
+</select>
+
+<span style="margin-left:.7em">Cells:</span>
+<select name="cells" class="drop-down-bub">
+ <option value="tiles" [is grid_cell_mode "tiles"]selected=selected[end]>Tiles</option>
+ <option value="ids" [is grid_cell_mode "ids"]selected=selected[end]>IDs</option>
+ <option value="counts" [is grid_cell_mode "counts"]selected=selected[end]>Counts</option>
+</select>
+
+<input type="submit" name="nobtn" style="font-size:90%; margin-left:.5em" value="Update">
+
+</form>
+</div>

Powered by Google App Engine
This is Rietveld 408576698