This commit is contained in:
2026-06-22 15:10:22 +08:00
parent 8e5d56ab1d
commit 0e30ed0b36
16 changed files with 911 additions and 1017 deletions

View File

@@ -20,9 +20,12 @@ func HomePage(w http.ResponseWriter, r *http.Request) {
}
body := `
<header class="tool-header">
<h2 class="tool-title">HPL Toolbox</h2>
<p class="tool-description">Standalone build. Pick a tool to open.</p>
<header class="tool-header" style="display:flex;align-items:flex-start;justify-content:space-between;gap:8px;">
<div>
<h2 class="tool-title">HPL Toolbox</h2>
<p class="tool-description">Standalone build. Pick a tool to open.</p>
</div>
<button type="button" onclick="openSettingsModal()" title="Settings" aria-label="Settings" style="flex-shrink:0;width:32px;height:32px;padding:0;display:grid;place-items:center;font-size:18px;background:#3a3d41;color:#ddd;border:1px solid #444;border-radius:4px;cursor:pointer;">&#9881;</button>
</header>
<div class="home-tools">
` + items.String() + `