diff --git a/package.json b/package.json index ba55be4..71e56c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "site-gateway", - "version": "0.11.101", + "version": "0.11.102", "private": true, "description": "Site Gateway: simple self-hosted website publishing, reverse proxying, and automatic HTTPS.", "type": "module", diff --git a/src/public/app.js b/src/public/app.js index 0162bd2..7a90ab7 100644 --- a/src/public/app.js +++ b/src/public/app.js @@ -371,6 +371,7 @@ function render() { const items = state.view === "hosted" ? state.sites : state.proxies; $("#site-grid").innerHTML = items.map(state.view === "hosted" ? hostedCard : proxyCard).join(""); $("#empty").classList.toggle("hidden", !state.loaded || items.length > 0); + $("#empty .empty-icon").textContent = state.view === "hosted" ? "↗" : "⇌"; $("#empty h2").textContent = state.view === "hosted" ? "Publish your first site" : "Create your first proxy host"; $("#empty p").textContent = state.view === "hosted" ? "Upload a ZIP and optionally connect a domain with automatic HTTPS." : "Connect a domain to another container, application, or LAN service."; $("#page-title").textContent = state.view === "hosted" ? "Hosted sites" : "Proxy hosts"; diff --git a/src/public/index.html b/src/public/index.html index c1f4e73..6fd9653 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -370,6 +370,6 @@
- +