From 8f438aca2ddf2769d4a8bae16bf590e116ace154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sun, 7 Sep 2025 22:31:31 +0200 Subject: [PATCH] Add ids to tags; use pygments to color JSON --- pyproject.toml | 1 + templates/accounts/login.html | 10 +- templates/accounts/profile.html | 22 +-- templates/accounts/signup.html | 16 +- templates/base.html | 50 ++++-- templates/twitch/campaign_detail.html | 176 +++++++++++++--------- templates/twitch/campaign_list.html | 41 +++-- templates/twitch/dashboard.html | 15 +- templates/twitch/debug.html | 46 +++--- templates/twitch/docs_rss.html | 8 +- templates/twitch/game_detail.html | 47 ++++-- templates/twitch/games_grid.html | 5 +- templates/twitch/games_list.html | 6 +- templates/twitch/org_list.html | 8 +- templates/twitch/organization_detail.html | 15 +- templates/twitch/search_results.html | 36 ++--- twitch/views.py | 72 +++++++-- uv.lock | 2 + 18 files changed, 365 insertions(+), 211 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b47864..ba8e44e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ dependencies = [ "platformdirs>=4.3.8", "python-dotenv>=1.1.1", "psycopg[binary]>=3.2.3", + "pygments>=2.19.2", ] [dependency-groups] diff --git a/templates/accounts/login.html b/templates/accounts/login.html index adace53..624e581 100644 --- a/templates/accounts/login.html +++ b/templates/accounts/login.html @@ -3,15 +3,15 @@ Login {% endblock title %} {% block content %} -

Login

+

Login

{% if form.errors %} -