feat: fix YouTask peer enable + add Made by Galyaviev signature

- peer_enable: make PSK optional, only pass --client-preshared-key if non-empty
- peer_enable: strip /32 suffix from client_address before passing to wg-peerctl
- All pages: add "Made by Galyaviev" in Dancing Script handwritten font
- login.html: styled login page with signature below card
- base.html: signature in sidebar footer
- style.css: .made-by Dancing Script style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 10:48:55 +03:00
parent 2391007a81
commit e96078bc46
4 changed files with 29 additions and 5 deletions
+11
View File
@@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>WG Admin — Вход</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" />
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@@ -153,6 +154,15 @@
color: var(--text-muted);
margin-top: 16px;
}
.made-by-login {
text-align: center;
font-family: 'Dancing Script', cursive;
font-size: 17px;
color: #9ca3af;
margin-top: 20px;
letter-spacing: 0.02em;
}
</style>
</head>
<body>
@@ -196,5 +206,6 @@
<div class="divider"></div>
<p class="footer">wg.4mont.ru &nbsp;·&nbsp; WireGuard Admin Panel</p>
</div>
<p class="made-by-login">Made by Galyaviev</p>
</body>
</html>