| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2017 The LUCI Authors. All rights reserved. | 2 Copyright 2017 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 | 6 |
| 7 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> | 7 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> |
| 8 <link rel="import" href="../../bower_components/paper-button/paper-button.html"> | 8 <link rel="import" href="../../bower_components/paper-button/paper-button.html"> |
| 9 <link rel="import" href="../../bower_components/paper-card/paper-card.html"> | 9 <link rel="import" href="../../bower_components/paper-card/paper-card.html"> |
| 10 <link rel="import" href="../../bower_components/polymer/polymer.html"> | 10 <link rel="import" href="../../bower_components/polymer/polymer.html"> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 <paper-tooltip for="successful-import" offset="0"> | 69 <paper-tooltip for="successful-import" offset="0"> |
| 70 Last import succeeded. | 70 Last import succeeded. |
| 71 </paper-tooltip> | 71 </paper-tooltip> |
| 72 </template> | 72 </template> |
| 73 <template is="dom-if" if="[[_not(lastImportAttempt.success)]]" res
tamp="true"> | 73 <template is="dom-if" if="[[_not(lastImportAttempt.success)]]" res
tamp="true"> |
| 74 <iron-icon id="failed-import" | 74 <iron-icon id="failed-import" |
| 75 icon="icons:warning" | 75 icon="icons:warning" |
| 76 class="paper-red"> | 76 class="paper-red"> |
| 77 </iron-icon> | 77 </iron-icon> |
| 78 <paper-tooltip for="failed-import" offset="0"> | 78 <paper-tooltip for="failed-import" offset="0"> |
| 79 Last import failed. | 79 Last import failed. Click for more info. |
| 80 </paper-tooltip> | 80 </paper-tooltip> |
| 81 </template> | 81 </template> |
| 82 </template> | 82 </template> |
| 83 <template is="dom-if" if="[[_not(lastImportAttempt)]]" restamp="true
"> | 83 <template is="dom-if" if="[[_not(lastImportAttempt)]]" restamp="true
"> |
| 84 <iron-icon id="no-import" | 84 <iron-icon id="no-import" |
| 85 icon="icons:help" | 85 icon="icons:help" |
| 86 class="paper-grey"> | 86 class="paper-grey"> |
| 87 </iron-icon> | 87 </iron-icon> |
| 88 <paper-tooltip for="no-import" offset="0"> | 88 <paper-tooltip for="no-import" offset="0"> |
| 89 Last import attempt info not available. | 89 Last import attempt info not available. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 116 window.open(this.link); | 116 window.open(this.link); |
| 117 }, | 117 }, |
| 118 | 118 |
| 119 _openConfigPage: function() { | 119 _openConfigPage: function() { |
| 120 window.location.href = window.location.href + this.name; | 120 window.location.href = window.location.href + this.name; |
| 121 }, | 121 }, |
| 122 }); | 122 }); |
| 123 </script> | 123 </script> |
| 124 </dom-module> | 124 </dom-module> |
| 125 | 125 |
| OLD | NEW |