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

Unified Diff: appengine/monorail/templates/tracker/issue-reindex-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 side-by-side diff with in-line comments
Download patch
Index: appengine/monorail/templates/tracker/issue-reindex-page.ezt
diff --git a/appengine/monorail/templates/tracker/issue-reindex-page.ezt b/appengine/monorail/templates/tracker/issue-reindex-page.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..ba0ecafec1fe6019ba9b285c410047178ddabf88
--- /dev/null
+++ b/appengine/monorail/templates/tracker/issue-reindex-page.ezt
@@ -0,0 +1,45 @@
+[define title]Reindex Issues[end]
+[define category_css]css/ph_detail.css[end]
+[include "../framework/master-header.ezt" "showtabs"]
+
+[if-any read_only][include "../framework/read-only-rejection.ezt"]
+[else]
+
+<form action="reindex.do" method="POST" id="form">
+ <input type="hidden" name="token" value="[form_token]">
+ <table>
+ <tr>
+ <td>Start:</td>
+ <td><input type="input" name="start" value="[start]"></td>
+ </tr>
+ <tr>
+ <td>Num:</td>
+ <td><input type="input" name="num" value="[num]"></td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <input type="submit" id="submit_btn" name="btn" value="Re-index"></td>
+ </tr>
+ <tr>
+ <td><label for="autosubmit">Autosubmit:</label></td>
+ <td><input type="checkbox" name="auto_submit" id="autosubmit"
+ [is auto_submit "True"]checked="checked"[end] ></td>
+ </tr>
+ </table>
+</form>
+
+<script type="text/javascript" nonce="[nonce]">
+runOnLoad(function() {
+ function autosubmit() {
+ if (document.getElementById('autosubmit').checked) {
+ document.getElementById('form').submit();
+ }
+ }
+ if (document.getElementById('autosubmit').checked) {
+ setTimeout(autosubmit, 5000);
+ }
+});
+</script>
+
+[end]
+[include "../framework/master-footer.ezt"]
« no previous file with comments | « appengine/monorail/templates/tracker/issue-peek-ajah.ezt ('k') | appengine/monorail/templates/tracker/issue-search-form.ezt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698