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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « golden/templates/blamelist.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: golden/templates/byblame.html
diff --git a/golden/templates/byblame.html b/golden/templates/byblame.html
new file mode 100644
index 0000000000000000000000000000000000000000..d4ea73e4bbe2ac991f32515d90ada3fe84337b36
--- /dev/null
+++ b/golden/templates/byblame.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Skia Correctness Server | By Blame</title>
+ {%template "header.html" .%}
+ <style type="text/css" media="screen">
+ commits-panel-sk {
+ margin: 1em;
+ display: block;
+ }
+
+ .group {
+ background: white;
+ margin: 2em;
+ border: solid 1px gray;
+ padding: 1em;
+ box-shadow: 11px 11px 31px 1px rgba(0, 0, 0, 0.52);
+ }
+ </style>
+ </head>
+ <body>
+ <scaffold-sk responsiveWidth="700px">
+ {%template "titlebar.html" .%}
+ {%$byblame := .ByBlame%}
+
+ {%range .Keys%}
+ <div class=group>
+ <a target=_blank href="/blamelist?groupid={%.%}">{%len (index $byblame .)%} digests need triaging.</a>
+
+ {%$key := .%}
+
+ {%if (gt (len (index (index $byblame .) 0).CommitIndices) 0)%}
+ <h3>Blame</h3>
+ <div>
+ <commits-panel-sk mailbox="{%$key%}"></commits-panel-sk>
+ </div>
+ {%else%}
+ <h3>No blamelist.</h3>
+ {%end%}
+
+ {%if (lt (len (index $byblame .)) 10)%}
+ <h3>Digests</h3>
+ {%else%}
+ <h3>Some digests</h3>
+ {%end%}
+ <ol>
+ {%range $index, $element := (index $byblame .)%}
+ {%if (lt $index 10)%}
+ <li><a target=_blank href="/detail?test={%$element.Test%}&digest={%$element.Digest%}">{%$element.Test%}</a></li>
+ {%end%}
+ {%end%}
+ </ol>
+ </div>
+ {%end%}
+ </scaffold-sk>
+ <script type="text/javascript" charset="utf-8">
+ (function() {
+ var commits = {%.CommitsJS%};
+
+ Object.keys(commits).forEach(function(key) {
+ sk.Mailbox.send(key, commits[key]);
+ });
+ })();
+ </script>
+ </body>
+</html>
« 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