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

Side by Side Diff: golden/templates/byblame.html

Issue 1200343002: gold: ByBlame WIP (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: rebase Created 5 years, 6 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 | « golden/templates/blamelist.html ('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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Skia Correctness Server | By Blame</title>
5 {%template "header.html" .%}
6 <style type="text/css" media="screen">
7 commits-panel-sk {
8 margin: 1em;
9 display: block;
10 }
11
12 .group {
13 background: white;
14 margin: 2em;
15 border: solid 1px gray;
16 padding: 1em;
17 box-shadow: 11px 11px 31px 1px rgba(0, 0, 0, 0.52);
18 }
19 </style>
20 </head>
21 <body>
22 <scaffold-sk responsiveWidth="700px">
23 {%template "titlebar.html" .%}
24 {%$byblame := .ByBlame%}
25
26 {%range .Keys%}
27 <div class=group>
28 <a target=_blank href="/blamelist?groupid={%.%}">{%len (index $bybla me .)%} digests need triaging.</a>
29
30 {%$key := .%}
31
32 {%if (gt (len (index (index $byblame .) 0).CommitIndices) 0)%}
33 <h3>Blame</h3>
34 <div>
35 <commits-panel-sk mailbox="{%$key%}"></commits-panel-sk>
36 </div>
37 {%else%}
38 <h3>No blamelist.</h3>
39 {%end%}
40
41 {%if (lt (len (index $byblame .)) 10)%}
42 <h3>Digests</h3>
43 {%else%}
44 <h3>Some digests</h3>
45 {%end%}
46 <ol>
47 {%range $index, $element := (index $byblame .)%}
48 {%if (lt $index 10)%}
49 <li><a target=_blank href="/detail?test={%$element.Test%}&di gest={%$element.Digest%}">{%$element.Test%}</a></li>
50 {%end%}
51 {%end%}
52 </ol>
53 </div>
54 {%end%}
55 </scaffold-sk>
56 <script type="text/javascript" charset="utf-8">
57 (function() {
58 var commits = {%.CommitsJS%};
59
60 Object.keys(commits).forEach(function(key) {
61 sk.Mailbox.send(key, commits[key]);
62 });
63 })();
64 </script>
65 </body>
66 </html>
OLDNEW
« no previous file with comments | « golden/templates/blamelist.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698