[web] Decisions applied: openssl signing by hand with the .ext file, Sign out link, renew soon 30 days before a device certificate ends
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
<Icon name={kindIcon(d.kind)} />
|
||||
<span class="dname">{d.name}</span>
|
||||
<span class="ia-muted">until {shortDate(d.not_after)}</span>
|
||||
{#if d.state === "revoked"}<Status kind="unknown" word="revoked {d.revoked_at ? shortDate(d.revoked_at) : ''}" />{:else if d.state === "expired"}<Status kind="down" word="expired" />{/if}
|
||||
{#if d.state === "revoked"}<Status kind="unknown" word="revoked {d.revoked_at ? shortDate(d.revoked_at) : ''}" />{:else if d.state === "expired"}<Status kind="down" word="expired" />{:else if Date.parse(d.not_after) - app.now < 30 * 86_400_000}<Status kind="degraded" word="renew soon" />{/if}
|
||||
{#if confirmRevoke === d.id}
|
||||
<span class="confirm">Revoke the certificate of "{d.name}"? It can no longer get in.
|
||||
<Button small onclick={() => (confirmRevoke = null)} data-autofocus>Cancel</Button>
|
||||
|
||||
Reference in New Issue
Block a user