From 7f26d2a20011a5dbae597ccb5b73004959609297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=91=D0=BE=D0=B1?= =?UTF-8?q?=D1=8B=D1=80=D0=B5=D0=B2?= Date: Fri, 15 May 2026 05:52:21 +0300 Subject: [PATCH] feat: sticky donate strip on all pages + unified README block MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - templates/index.html: proj-support-strip replaces inline header links - templates/setup.html: same strip (already added) - static/styles.css: .proj-support-strip styles - README.md: blockquote + "Поддержка проекта" section - .github/FUNDING.yml: added Co-authored-by: Cursor --- .github/FUNDING.yml | 6 ++++++ README.md | 11 +++++++++++ static/styles.css | 42 ++++++++++++++++++++++++++++++++++++++++++ templates/index.html | 25 +++++++++++++------------ templates/setup.html | 12 ++++++++++++ 5 files changed, 84 insertions(+), 12 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ce5ddac --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,6 @@ +github: andrey271192 + +custom: + - https://boosty.to/andrey27/donate + - https://finance.ozon.ru/apps/sbp/ozonbankpay/019dc200-2a5d-7931-a619-782d285f6798 + - https://t.me/lot_andrey diff --git a/README.md b/README.md index 5fc89cd..84763e2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,16 @@ # kaskad_web_vpn — каскад NAT под ключ +> Где поддержать: [Boosty (донат)](https://boosty.to/andrey27/donate) · [Ozon СБП](https://finance.ozon.ru/apps/sbp/ozonbankpay/019dc200-2a5d-7931-a619-782d285f6798) · [Telegram @lot_andrey](https://t.me/lot_andrey) · [**GitHub** ↗](https://github.com/andrey271192/kaskad_web_vpn) + +## Поддержка проекта + +--- + +- ⭐ **GitHub:** [andrey271192/kaskad_web_vpn](https://github.com/andrey271192/kaskad_web_vpn) +- 💖 **Boosty:** [boosty.to/andrey27/donate](https://boosty.to/andrey27/donate) +- 💳 **Ozon Bank (СБП):** [ссылка](https://finance.ozon.ru/apps/sbp/ozonbankpay/019dc200-2a5d-7931-a619-782d285f6798) +- ✉️ **Telegram:** [@lot_andrey](https://t.me/lot_andrey) + Веб-панель на **Flask** с **HTTP Basic Auth**: **каскад** (DNAT UDP/TCP с российского VPS на зарубежный узел AmneziaWG / WireGuard / TCP), блок **Система**, **Сервисы**, таблица правил и вывод **iptables**. Установка одной командой с **вашего** репозитория GitHub. Репозиторий: [github.com/andrey271192/kaskad_web_vpn](https://github.com/andrey271192/kaskad_web_vpn) diff --git a/static/styles.css b/static/styles.css index e7ee22b..ffba3d6 100644 --- a/static/styles.css +++ b/static/styles.css @@ -284,6 +284,48 @@ a { margin-top: 0.35rem; } +.proj-support-strip { + position: sticky; + top: 0; + z-index: 100; + border-bottom: 1px solid rgba(125, 211, 252, 0.22); + background: rgba(7, 11, 16, 0.94); + backdrop-filter: blur(8px); +} + +.proj-support-inner { + max-width: min(1180px, 100%); + margin: 0 auto; + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + gap: 0.35rem 0.65rem; + padding: 0.4rem clamp(1rem, 3vw, 1.25rem); + font-size: 0.82rem; + color: var(--muted); +} + +.proj-support-inner a { + color: var(--accent); + font-weight: 650; + white-space: nowrap; +} + +.proj-support-lead { + margin-right: 0.25rem; + opacity: 0.95; +} + +.proj-support-dot { + opacity: 0.4; + user-select: none; +} + +.kaskad-support-top + .shell { + padding-top: 0.75rem; +} + .site-header { border: 1px solid var(--line); border-radius: 14px; diff --git a/templates/index.html b/templates/index.html index a9500fb..a9b7cef 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,6 +11,18 @@ +

{{ ui_title }}

@@ -18,21 +30,10 @@
diff --git a/templates/setup.html b/templates/setup.html index 0b88c7d..e05ccf8 100644 --- a/templates/setup.html +++ b/templates/setup.html @@ -11,6 +11,18 @@ +

Первый вход