Files
telegram-scraper/webui/swagger.html
T
forust ef62b8e94a style(webui): unify UI across all pages to solid modern system
tokens instead of hardcoded, v9 everywhere, dialog guarded, confirm->dialog, empty unified, health out of nav, swagger icons/topbar, gutters, th uppercase, content 1280 centered.
2026-09-08 12:30:50 +02:00

85 lines
2.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Telegram Scraper API</title>
<link rel="stylesheet" href="/static/style.css?v=9" />
</head>
<body>
<div class="viewer-shell">
<aside class="viewer-sidebar">
<div class="viewer-sidebar-head">
<div>
<div class="eyebrow">OpenAPI</div>
<h1>API Docs</h1>
</div>
<a class="button button-small" href="/">Dashboard</a>
</div>
<nav class="nav-links">
<a class="nav-link" href="/"
><svg class="nav-icon" viewBox="0 0 24 24" aria-hidden="true">
<rect x="4" y="4" width="6" height="6" />
<rect x="14" y="4" width="6" height="6" />
<rect x="4" y="14" width="6" height="6" />
<rect x="14" y="14" width="6" height="6" /></svg
>Dashboard</a
>
<a class="nav-link" href="/settings"
><svg class="nav-icon" viewBox="0 0 24 24" aria-hidden="true">
<circle cx="12" cy="12" r="3" />
<path
d="M12 2v3m0 14v3M2 12h3m14 0h3m-2.9-7.1-2.1 2.1M4.9 19.1 7 17m0-10-2.1-2.1m12.2 14.2-2.1-2.1" /></svg
>Settings</a
>
<a class="nav-link" href="/viewer"
><svg class="nav-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v12H8l-4 3z" /></svg>Message
Viewer</a
>
<a class="nav-link active" href="/swagger"
><svg class="nav-icon" viewBox="0 0 24 24" aria-hidden="true">
<path d="m8 5-5 7 5 7m8-14 5 7-5 7M14 3l-4 18" /></svg
>API Docs</a
>
</nav>
</aside>
<main class="viewer-main">
<header class="viewer-header">
<div>
<div class="eyebrow">OpenAPI</div>
<h2>API Docs</h2>
<p class="muted">Local API surface exposed by the web UI server.</p>
</div>
<div class="viewer-tools">
<div class="runtime-status"><span class="runtime-dot"></span>Service: Running</div>
<a class="button button-small" href="/openapi.json">openapi.json</a>
</div>
</header>
<section id="api-docs" class="api-docs"></section>
</main>
</div>
<template id="api-section-template">
<section class="panel api-section">
<h2 class="api-path"></h2>
<div class="api-methods"></div>
</section>
</template>
<template id="api-method-template">
<article class="api-method">
<div class="api-method-head">
<span class="api-verb"></span>
<span class="api-summary"></span>
</div>
<p class="muted api-description"></p>
<pre class="job-logs api-body"></pre>
</article>
</template>
<script src="/static/swagger.js?v=9"></script>
</body>
</html>