[web] Design re-check: the engine chip closes its popover, Show details on every pause, popover grammar, share links off while Caddy serves, renewal copy
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Dialog title={e?.state === "stopped" ? `${name} is not answering` : `Serving with ${name}`} kind="popover" modal={false} escape={!switching} {onclose}>
|
||||
<Dialog title={e?.state === "stopped" ? `${name} is not answering` : `Serving with ${name}`} kind="popover" modal={false} escape={!switching} toggle="[data-engine-chip]" {onclose}>
|
||||
<p class="ia-label">Engine</p>
|
||||
{#if e?.state === "stopped"}
|
||||
<p>Visitors may not reach any host. Switching to {other} is the quickest way back.</p>
|
||||
@@ -80,7 +80,7 @@
|
||||
<p class="ia-text2">
|
||||
{#if e?.since}Since {whenInline(e.since, app.now)}. {/if}
|
||||
{#if running === "pingora"}
|
||||
{#if notReady}Caddy is not ready: its settings have not been built yet.{:else if differs > 0}Caddy is built with the same routes {whenInline(fr?.built_at, app.now)}, but {differs} of {fr?.compared} hosts behave differently on it.{:else}Caddy is ready with the same routes: built {whenInline(fr?.built_at, app.now)}{fr?.compared ? `, and all ${fr.compared} hosts behave the same` : ""}.{/if}
|
||||
{#if notReady}Caddy is not ready: its settings have not been built yet.{:else if differs > 0}Caddy was built {whenInline(fr?.built_at, app.now)} with the same routes, but {differs} of {fr?.compared} {fr?.compared === 1 ? "host" : "hosts"} {differs === 1 ? "behaves" : "behave"} differently on it.{:else}Caddy is ready with the same routes: built {whenInline(fr?.built_at, app.now)}{fr?.compared ? (fr.compared === 1 ? ", and the host behaves the same" : `, and all ${fr.compared} hosts behave the same`) : ""}.{/if}
|
||||
{#if !notReady && !fr?.current} It is rebuilt from the current routes when you switch.{/if}
|
||||
{:else}Pingora is ready with the same routes.{/if}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user