| OLD | NEW | 
|---|
| 1 <!DOCTYPE html><html><head><!-- | 1 <!DOCTYPE html><html><head><!-- | 
| 2 @license | 2 @license | 
| 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 
| 4 This code may only be used under the BSD style license found at http://polymer.g
       ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
       ithub.io/LICENSE.txt | 
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
       BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
       BUTORS.txt | 
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also | 
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
       TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
       TS.txt | 
| 9 --><!-- | 9 --><!-- | 
| 10 @license | 10 @license | 
| (...skipping 14565 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 14576     </style> | 14576     </style> | 
| 14577     <app-header-layout> | 14577     <app-header-layout> | 
| 14578       <app-header fixed=""> | 14578       <app-header fixed=""> | 
| 14579         <app-toolbar> | 14579         <app-toolbar> | 
| 14580           <div class="title left">[[name]]</div> | 14580           <div class="title left">[[name]]</div> | 
| 14581           <paper-spinner-lite class="left" active="[[busy]]"></paper-spinner-lit
       e> | 14581           <paper-spinner-lite class="left" active="[[busy]]"></paper-spinner-lit
       e> | 
| 14582 | 14582 | 
| 14583           <a class="left" href="/newui/">Home</a> | 14583           <a class="left" href="/newui/">Home</a> | 
| 14584           <a class="left" href="/newui/botlist">Bot List</a> | 14584           <a class="left" href="/newui/botlist">Bot List</a> | 
| 14585           <div class="flex"></div> | 14585           <div class="flex"></div> | 
| 14586 | 14586           <auth-signin class="right" client-id="[[client_id]]" auth-headers="{{a
       uth_headers}}" signed-in="{{signed_in}}"> | 
| 14587           <auth-signin class="right" client-id="20770472288-t5smpbpjptka4nd888fv
       0ctd23ftba2o.apps.googleusercontent.com" auth-headers="{{auth_headers}}" signed-
       in="{{signed_in}}"> |  | 
| 14588           </auth-signin> | 14587           </auth-signin> | 
| 14589         </app-toolbar> | 14588         </app-toolbar> | 
| 14590       </app-header> | 14589       </app-header> | 
| 14591       <div class="main-content"> | 14590       <div class="main-content"> | 
| 14592         <content></content> | 14591         <content></content> | 
| 14593       </div> | 14592       </div> | 
| 14594     </app-header-layout> | 14593     </app-header-layout> | 
| 14595 | 14594 | 
| 14596   </template> | 14595   </template> | 
| 14597   <script> | 14596   <script> | 
| 14598     Polymer({ | 14597     Polymer({ | 
| 14599       is: 'swarming-app', | 14598       is: 'swarming-app', | 
| 14600       properties: { | 14599       properties: { | 
|  | 14600         client_id: { | 
|  | 14601           type: String, | 
|  | 14602         }, | 
| 14601         auth_headers: { | 14603         auth_headers: { | 
| 14602           type: Object, | 14604           type: Object, | 
| 14603           notify: true, | 14605           notify: true, | 
| 14604         }, | 14606         }, | 
| 14605         signed_in: { | 14607         signed_in: { | 
| 14606           type: Boolean, | 14608           type: Boolean, | 
| 14607           value: false, | 14609           value: false, | 
| 14608           notify:true, | 14610           notify:true, | 
| 14609         }, | 14611         }, | 
| 14610 | 14612 | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 14629       a[href] { | 14631       a[href] { | 
| 14630         color: #1F78B4; | 14632         color: #1F78B4; | 
| 14631       } | 14633       } | 
| 14632   </style> | 14634   </style> | 
| 14633 </dom-module><dom-module id="swarming-index" assetpath="/res/imp/index/"> | 14635 </dom-module><dom-module id="swarming-index" assetpath="/res/imp/index/"> | 
| 14634   <template> | 14636   <template> | 
| 14635     <style include="swarming-app-style"> | 14637     <style include="swarming-app-style"> | 
| 14636 | 14638 | 
| 14637     </style> | 14639     </style> | 
| 14638 | 14640 | 
| 14639     <swarming-app auth_headers="{{auth_headers}}" name="Swarming" busy="[[busy]]
       "> | 14641     <swarming-app client_id="[[client_id]]" auth_headers="{{auth_headers}}" name
       ="Swarming" busy="[[busy]]"> | 
| 14640 | 14642 | 
| 14641       <iron-ajax id="request" url="/_ah/api/swarming/v1/server/details" headers=
       "[[auth_headers]]" handle-as="json" last-response="{{serverDetails}}" loading="{
       {busy}}"> | 14643       <iron-ajax id="request" url="/_ah/api/swarming/v1/server/details" headers=
       "[[auth_headers]]" handle-as="json" last-response="{{serverDetails}}" loading="{
       {busy}}"> | 
| 14642       </iron-ajax> | 14644       </iron-ajax> | 
| 14643 | 14645 | 
| 14644       <h1>HELLO WORLD</h1> | 14646       <h1>HELLO WORLD</h1> | 
| 14645 | 14647 | 
| 14646       <div>Server Version: [[serverDetails.server_version]]</div> | 14648       <div>Server Version: [[serverDetails.server_version]]</div> | 
| 14647 | 14649 | 
| 14648     </swarming-app> | 14650     </swarming-app> | 
| 14649 | 14651 | 
| 14650   </template> | 14652   </template> | 
| 14651   <script> | 14653   <script> | 
| 14652     Polymer({ | 14654     Polymer({ | 
| 14653       is: 'swarming-index', | 14655       is: 'swarming-index', | 
| 14654 | 14656 | 
| 14655       properties: { | 14657       properties: { | 
|  | 14658         client_id: { | 
|  | 14659           type: String, | 
|  | 14660         }, | 
|  | 14661 | 
| 14656         auth_headers: { | 14662         auth_headers: { | 
| 14657           type: Object, | 14663           type: Object, | 
| 14658           observer: "signIn", | 14664           observer: "signIn", | 
| 14659         }, | 14665         }, | 
| 14660 | 14666 | 
| 14661         serverDetails: { | 14667         serverDetails: { | 
| 14662           type: String, | 14668           type: String, | 
| 14663         } | 14669         } | 
| 14664       }, | 14670       }, | 
| 14665 | 14671 | 
| (...skipping 6928 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 21594         position: absolute; | 21600         position: absolute; | 
| 21595         right: 0; | 21601         right: 0; | 
| 21596         top: 0.4em; | 21602         top: 0.4em; | 
| 21597       } | 21603       } | 
| 21598       .bot-list th > span { | 21604       .bot-list th > span { | 
| 21599         /* Leave space for sort-toggle*/ | 21605         /* Leave space for sort-toggle*/ | 
| 21600         padding-right: 30px; | 21606         padding-right: 30px; | 
| 21601       } | 21607       } | 
| 21602     </style> | 21608     </style> | 
| 21603 | 21609 | 
| 21604     <swarming-app auth_headers="{{_auth_headers}}" signed_in="{{_signed_in}}" bu
       sy="[[_busy]]" name="Swarming Bot List"> | 21610     <swarming-app client_id="[[client_id]]" auth_headers="{{_auth_headers}}" sig
       ned_in="{{_signed_in}}" busy="[[_busy]]" name="Swarming Bot List"> | 
| 21605 | 21611 | 
| 21606       <h2 hidden$="[[_signed_in]]">You must sign in to see anything useful.</h2> | 21612       <h2 hidden$="[[_signed_in]]">You must sign in to see anything useful.</h2> | 
| 21607 | 21613 | 
| 21608       <div hidden$="[[_not(_signed_in)]]"> | 21614       <div hidden$="[[_not(_signed_in)]]"> | 
| 21609 | 21615 | 
| 21610         <div class="horizontal layout"> | 21616         <div class="horizontal layout"> | 
| 21611 | 21617 | 
| 21612           <bot-filters primary_map="[[_primary_map]]" primary_arr="[[_primary_ar
       r]]" columns="{{_columns}}" dimensions="{{_dimensions}}" filter="{{_filter}}" ve
       rbose="{{_verbose}}"> | 21618           <bot-filters primary_map="[[_primary_map]]" primary_arr="[[_primary_ar
       r]]" columns="{{_columns}}" dimensions="{{_dimensions}}" filter="{{_filter}}" ve
       rbose="{{_verbose}}"> | 
| 21613           </bot-filters> | 21619           </bot-filters> | 
| 21614 | 21620 | 
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 21850         return dir * swarming.naturalCompare(botACol, botBCol); | 21856         return dir * swarming.naturalCompare(botACol, botBCol); | 
| 21851       }, | 21857       }, | 
| 21852     }; | 21858     }; | 
| 21853 | 21859 | 
| 21854     Polymer({ | 21860     Polymer({ | 
| 21855       is: 'bot-list', | 21861       is: 'bot-list', | 
| 21856       behaviors: [SwarmingBehaviors.BotListBehavior], | 21862       behaviors: [SwarmingBehaviors.BotListBehavior], | 
| 21857 | 21863 | 
| 21858       properties: { | 21864       properties: { | 
| 21859 | 21865 | 
|  | 21866         client_id: { | 
|  | 21867           type: String, | 
|  | 21868         }, | 
|  | 21869 | 
| 21860         _bots: { | 21870         _bots: { | 
| 21861           type: Array, | 21871           type: Array, | 
| 21862         }, | 21872         }, | 
| 21863 | 21873 | 
| 21864         _columns: { | 21874         _columns: { | 
| 21865           type: Array, | 21875           type: Array, | 
| 21866         }, | 21876         }, | 
| 21867 | 21877 | 
| 21868         _filter: { | 21878         _filter: { | 
| 21869           type: Function, | 21879           type: Function, | 
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 22007         if (data && data.task_id) { | 22017         if (data && data.task_id) { | 
| 22008           return "/user/task/" + data.task_id; | 22018           return "/user/task/" + data.task_id; | 
| 22009         } | 22019         } | 
| 22010         return undefined; | 22020         return undefined; | 
| 22011       } | 22021       } | 
| 22012 | 22022 | 
| 22013     }); | 22023     }); | 
| 22014   })(); | 22024   })(); | 
| 22015   </script> | 22025   </script> | 
| 22016 </dom-module></div></body></html> | 22026 </dom-module></div></body></html> | 
| OLD | NEW | 
|---|