MCPcopy Create free account
hub / github.com/Hello-Application-XH/HelloGML / getAdminPanelHTML

Function getAdminPanelHTML

src/admin-panel.ts:2–893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1// @ts-nocheck
2export function getAdminPanelHTML(): string {
3 return `<!DOCTYPE html>
4<html lang="zh-CN">
5<head>
6<meta charset="UTF-8">
7<meta name="viewport" content="width=device-width, initial-scale=1.0">
8<title>GLM-Free-API 管理面板</title>
9<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Noto+Serif+SC:wght@400;600;700&display=swap" rel="stylesheet">
10<style>
11 :root {
12 --parchment: #f3ead6;
13 --parchment-light: #faf5eb;
14 --parchment-dark: #e8dcc4;
15 --ink: #3d2b1f;
16 --ink-light: #6b5344;
17 --ink-faint: #9c8b7a;
18 --gold: #c9a96e;
19 --gold-light: #dcc092;
20 --gold-dark: #a0824a;
21 --sepia: #8b6914;
22 --crimson: #8b3a3a;
23 --green: #5a7d4a;
24 --border: #d4c5a9;
25 --shadow: rgba(61, 43, 31, 0.12);
26 }
27
28 * { margin: 0; padding: 0; box-sizing: border-box; }
29
30 body {
31 font-family: 'Noto Serif SC', Georgia, serif;
32 background-color: var(--parchment);
33 color: var(--ink);
34 min-height: 100vh;
35 line-height: 1.7;
36 background-image:
37 url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
38 }
39
40 .container { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }
41
42 /* Header */
43 .header {
44 text-align: center;
45 padding: 3rem 1rem 2rem;
46 position: relative;
47 }
48 .header::before, .header::after {
49 content: '';
50 display: block;
51 height: 1px;
52 background: linear-gradient(90deg, transparent, var(--gold), transparent);
53 margin: 1.2rem auto;
54 max-width: 320px;
55 }
56 .header h1 {
57 font-family: 'Cinzel', 'Noto Serif SC', serif;
58 font-size: 1.9rem;
59 font-weight: 600;
60 color: var(--ink);

Callers 1

fetchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected