summaryrefslogtreecommitdiff
path: root/web/static
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-12 16:15:20 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:16 -0300
commit973100a138daea5087f43db656b8688b24d9da88 (patch)
treeef0297bd09c66a3dc72872b338b5fba5e4cb3b37 /web/static
parent48281b473571d93d5a35d2250213902d1411de40 (diff)
downloadcloud9-973100a138daea5087f43db656b8688b24d9da88.tar.gz
cloud9-973100a138daea5087f43db656b8688b24d9da88.zip
9web: correct application branding
Use 9web in the shared header, footer and dynamic page titles. Retain internal URLs for compatibility. Add browser assertions and document the unresolved catalogue/upstream composition limitation. Verified ReleaseSafe build and catalog-ui-test; deployed to the user service.
Diffstat (limited to 'web/static')
-rw-r--r--web/static/app.mjs4
-rw-r--r--web/static/index.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/web/static/app.mjs b/web/static/app.mjs
index b31177a..f18a103 100644
--- a/web/static/app.mjs
+++ b/web/static/app.mjs
@@ -32,7 +32,7 @@ function showView(view) {
if (view === name) link.setAttribute('aria-current', 'page'); else link.removeAttribute('aria-current');
link.href = viewURL(name);
}
- document.title = `${view === 'files' ? currentPath : view} — cloud9`;
+ document.title = `${view === 'files' ? currentPath : view} — 9web`;
catalog.show(view);
}
@@ -142,7 +142,7 @@ async function navigate(path, historyMode = 'push') {
$('path').value = path;
const url = pathURL(path);
if (historyMode === 'push' && location.pathname + location.search + location.hash !== url) history.pushState(null, '', url);
- document.title = `${path} — cloud9`;
+ document.title = `${path} — 9web`;
breadcrumbs(path);
$('directory').hidden = !result.stat.directory;
$('file').hidden = result.stat.directory;
diff --git a/web/static/index.html b/web/static/index.html
index 8e2b5cc..4ed498d 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -3,13 +3,13 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
- <title>cloud9 — files</title>
+ <title>9web — files</title>
<link rel="stylesheet" href="/_cloud9/style.css">
<script type="module" src="/_cloud9/app.mjs"></script>
</head>
<body>
<header>
- <a class="brand" href="/" data-path="/">cloud9</a>
+ <a class="brand" href="/" data-path="/">9web</a>
<div class="description">A web interface to your file server.</div>
</header>
<nav class="toolbar" id="views" aria-label="Views">
@@ -106,6 +106,6 @@
</table></div>
</details>
</main>
- <footer>served by cloud9</footer>
+ <footer>served by 9web</footer>
</body>
</html>