Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: appengine/swarming/ui/res/imp/botlist/bot-list.html

Issue 2511463003: Move error-toast up and make server details problems easy to see (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <bot-list> 9 <bot-list>
10 10
(...skipping 10 matching lines...) Expand all
21 None. 21 None.
22 22
23 Events: 23 Events:
24 None. 24 None.
25 --> 25 -->
26 26
27 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la yout-classes.html"> 27 <link rel="import" href="/res/imp/bower_components/iron-flex-layout/iron-flex-la yout-classes.html">
28 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> 28 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html">
29 29
30 <link rel="import" href="/res/imp/common/dynamic-table-behavior.html"> 30 <link rel="import" href="/res/imp/common/dynamic-table-behavior.html">
31 <link rel="import" href="/res/imp/common/error-toast.html">
32 <link rel="import" href="/res/imp/common/sort-toggle.html"> 31 <link rel="import" href="/res/imp/common/sort-toggle.html">
33 <link rel="import" href="/res/imp/common/swarming-app.html"> 32 <link rel="import" href="/res/imp/common/swarming-app.html">
34 <link rel="import" href="/res/imp/common/url-param.html"> 33 <link rel="import" href="/res/imp/common/url-param.html">
35 <link rel="import" href="/res/imp/common/pageable-data.html"> 34 <link rel="import" href="/res/imp/common/pageable-data.html">
36 35
37 <link rel="import" href="bot-filters.html"> 36 <link rel="import" href="bot-filters.html">
38 <link rel="import" href="bot-list-data.html"> 37 <link rel="import" href="bot-list-data.html">
39 <link rel="import" href="bot-list-shared-behavior.html"> 38 <link rel="import" href="bot-list-shared-behavior.html">
40 <link rel="import" href="bot-list-summary.html"> 39 <link rel="import" href="bot-list-summary.html">
41 40
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 </table> 235 </table>
237 <pageable-data 236 <pageable-data
238 id="page_bots" 237 id="page_bots"
239 busy="{{_busy2}}" 238 busy="{{_busy2}}"
240 label="Show more bots" 239 label="Show more bots"
241 output="{{_items}}" 240 output="{{_items}}"
242 parse="[[_parseBots]]"> 241 parse="[[_parseBots]]">
243 </pageable-data> 242 </pageable-data>
244 </div> 243 </div>
245 244
246 <error-toast></error-toast>
247 </swarming-app> 245 </swarming-app>
248 246
249 </template> 247 </template>
250 <script> 248 <script>
251 (function(){ 249 (function(){
252 var UNKNOWN = "unknown"; 250 var UNKNOWN = "unknown";
253 // see dynamic-table for more information on specialColumns, headerMap, 251 // see dynamic-table for more information on specialColumns, headerMap,
254 // columnMap, and specialSort 252 // columnMap, and specialSort
255 var specialColumns = ["id", "task", "cloud_console_link", "mp_lease_id"]; 253 var specialColumns = ["id", "task", "cloud_console_link", "mp_lease_id"];
256 254
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 return; 673 return;
676 } 674 }
677 var url = "/api/swarming/v1/bots/list?" + sk.query.fromParamSet(this._qu ery_params); 675 var url = "/api/swarming/v1/bots/list?" + sk.query.fromParamSet(this._qu ery_params);
678 this.$.page_bots.load(url,this._auth_headers); 676 this.$.page_bots.load(url,this._auth_headers);
679 } 677 }
680 678
681 }); 679 });
682 })(); 680 })();
683 </script> 681 </script>
684 </dom-module> 682 </dom-module>
OLDNEW
« no previous file with comments | « appengine/swarming/ui/build/elements.html ('k') | appengine/swarming/ui/res/imp/botpage/bot-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698