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

Unified Diff: appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html

Issue 2883493002: Add UI to mass delete dead bots (Closed)
Patch Set: Refresh list after Done is tapped Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/ui/res/imp/tasklist/task-filters.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html
diff --git a/appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html b/appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html
index 7f6570008d6f8805eab1aa4a9666372bfd6f100d..9300000ff7831c0851c79575f024a675adf8498a 100644
--- a/appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html
+++ b/appengine/swarming/ui/res/imp/tasklist/task-mass-cancel.html
@@ -13,15 +13,19 @@
Properties:
//input
- auth_headers:
+ auth_headers: Object, the OAuth2 header to include in the request. This
+ should come from swarming-app.
tags: Array<String> the tags that match the tasks being canceled.
// output
- started_canceling: Boolean, If the user has hit the big red button to start canceling tasks.
- finished_canceling: Boolean, If the dialog has finished canceling all the tasks.
+ started_canceling: Boolean, If the user has hit the big red button to start
+ canceling tasks.
+ finished_canceling: Boolean, If the dialog has finished canceling all the
+ tasks.
Methods:
- prompt() Set up the dialog, resetting started_canceling and finished_canceling to false.
+ prompt() Set up the dialog, resetting started_canceling and
+ finished_canceling to false.
Events:
None.
@@ -71,7 +75,7 @@
</paper-button>
<div >
- <div hidden$="[[!started_canceling]]">Progress: [[_canceled_count]] queued for cancelation</div>
+ <div hidden$="[[!started_canceling]]">Progress: [[_canceled_count]] queued for cancellation</div>
<div>Note: tasks queued for cancellation will be canceled as soon as possible, but there may be some delay between when this dialog box is closed and all tasks actually being canceled.</div>
</div>
@@ -82,7 +86,7 @@
(function(){
var CANCEL_BATCH_SIZE = 100;
Polymer({
- is: 'task-mass-cancel',
+ is: "task-mass-cancel",
properties: {
// input
« no previous file with comments | « appengine/swarming/ui/res/imp/tasklist/task-filters.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698