| OLD | NEW |
| 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 <swarming-app> | 9 <swarming-app> |
| 10 | 10 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 }, | 106 }, |
| 107 auth_headers: { | 107 auth_headers: { |
| 108 type: Object, | 108 type: Object, |
| 109 notify: true, | 109 notify: true, |
| 110 }, | 110 }, |
| 111 signed_in: { | 111 signed_in: { |
| 112 type: Boolean, | 112 type: Boolean, |
| 113 value: false, | 113 value: false, |
| 114 notify:true, | 114 notify:true, |
| 115 }, | 115 }, |
| 116 permissions: { |
| 117 type: Object, |
| 118 value: function() { |
| 119 // TODO(kjlubick): Make this call the whoami endpoint after signing
in. |
| 120 return { |
| 121 can_cancel_task: true, |
| 122 } |
| 123 }, |
| 124 notify: true, |
| 125 }, |
| 116 | 126 |
| 117 busy: { | 127 busy: { |
| 118 type: Boolean, | 128 type: Boolean, |
| 119 }, | 129 }, |
| 120 name: { | 130 name: { |
| 121 type: String, | 131 type: String, |
| 122 }, | 132 }, |
| 123 }, | 133 }, |
| 124 | 134 |
| 125 }); | 135 }); |
| 126 </script> | 136 </script> |
| 127 </dom-module> | 137 </dom-module> |
| 128 | 138 |
| 129 <dom-module id="swarming-app-style"> | 139 <dom-module id="swarming-app-style"> |
| 130 <style> | 140 <style> |
| 131 * { | 141 * { |
| 132 font-family: sans-serif; | 142 font-family: sans-serif; |
| 133 } | 143 } |
| 134 /* Only style anchor tags that are actually linking somewhere.*/ | 144 /* Only style anchor tags that are actually linking somewhere.*/ |
| 135 a[href] { | 145 a[href] { |
| 136 color: #1F78B4; | 146 color: #1F78B4; |
| 137 } | 147 } |
| 138 </style> | 148 </style> |
| 139 </dom-module> | 149 </dom-module> |
| OLD | NEW |