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

Unified Diff: status/templates/commits.html

Issue 1320633005: Display Infra trooper on the status page (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Fixes Created 5 years, 4 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 | « status/res/imp/tree-status-sk.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: status/templates/commits.html
diff --git a/status/templates/commits.html b/status/templates/commits.html
index cf668f9a291ddbc0126a61db77a8abfb0fb19ad0..c6cc9445e92a7cfc3eb0ee94bfe4cd8f90d84865 100644
--- a/status/templates/commits.html
+++ b/status/templates/commits.html
@@ -32,7 +32,7 @@
tree-status-sk {
font-size: 1em;
}
- #sheriff-button, #gpu-sheriff-button {
+ #sheriff-button, #gpu-sheriff-button, #trooper-button {
min-width: 200px;
max-width: 200px;
width: 200px;
@@ -40,7 +40,7 @@
text-align: left;
margin: 0px;
}
- #sheriff-email, #gpu-sheriff-email {
+ #sheriff-email, #gpu-sheriff-email, #trooper-email {
display: inline;
}
perf-status-sk {
@@ -89,6 +89,14 @@
GPU:<div id="gpu-sheriff-email"></div>
</core-icon-button>
</a>
+ <a href="http://skia-tree-status.appspot.com/trooper" target="_blank" class="inherit">
+ <core-icon-button
+ id="trooper-button"
+ title="The current Infra trooper"
+ icon="hardware:sim-card">
borenet 2015/08/26 12:12:17 What, no stormtrooper?
+ Trooper:<div id="trooper-email"></div>
+ </core-icon-button>
+ </a>
<div flex></div>
<perf-status-sk title="Active Perf alerts"></perf-status-sk>
<gold-status-sk title="Skia Gold: Untriaged image count"></gold-status-sk>
@@ -101,6 +109,7 @@
$$$("tree-status-sk").addEventListener("change", function(e) {
$$$('#sheriff-email').innerHTML = e.detail.sheriff;
$$$('#gpu-sheriff-email').innerHTML = e.detail.gpuSheriff;
+ $$$('#trooper-email').innerHTML = e.detail.trooper;
var tb = $$("html /deep/ core-toolbar");
for (var i = 0; i < tb.length; i++) {
if (e.detail.open == tb[i].classList.contains("closed")) {
« no previous file with comments | « status/res/imp/tree-status-sk.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698