| 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="config-file-card.html"> | 7 <link rel="import" href="config-file-card.html"> |
| 8 <link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html"> | 8 <link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html"> |
| 9 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> | 9 <link rel="import" href="../../bower_components/iron-icons/iron-icons.html"> |
| 10 <link rel="import" href="../../bower_components/paper-item/paper-item.html"> | 10 <link rel="import" href="../../bower_components/paper-item/paper-item.html"> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 .title { | 52 .title { |
| 53 padding-bottom: 1%; | 53 padding-bottom: 1%; |
| 54 padding-top: 5%; | 54 padding-top: 5%; |
| 55 } | 55 } |
| 56 | 56 |
| 57 .paper-green { color: var(--paper-green-600); } | 57 .paper-green { color: var(--paper-green-600); } |
| 58 | 58 |
| 59 .paper-red { color: var(--paper-red-600); } | 59 .paper-red { color: var(--paper-red-600); } |
| 60 | 60 |
| 61 .paper-grey { color: var(--paper-grey-600); } | 61 .paper-grey { color: var(--paper-grey-600); } |
| 62 | |
| 63 </style> | 62 </style> |
| 64 | 63 |
| 65 <iron-ajax | 64 <iron-ajax |
| 66 auto | 65 auto |
| 67 id="requestConfigs" | 66 id="requestConfigs" |
| 68 url="/_ah/api/config/v1/config-sets?config_set=[[category]]/[[name]][[ro
ute.path]]&include_files=true&include_last_import_attempt=true" | 67 url="/_ah/api/config/v1/config-sets?config_set=[[category]]/[[name]][[ro
ute.path]]&include_files=true&include_last_import_attempt=true" |
| 69 handle-as="json" | 68 handle-as="json" |
| 70 on-response="_onGotConfigFiles" | 69 on-response="_onGotConfigFiles" |
| 71 headers="[[auth_headers]]"> | 70 headers="[[auth_headers]]"> |
| 72 </iron-ajax> | 71 </iron-ajax> |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 }, | 246 }, |
| 248 | 247 |
| 249 _onRefreshError: function() { | 248 _onRefreshError: function() { |
| 250 this.isRefreshing = false; | 249 this.isRefreshing = false; |
| 251 this.refreshMessage = "Error: Files could not be refreshed."; | 250 this.refreshMessage = "Error: Files could not be refreshed."; |
| 252 this.fire('refreshError'); | 251 this.fire('refreshError'); |
| 253 } | 252 } |
| 254 }); | 253 }); |
| 255 </script> | 254 </script> |
| 256 </dom-module> | 255 </dom-module> |
| OLD | NEW |