OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 {{template "header.html" .}} | 4 {{template "header.html" .}} |
5 <title>Skia Status</title> | 5 <title>Skia Status</title> |
6 | 6 |
7 <style> | 7 <style> |
8 html /deep/ core-header-panel { | 8 html /deep/ core-header-panel { |
9 font-family: sans-serif; | 9 font-family: sans-serif; |
10 } | 10 } |
(...skipping 14 matching lines...) Expand all Loading... | |
25 background-color: #FFFFFF; | 25 background-color: #FFFFFF; |
26 } | 26 } |
27 autoroll-widget-sk { | 27 autoroll-widget-sk { |
28 width: 180px; | 28 width: 180px; |
29 min-width: 180px; | 29 min-width: 180px; |
30 max-width: 180px; | 30 max-width: 180px; |
31 } | 31 } |
32 tree-status-sk { | 32 tree-status-sk { |
33 font-size: 1em; | 33 font-size: 1em; |
34 } | 34 } |
35 #sheriff-button, #gpu-sheriff-button { | 35 #sheriff-button, #gpu-sheriff-button, #trooper-button { |
36 min-width: 200px; | 36 min-width: 200px; |
37 max-width: 200px; | 37 max-width: 200px; |
38 width: 200px; | 38 width: 200px; |
39 white-space: nowrap; | 39 white-space: nowrap; |
40 text-align: left; | 40 text-align: left; |
41 margin: 0px; | 41 margin: 0px; |
42 } | 42 } |
43 #sheriff-email, #gpu-sheriff-email { | 43 #sheriff-email, #gpu-sheriff-email, #trooper-email { |
44 display: inline; | 44 display: inline; |
45 } | 45 } |
46 perf-status-sk { | 46 perf-status-sk { |
47 width: 200px; | 47 width: 200px; |
48 min-width: 200px; | 48 min-width: 200px; |
49 max-width: 200px; | 49 max-width: 200px; |
50 } | 50 } |
51 gold-status-sk { | 51 gold-status-sk { |
52 width: 360px; | 52 width: 360px; |
53 min-width: 360px; | 53 min-width: 360px; |
(...skipping 28 matching lines...) Expand all Loading... | |
82 </core-icon-button> | 82 </core-icon-button> |
83 </a> | 83 </a> |
84 <a href="http://skia-tree-status.appspot.com/gpu-sheriff" target="_blank " class="inherit"> | 84 <a href="http://skia-tree-status.appspot.com/gpu-sheriff" target="_blank " class="inherit"> |
85 <core-icon-button | 85 <core-icon-button |
86 id="gpu-sheriff-button" | 86 id="gpu-sheriff-button" |
87 title="The current GPU wranger" | 87 title="The current GPU wranger" |
88 icon="gesture"> | 88 icon="gesture"> |
89 GPU:<div id="gpu-sheriff-email"></div> | 89 GPU:<div id="gpu-sheriff-email"></div> |
90 </core-icon-button> | 90 </core-icon-button> |
91 </a> | 91 </a> |
92 <a href="http://skia-tree-status.appspot.com/trooper" target="_blank" cl ass="inherit"> | |
93 <core-icon-button | |
94 id="trooper-button" | |
95 title="The current Infra trooper" | |
96 icon="hardware:sim-card"> | |
borenet
2015/08/26 12:12:17
What, no stormtrooper?
| |
97 Trooper:<div id="trooper-email"></div> | |
98 </core-icon-button> | |
99 </a> | |
92 <div flex></div> | 100 <div flex></div> |
93 <perf-status-sk title="Active Perf alerts"></perf-status-sk> | 101 <perf-status-sk title="Active Perf alerts"></perf-status-sk> |
94 <gold-status-sk title="Skia Gold: Untriaged image count"></gold-status-s k> | 102 <gold-status-sk title="Skia Gold: Untriaged image count"></gold-status-s k> |
95 </div> | 103 </div> |
96 <commits-sk></commits-sk> | 104 <commits-sk></commits-sk> |
97 </app-sk> | 105 </app-sk> |
98 <script type="text/javascript" charset="utf-8"> | 106 <script type="text/javascript" charset="utf-8"> |
99 (function() { | 107 (function() { |
100 sk.WebComponentsReady.then(function() { | 108 sk.WebComponentsReady.then(function() { |
101 $$$("tree-status-sk").addEventListener("change", function(e) { | 109 $$$("tree-status-sk").addEventListener("change", function(e) { |
102 $$$('#sheriff-email').innerHTML = e.detail.sheriff; | 110 $$$('#sheriff-email').innerHTML = e.detail.sheriff; |
103 $$$('#gpu-sheriff-email').innerHTML = e.detail.gpuSheriff; | 111 $$$('#gpu-sheriff-email').innerHTML = e.detail.gpuSheriff; |
112 $$$('#trooper-email').innerHTML = e.detail.trooper; | |
104 var tb = $$("html /deep/ core-toolbar"); | 113 var tb = $$("html /deep/ core-toolbar"); |
105 for (var i = 0; i < tb.length; i++) { | 114 for (var i = 0; i < tb.length; i++) { |
106 if (e.detail.open == tb[i].classList.contains("closed")) { | 115 if (e.detail.open == tb[i].classList.contains("closed")) { |
107 tb[i].classList.toggle("closed"); | 116 tb[i].classList.toggle("closed"); |
108 } | 117 } |
109 } | 118 } |
110 }) | 119 }) |
111 $$$("autoroll-widget-sk").addEventListener("change", function(e) { | 120 $$$("autoroll-widget-sk").addEventListener("change", function(e) { |
112 if (e.detail.status) { | 121 if (e.detail.status) { |
113 $$$("commits-sk").setAutoRollStatus(e.detail.status.curr_roll_rev, e .detail.status.last_roll_rev); | 122 $$$("commits-sk").setAutoRollStatus(e.detail.status.curr_roll_rev, e .detail.status.last_roll_rev); |
114 } | 123 } |
115 }) | 124 }) |
116 }) | 125 }) |
117 })(); | 126 })(); |
118 </script> | 127 </script> |
119 </body> | 128 </body> |
120 </html> | 129 </html> |
OLD | NEW |