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

Side by Side Diff: appengine/chromium_try_flakes/templates/index.html

Issue 1950083002: Load only a few flakes on the index page and inline link to load more (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « appengine/chromium_try_flakes/handlers/index.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 h1 { 3 h1 {
4 font-family: sans-serif; 4 font-family: sans-serif;
5 } 5 }
6 p { 6 p {
7 max-width: 800px; 7 max-width: 800px;
8 } 8 }
9 9
10 #range_search { 10 #range_search {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 <tr> 62 <tr>
63 <td colspan="3"> 63 <td colspan="3">
64 <input id="step_comment_{{forloop.counter}}" 64 <input id="step_comment_{{forloop.counter}}"
65 style="width:100%; " 65 style="width:100%; "
66 data-key="{{f.key.urlsafe}}" 66 data-key="{{f.key.urlsafe}}"
67 placeholder="comment" 67 placeholder="comment"
68 type="text" value="{{f.comment}}" 68 type="text" value="{{f.comment}}"
69 onblur="PostComment('step_comment_{{forloop.counter}}')"> 69 onblur="PostComment('step_comment_{{forloop.counter}}')">
70 </td> 70 </td>
71 </tr> 71 </tr>
72
72 {% for o in f.filtered_occurrences %} 73 {% for o in f.filtered_occurrences %}
73 <tr> 74 <tr>
74 <td><a href="{{o.getURL}}">try run at {{o.formatted_time}} UTC</a></td> 75 <td><a href="{{o.getURL}}">try run at {{o.formatted_time}} UTC</a></td>
75 <td><a href="{{o.patchset_url}}">patchset</a></td> 76 <td><a href="{{o.patchset_url}}">patchset</a></td>
76 <td>{{o.builder}} </td> 77 <td>{{o.builder}} </td>
77
78 </tr> 78 </tr>
79 {% endfor %} 79 {% endfor %}
80 80
81 </tr><tr><td>&nbsp;</td></tr> 81 {% if f.more_occurrences %}
82 <tr><td colspan="3">
83 <a href="/all_flake_occurrences?key={{f.key.urlsafe}}">more occurrences</a>
84 </td></tr>
85 {% endif %}
86
87 <tr><td>&nbsp;</td></tr>
82 {% endfor %} 88 {% endfor %}
83 </table> 89 </table>
84 90
85 {% if more %} 91 {% if more %}
86 <a href='/?range={{range}}&cursor={{cursor}}'>next</a> 92 <a href='/?range={{range}}&cursor={{cursor}}'>next</a>
87 {% endif %} 93 {% endif %}
88 94
89 <br> 95 <br>
90 <br> 96 <br>
91 TODO: 97 TODO:
(...skipping 22 matching lines...) Expand all
114 120
115 var xhr = new XMLHttpRequest(); 121 var xhr = new XMLHttpRequest();
116 122
117 var data = new FormData(); 123 var data = new FormData();
118 data.append('key', key); 124 data.append('key', key);
119 data.append('comment', comment); 125 data.append('comment', comment);
120 xhr.open('POST', '/post_comment'); 126 xhr.open('POST', '/post_comment');
121 xhr.send(data); 127 xhr.send(data);
122 } 128 }
123 </script> 129 </script>
OLDNEW
« no previous file with comments | « appengine/chromium_try_flakes/handlers/index.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698