This commit is contained in:
2025-12-07 01:31:59 +01:00
parent 0905306913
commit 98298e2b23
3 changed files with 1 additions and 192 deletions

View File

@@ -49,17 +49,6 @@ $assetVersion = defined('ASSET_VERSION') ? ASSET_VERSION : time();
</nav>
<div class="ms-auto flex gap-2">
<button id="btn-new" type="button" class="btn">Neu …</button>
<!-- Tools: werden von ui-tools.js abgefangen und im Popup gezeigt -->
<a href="api.php?action=health"
class="btn btn-light"
data-popup="json"
data-title="API Health">API-Health</a>
<a href="tools/db-doctor.php?profile=template"
class="btn btn-light"
data-popup="frame"
data-title="DB-Doctor">DB-Doctor</a>
</div>
</div>
</header>
@@ -141,30 +130,9 @@ $assetVersion = defined('ASSET_VERSION') ? ASSET_VERSION : time();
</form>
</dialog>
<!-- Tools Dialog (NEU) -->
<dialog id="toolsDialog" class="rounded-2xl p-0 w-[92vw] h-[86vh]">
<div class="flex flex-col h-full">
<div class="px-4 py-2 border-b bg-white/80 backdrop-blur flex items-center gap-3">
<strong id="toolsTitle" class="me-auto">Werkzeug</strong>
<button id="toolsCopy" type="button" class="btn hidden">Kopieren</button>
<button id="toolsDownload" type="button" class="btn hidden">Download</button>
<button id="toolsClose" type="button" class="btn">Schließen</button>
</div>
<!-- JSON Ansicht -->
<div id="toolsJsonWrap" class="flex-1 overflow-auto hidden bg-slate-50">
<pre id="toolsJsonPre" class="p-4 text-sm leading-5 font-mono text-slate-800"></pre>
</div>
<!-- Iframe Ansicht -->
<iframe id="toolsFrame" class="flex-1 w-full hidden bg-white"></iframe>
</div>
</dialog>
<div id="toast-root"></div>
<script src="assets/js/toast.js?v=<?= htmlspecialchars($assetVersion, ENT_QUOTES) ?>"></script>
<script type="module" src="assets/js/app.js?v=<?= htmlspecialchars($assetVersion, ENT_QUOTES) ?>"></script>
<script type="module" src="assets/js/ui-tools.js?v=<?= htmlspecialchars($assetVersion, ENT_QUOTES) ?>"></script>
</body>
</html>