| Index: appengine/swarming/ui/res/imp/taskpage/task-page.html
|
| diff --git a/appengine/swarming/ui/res/imp/taskpage/task-page.html b/appengine/swarming/ui/res/imp/taskpage/task-page.html
|
| index a4ba9dc9826efcb0af63ffb5c9d5825e3916e85e..7f692685eeec2b9535903c21a3e81199a23574e0 100644
|
| --- a/appengine/swarming/ui/res/imp/taskpage/task-page.html
|
| +++ b/appengine/swarming/ui/res/imp/taskpage/task-page.html
|
| @@ -124,7 +124,8 @@
|
| busy="{{_busy}}"
|
| request="{{_request}}"
|
| result="{{_result}}"
|
| - stdout="{{_stdout}}">
|
| + stdout="{{_stdout}}"
|
| + task_exists="{{_task_exists}}">
|
| </task-page-data>
|
|
|
| <div class="horizontal layout wrap">
|
| @@ -139,7 +140,8 @@
|
| <button on-click="_promptCancel">Cancel</button>
|
| </template>
|
| </div>
|
| - <table>
|
| + <h2 hidden$="[[_task_exists]]">Task not found.</h2>
|
| + <table hidden$="[[_not(_task_exists)]]">
|
| <tr>
|
| <td>Name</td>
|
| <td>[[_request.name]]</td>
|
| @@ -345,9 +347,9 @@
|
| </template>
|
| </table>
|
|
|
| - <div class="title">Task Execution</div>
|
| + <div class="title" hidden$="[[_not(_task_exists)]]">Task Execution</div>
|
| <template is="dom-if" if="[[_wasPickedUp(_result)]]">
|
| - <table>
|
| + <table hidden$="[[_not(_task_exists)]]">
|
| <tr>
|
| <td>Bot assigned to task</td>
|
| <td><a href$="[[_botLink(_result.bot_id)]]">[[_result.bot_id]]</td>
|
| @@ -425,7 +427,7 @@
|
| </template>
|
| </div>
|
|
|
| - <div class="flex right">
|
| + <div class="flex right" hidden$="[[_not(_task_exists)]]">
|
| <div class="horizontal layout">
|
| <div class="tabs">
|
| <paper-tabs selected="{{_show_raw}}" no-bar>
|
|
|