Files
TMCandClaude Opus 5.5 60b4c79b0f
CI / build (push) Successful in 40s
Show internal URLs, list label problems, copy a label template
Tiles now show the public URL and, when set, the internal URL as a second
link. Label names ignore case and - versus _. Containers HODA can't fully
use are listed above the tiles with the reason: labels without enable,
a missing url, or an unknown label name with a suggestion (category ->
group). To find labels without enable, discovery reads all containers.

A "Copy labels" button copies every label as a commented template, and
falls back to the copy command where the clipboard API is missing (plain
http on the LAN).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:55:06 +01:00

32 lines
1.5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<title>{{.Title}}</title>
<link rel="icon" href="/static/favicon.svg?v={{.Version}}" type="image/svg+xml">
<link rel="stylesheet" href="/static/app.css?v={{.Version}}">
<script src="/static/app.js?v={{.Version}}" defer></script>
</head>
<body data-link-target="{{.LinkTarget}}" data-label-prefix="{{.LabelPrefix}}">
<header class="top">
<h1 class="title">{{.Title}}</h1>
<div class="actions">
<div class="search">
<input id="search" type="search" placeholder="Search apps" autocomplete="off" spellcheck="false" aria-label="Search apps">
<kbd aria-hidden="true">/</kbd>
</div>
<button id="copy-labels" class="button" type="button" title="Copy a template of every HODA label, ready to paste into a service">
<svg class="glyph" viewBox="0 0 16 16" aria-hidden="true"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5"/><path d="M10.5 5.5V4A1.5 1.5 0 0 0 9 2.5H4A1.5 1.5 0 0 0 2.5 4v5A1.5 1.5 0 0 0 4 10.5h1.5"/></svg>
<span class="button-text">Copy labels</span>
</button>
</div>
</header>
<div id="banners" class="banners" role="status" aria-live="polite"></div>
<div id="issues" class="issues-wrap"></div>
<main id="groups" class="groups" aria-busy="true"></main>
<noscript><p class="note">HODA needs JavaScript to list your apps.</p></noscript>
</body>
</html>