From 4605b51236798b5facfc445b63786ac7270b51b5 Mon Sep 17 00:00:00 2001
From: thrhymes
Date: Wed, 24 Dec 2025 23:07:56 +0100
Subject: [PATCH] the greatest
---
zuss/app.js | 7 ++-
zuss/index.html | 134 +++---------------------------------------
zuss/style.css | 144 ++++++++++++++++++++++++++++++++++++++++++++++
zuss/sw.js | 5 +-
zuss/version.json | 2 +-
5 files changed, 160 insertions(+), 132 deletions(-)
create mode 100644 zuss/style.css
diff --git a/zuss/app.js b/zuss/app.js
index f410d0b..13c29cf 100644
--- a/zuss/app.js
+++ b/zuss/app.js
@@ -4,7 +4,7 @@
* - Install/Update Overlay mit beforeinstallprompt.prompt()
*/
-const APP_VERSION = "2025.12.24.12";
+const APP_VERSION = "2025.12.24.19";
const TOKEN = "T9e7WESBXxy6rSD";
const BASE = "https://home.x-s.at";
const SHARE_DAV = `${BASE}/public.php/dav/files/${TOKEN}`;
@@ -247,10 +247,12 @@ function renderList(items, currentDir) {
if (pdfs.length === 0) {
setStatus("Keine PDFs gefunden.");
+ const cnt = $("titleCount"); if (cnt) cnt.textContent = "(0)";
return;
}
- setStatus(`PDFs: ${pdfs.length}`);
+ setStatus("");
+ const cnt = $("titleCount"); if (cnt) cnt.textContent = `(${pdfs.length})`;
for (const it of pdfs) {
const a = document.createElement("a");
@@ -308,6 +310,7 @@ async function loadList() {
} catch (e) {
console.error(e);
setStatus("Fehler");
+ const cnt = $("titleCount"); if (cnt) cnt.textContent = "";
showError(String(e && e.message ? e.message : e));
}
}
diff --git a/zuss/index.html b/zuss/index.html
index 26e6719..6f81ed8 100644
--- a/zuss/index.html
+++ b/zuss/index.html
@@ -11,139 +11,19 @@
+
WFW-Aushang
-
- WFW-Aushang
+
Lade Listeā¦
@@ -169,6 +49,6 @@
-
+
|