mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 21:37:21 +00:00
Show message when cert not ready
This commit is contained in:
parent
a626961ae5
commit
cd466df42c
@ -47,6 +47,16 @@ export class CloudRemotePref extends LitElement {
|
||||
remote_certificate,
|
||||
} = this.cloudStatus;
|
||||
|
||||
if (!remote_certificate) {
|
||||
return html`
|
||||
<paper-card heading="Remote Control">
|
||||
<div class="preparing">
|
||||
Remote access is being prepared. We will notify you when it's ready.
|
||||
</div>
|
||||
</paper-card>
|
||||
`;
|
||||
}
|
||||
|
||||
return html`
|
||||
<paper-card heading="Remote Control">
|
||||
<paper-toggle-button
|
||||
@ -111,6 +121,12 @@ export class CloudRemotePref extends LitElement {
|
||||
|
||||
static get styles(): CSSResult {
|
||||
return css`
|
||||
paper-card {
|
||||
display: block;
|
||||
}
|
||||
.preparing {
|
||||
padding: 0 16px 16px;
|
||||
}
|
||||
.data-row {
|
||||
display: flex;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user