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

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

Issue 2249143002: Make TaskList use Dynamic List (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Document that filters is a stub Created 4 years, 4 months 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 348
349 properties: { 349 properties: {
350 350
351 client_id: { 351 client_id: {
352 type: String, 352 type: String,
353 }, 353 },
354 354
355 // for dynamic table 355 // for dynamic table
356 _columnMap: { 356 _columnMap: {
357 type: Object, 357 type: Object,
358 value: function() { 358 value: columnMap,
359 return columnMap;
360 }
361 }, 359 },
362 _headerMap: { 360 _headerMap: {
363 type: Object, 361 type: Object,
364 value: function() { 362 value: headerMap,
365 return headerMap;
366 },
367 }, 363 },
368 // special columns contain html. non-special (i.e. normal colunns) just
369 // contain text.
370 _specialColumns: { 364 _specialColumns: {
371 type: Array, 365 type: Array,
372 value: function() { 366 value: specialColumns,
373 return specialColumns;
374 }
375 }, 367 },
376 _specialSort: { 368 _specialSort: {
377 type: Object, 369 type: Object,
378 value: function() { 370 value: specialSort,
379 return specialSort;
380 }
381 }, 371 },
382 372
383 }, 373 },
384 374
385 _botClass: function(bot) { 375 _botClass: function(bot) {
386 if (bot.is_dead) { 376 if (bot.is_dead) {
387 return "dead"; 377 return "dead";
388 } 378 }
389 if (bot.quarantined) { 379 if (bot.quarantined) {
390 return "quarantined"; 380 return "quarantined";
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 if (data && data.task_id) { 414 if (data && data.task_id) {
425 return "/user/task/" + data.task_id; 415 return "/user/task/" + data.task_id;
426 } 416 }
427 return undefined; 417 return undefined;
428 } 418 }
429 419
430 }); 420 });
431 })(); 421 })();
432 </script> 422 </script>
433 </dom-module> 423 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698