blob: 0d80deeab8040ae695d76c5174073dafbf0410be [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001[define title]Reindex Issues[end]
2[define category_css]css/ph_detail.css[end]
3[include "../framework/header.ezt" "showtabs"]
4
5[if-any read_only][include "../framework/read-only-rejection.ezt"]
6[else]
7
8<form action="reindex.do" method="POST" id="form">
9 <input type="hidden" name="token" value="[form_token]">
10 <table>
11 <tr>
12 <td>Start:</td>
13 <td><input type="input" name="start" value="[start]"></td>
14 </tr>
15 <tr>
16 <td>Num:</td>
17 <td><input type="input" name="num" value="[num]"></td>
18 </tr>
19 <tr>
20 <td colspan="2">
21 <input type="submit" id="submit_btn" name="btn" value="Re-index"></td>
22 </tr>
23 <tr>
24 <td><label for="autosubmit">Autosubmit:</label></td>
25 <td><input type="checkbox" name="auto_submit" id="autosubmit"
26 [is auto_submit "True"]checked="checked"[end] ></td>
27 </tr>
28 </table>
29</form>
30
31<script type="text/javascript" nonce="[nonce]">
32runOnLoad(function() {
33 function autosubmit() {
34 if (document.getElementById('autosubmit').checked) {
35 document.getElementById('form').submit();
36 }
37 }
38 if (document.getElementById('autosubmit').checked) {
39 setTimeout(autosubmit, 5000);
40 }
41});
42</script>
43
44[end]
45[include "../framework/footer.ezt"]