| OLD | NEW |
| 1 <!-- The <test-summary-sk> custom element declaration. | 1 <!-- The <test-summary-sk> custom element declaration. |
| 2 | 2 |
| 3 Displays a summary for the given test. | 3 Displays a summary for the given test. |
| 4 | 4 |
| 5 Attributes: | 5 Attributes: |
| 6 summary - A object that gives a summary of a test. Should look like: | 6 summary - A object that gives a summary of a test. Should look like: |
| 7 | 7 |
| 8 { | 8 { |
| 9 "name": "01-original", | 9 "name": "01-original", |
| 10 "diameter": 123242, | 10 "diameter": 123242, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 {{summary.name}} | 83 {{summary.name}} |
| 84 </a> | 84 </a> |
| 85 </b> | 85 </b> |
| 86 </span> | 86 </span> |
| 87 <!-- <span class=short>{{summary.diameter}}</span> --> | 87 <!-- <span class=short>{{summary.diameter}}</span> --> |
| 88 <span class=short> | 88 <span class=short> |
| 89 <a href="cmp/{{summary.name}}?topQuery={{query}}&topIncludeIgnores={{i
nclude}}&leftQuery={{query}}&leftIncludeIgnores={{include}}&head={{head}}"> | 89 <a href="cmp/{{summary.name}}?topQuery={{query}}&topIncludeIgnores={{i
nclude}}&leftQuery={{query}}&leftIncludeIgnores={{include}}&head={{head}}"> |
| 90 <core-icon icon=apps></core-icon> | 90 <core-icon icon=apps></core-icon> |
| 91 </a> | 91 </a> |
| 92 </span> | 92 </span> |
| 93 <span class=short> |
| 94 <a href="cluster?test={{summary.name}}"> |
| 95 <core-icon icon="radio-button-off"></core-icon> |
| 96 </a> |
| 97 </span> |
| 93 <span class=short>{{summary.pos}}</span> | 98 <span class=short>{{summary.pos}}</span> |
| 94 <span class=short>{{summary.neg}}</span> | 99 <span class=short>{{summary.neg}}</span> |
| 95 <span class=short>{{summary.untriaged}}</span> | 100 <span class=short>{{summary.untriaged}}</span> |
| 96 <span class=short>{{summary.num}}</span> | 101 <span class=short>{{summary.num}}</span> |
| 97 <div class="blameColumn" vertical layout> | 102 <div class="blameColumn" vertical layout> |
| 98 <template repeat="{{b in summary.blame}}"> | 103 <template repeat="{{b in summary.blame}}"> |
| 99 <div>{{b.prob | formatPercent }}% - {{b.author}}</div> | 104 <div>{{b.prob | formatPercent }}% - {{b.author}}</div> |
| 100 </template> | 105 </template> |
| 101 </div> | 106 </div> |
| 102 </div> | 107 </div> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 delete o["name"]; | 298 delete o["name"]; |
| 294 return window.encodeURIComponent(sk.query.fromParamSet(o)); | 299 return window.encodeURIComponent(sk.query.fromParamSet(o)); |
| 295 }, | 300 }, |
| 296 | 301 |
| 297 formatPercent: function(prob) { | 302 formatPercent: function(prob) { |
| 298 return (prob*100).toFixed(1); | 303 return (prob*100).toFixed(1); |
| 299 } | 304 } |
| 300 }); | 305 }); |
| 301 </script> | 306 </script> |
| 302 </polymer-element> | 307 </polymer-element> |
| OLD | NEW |