| OLD | NEW | 
|---|
| 1 <!-- | 1 <!-- | 
| 2   Copyright 2016 The LUCI Authors. All rights reserved. | 2   Copyright 2016 The LUCI Authors. All rights reserved. | 
| 3   Use of this source code is governed under the Apache License, Version 2.0 | 3   Use of this source code is governed under the Apache License, Version 2.0 | 
| 4   that can be found in the LICENSE file. | 4   that can be found in the LICENSE file. | 
| 5 | 5 | 
| 6   This in an HTML Import-able file that contains the definition | 6   This in an HTML Import-able file that contains the definition | 
| 7   of the following elements: | 7   of the following elements: | 
| 8 | 8 | 
| 9     <swarming-app> | 9     <swarming-app> | 
| 10 | 10 | 
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 75     </style> | 75     </style> | 
| 76     <app-header-layout> | 76     <app-header-layout> | 
| 77       <app-header fixed> | 77       <app-header fixed> | 
| 78         <app-toolbar> | 78         <app-toolbar> | 
| 79           <div class="title left">[[name]]</div> | 79           <div class="title left">[[name]]</div> | 
| 80           <paper-spinner-lite class="left" active="[[busy]]"></paper-spinner-lit
     e> | 80           <paper-spinner-lite class="left" active="[[busy]]"></paper-spinner-lit
     e> | 
| 81 | 81 | 
| 82           <a class="left" href="/newui/">Home</a> | 82           <a class="left" href="/newui/">Home</a> | 
| 83           <a class="left" href="/newui/botlist">Bot List</a> | 83           <a class="left" href="/newui/botlist">Bot List</a> | 
| 84           <div class="flex"></div> | 84           <div class="flex"></div> | 
| 85           <!-- TODO(kjlubick) Remove this hard-coded client-id.--> |  | 
| 86           <auth-signin | 85           <auth-signin | 
| 87               class="right" | 86               class="right" | 
| 88               client-id="20770472288-t5smpbpjptka4nd888fv0ctd23ftba2o.apps.googl
     eusercontent.com" | 87               client-id="[[client_id]]" | 
| 89               auth-headers="{{auth_headers}}" | 88               auth-headers="{{auth_headers}}" | 
| 90               signed-in="{{signed_in}}"> | 89               signed-in="{{signed_in}}"> | 
| 91           </auth-signin> | 90           </auth-signin> | 
| 92         </app-toolbar> | 91         </app-toolbar> | 
| 93       </app-header> | 92       </app-header> | 
| 94       <div class="main-content"> | 93       <div class="main-content"> | 
| 95         <content></content> | 94         <content></content> | 
| 96       </div> | 95       </div> | 
| 97     </app-header-layout> | 96     </app-header-layout> | 
| 98 | 97 | 
| 99   </template> | 98   </template> | 
| 100   <script> | 99   <script> | 
| 101     Polymer({ | 100     Polymer({ | 
| 102       is: 'swarming-app', | 101       is: 'swarming-app', | 
| 103       properties: { | 102       properties: { | 
|  | 103         client_id: { | 
|  | 104           type: String, | 
|  | 105         }, | 
| 104         auth_headers: { | 106         auth_headers: { | 
| 105           type: Object, | 107           type: Object, | 
| 106           notify: true, | 108           notify: true, | 
| 107         }, | 109         }, | 
| 108         signed_in: { | 110         signed_in: { | 
| 109           type: Boolean, | 111           type: Boolean, | 
| 110           value: false, | 112           value: false, | 
| 111           notify:true, | 113           notify:true, | 
| 112         }, | 114         }, | 
| 113 | 115 | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 127   <style> | 129   <style> | 
| 128       * { | 130       * { | 
| 129         font-family: sans-serif; | 131         font-family: sans-serif; | 
| 130       } | 132       } | 
| 131       /* Only style anchor tags that are actually linking somewhere.*/ | 133       /* Only style anchor tags that are actually linking somewhere.*/ | 
| 132       a[href] { | 134       a[href] { | 
| 133         color: #1F78B4; | 135         color: #1F78B4; | 
| 134       } | 136       } | 
| 135   </style> | 137   </style> | 
| 136 </dom-module> | 138 </dom-module> | 
| OLD | NEW | 
|---|