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

Side by Side Diff: appengine/swarming/ui/res/imp/taskpage/task-page.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
« no previous file with comments | « appengine/swarming/ui/res/imp/tasklist/task-list.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <task-page> 9 <task-page>
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 <link rel="import" href="/res/imp/bower_components/iron-icon/iron-icon.html"> 27 <link rel="import" href="/res/imp/bower_components/iron-icon/iron-icon.html">
28 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html"> 28 <link rel="import" href="/res/imp/bower_components/iron-icons/iron-icons.html">
29 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm l"> 29 <link rel="import" href="/res/imp/bower_components/paper-button/paper-button.htm l">
30 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm l"> 30 <link rel="import" href="/res/imp/bower_components/paper-dialog/paper-dialog.htm l">
31 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html" > 31 <link rel="import" href="/res/imp/bower_components/paper-input/paper-input.html" >
32 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html"> 32 <link rel="import" href="/res/imp/bower_components/paper-tabs/paper-tabs.html">
33 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html"> 33 <link rel="import" href="/res/imp/bower_components/polymer/polymer.html">
34 34
35 <link rel="import" href="/res/imp/common/common-behavior.html"> 35 <link rel="import" href="/res/imp/common/common-behavior.html">
36 <link rel="import" href="/res/imp/common/error-toast.html">
37 <link rel="import" href="/res/imp/common/interval-timer.html"> 36 <link rel="import" href="/res/imp/common/interval-timer.html">
38 <link rel="import" href="/res/imp/common/single-page-style.html"> 37 <link rel="import" href="/res/imp/common/single-page-style.html">
39 <link rel="import" href="/res/imp/common/swarming-app.html"> 38 <link rel="import" href="/res/imp/common/swarming-app.html">
40 <link rel="import" href="/res/imp/common/task-behavior.html"> 39 <link rel="import" href="/res/imp/common/task-behavior.html">
41 <link rel="import" href="/res/imp/common/url-param.html"> 40 <link rel="import" href="/res/imp/common/url-param.html">
42 41
43 <link rel="import" href="task-page-data.html"> 42 <link rel="import" href="task-page-data.html">
44 <link rel="import" href="task-disambiguation.html"> 43 <link rel="import" href="task-disambiguation.html">
45 44
46 <dom-module id="task-page"> 45 <dom-module id="task-page">
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 507
509 <paper-dialog id="prompt" modal on-iron-overlay-closed="_promptClosed"> 508 <paper-dialog id="prompt" modal on-iron-overlay-closed="_promptClosed">
510 <h2>Are you sure?</h2> 509 <h2>Are you sure?</h2>
511 <div>Are you sure you want to [[_dialog_prompt]]?</div> 510 <div>Are you sure you want to [[_dialog_prompt]]?</div>
512 <div class="buttons"> 511 <div class="buttons">
513 <paper-button dialog-dismiss autofocus>No</paper-button> 512 <paper-button dialog-dismiss autofocus>No</paper-button>
514 <paper-button dialog-confirm>Yes</paper-button> 513 <paper-button dialog-confirm>Yes</paper-button>
515 </div> 514 </div>
516 </paper-dialog> 515 </paper-dialog>
517 516
518 <error-toast></error-toast>
519
520 <interval-timer period="[[_refresh_interval]]" on-trigger="_softRefresh"> 517 <interval-timer period="[[_refresh_interval]]" on-trigger="_softRefresh">
521 </interval-timer> 518 </interval-timer>
522 519
523 </template> 520 </template>
524 <script> 521 <script>
525 (function(){ 522 (function(){
526 Polymer({ 523 Polymer({
527 is: 'task-page', 524 is: 'task-page',
528 525
529 behaviors: [ 526 behaviors: [
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 return result && result.state !== this.PENDING && result.state !== this. CANCELED && result.state != this.EXPIRED; 808 return result && result.state !== this.PENDING && result.state !== this. CANCELED && result.state != this.EXPIRED;
812 }, 809 },
813 810
814 _wasNotPickedUp: function(result) { 811 _wasNotPickedUp: function(result) {
815 return result && !this._wasPickedUp(result); 812 return result && !this._wasPickedUp(result);
816 }, 813 },
817 }); 814 });
818 })(); 815 })();
819 </script> 816 </script>
820 </dom-module> 817 </dom-module>
OLDNEW
« no previous file with comments | « appengine/swarming/ui/res/imp/tasklist/task-list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698