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

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

Issue 2497663003: Make silent task retries more obvious (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: appengine/swarming/ui/res/imp/botlist/bot-list.html
diff --git a/appengine/swarming/ui/res/imp/botlist/bot-list.html b/appengine/swarming/ui/res/imp/botlist/bot-list.html
index 8f6622146aff75b57b37a5acb91223b4b2d1faa6..831aa52548ca7b893b5432ae058986982133af7a 100644
--- a/appengine/swarming/ui/res/imp/botlist/bot-list.html
+++ b/appengine/swarming/ui/res/imp/botlist/bot-list.html
@@ -502,7 +502,19 @@
first_seen: function(dir, botA, botB) {
var botACol = botA.first_seen_ts;
var botBCol = botB.first_seen_ts;
- return dir * swarming.naturalCompare(botACol, botBCol)
+ return dir * swarming.naturalCompare(botACol, botBCol);
+ },
+ gpu: function(dir, botA, botB) {
+ // We want all the "none" GPU bots to come last in the list.
+ var botACol = this._column("gpu", botA);
+ if (botACol === "none") {
+ botACol = "ZZZ";
+ }
+ var botBCol = this._column("gpu", botB);
+ if (botBCol === "none") {
+ botBCol = "ZZZ";
+ }
+ return dir * swarming.naturalCompare(botACol, botBCol);
},
last_seen: function(dir, botA, botB) {
var botACol = botA.last_seen_ts;
« no previous file with comments | « appengine/swarming/ui/build/elements.html ('k') | appengine/swarming/ui/res/imp/common/common-behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698