OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <script src="../bower_components/sugar/release/sugar-full.development.js"></scri
pt> | 7 <script src="../bower_components/sugar/release/sugar-full.development.js"></scri
pt> |
8 <script src="../scripts/results.js"></script> | 8 <script src="../scripts/results.js"></script> |
9 | 9 |
10 <link rel="import" href="../bower_components/core-animated-pages/core-animated-p
ages.html"> | 10 <link rel="import" href="../bower_components/core-animated-pages/core-animated-p
ages.html"> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 << Go back | 59 << Go back |
60 </a> | 60 </a> |
61 </template> | 61 </template> |
62 </div> | 62 </div> |
63 <div id="right-toolbar"> | 63 <div id="right-toolbar"> |
64 <ct-last-updated date="{{ lastUpdateDate }}"></ct-last-updated> | 64 <ct-last-updated date="{{ lastUpdateDate }}"></ct-last-updated> |
65 <!-- FIXME: Use a proper polymer component with data binding. --> | 65 <!-- FIXME: Use a proper polymer component with data binding. --> |
66 <select id="tree" on-change="{{ _updateTree }}"> | 66 <select id="tree" on-change="{{ _updateTree }}"> |
67 <option value="blink">Blink</option> | 67 <option value="blink">Blink</option> |
68 <option value="chromium">Chromium</option> | 68 <option value="chromium">Chromium</option> |
| 69 <option value="trooper">Trooper</option> |
69 </select> | 70 </select> |
70 </div> | 71 </div> |
71 </header> | 72 </header> |
72 | 73 |
73 <core-animated-pages selected="{{ selected }}" transitions="slide-from-right
"> | 74 <core-animated-pages selected="{{ selected }}" transitions="slide-from-right
"> |
74 <ct-unexpected-failures tree="{{ tree }}" lastUpdateDate="{{ lastUpdateDat
e }}" on-ct-examine-failures="{{ onExamine }}"></ct-unexpected-failures> | 75 <ct-unexpected-failures tree="{{ tree }}" lastUpdateDate="{{ lastUpdateDat
e }}" on-ct-examine-failures="{{ onExamine }}"></ct-unexpected-failures> |
75 <ct-results-panel failures="{{ currentFailures }}" tree="{{ tree }}"></ct-
results-panel> | 76 <ct-results-panel failures="{{ currentFailures }}" tree="{{ tree }}"></ct-
results-panel> |
76 </core-animated-pages> | 77 </core-animated-pages> |
77 </template> | 78 </template> |
78 <script> | 79 <script> |
(...skipping 12 matching lines...) Expand all Loading... |
91 this.selected = 0; | 92 this.selected = 0; |
92 }, | 93 }, |
93 | 94 |
94 onExamine: function(event) { | 95 onExamine: function(event) { |
95 this.currentFailures = event.detail.failures; | 96 this.currentFailures = event.detail.failures; |
96 this.selected = 1; | 97 this.selected = 1; |
97 }, | 98 }, |
98 }); | 99 }); |
99 </script> | 100 </script> |
100 </polymer-element> | 101 </polymer-element> |
OLD | NEW |