From a1fc25e009cc11985825670b51da684ef8d1ba48 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Wed, 6 Aug 2025 21:18:13 +0200 Subject: [PATCH] Emergency fixups --- generate.py | 2 -- src/style.css | 9 +++++++++ templates/index.html.jinja | 8 ++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/generate.py b/generate.py index ed1c2fad5..2998dd2de 100644 --- a/generate.py +++ b/generate.py @@ -15,7 +15,6 @@ import build_status import contribute from completion import branches_from_devguide, get_completion, TranslatorsData -from counts import get_counts from repositories import Language, get_languages_and_repos generation_time = datetime.now(timezone.utc) @@ -101,7 +100,6 @@ class LanguageProjectData: Path('build').mkdir(parents=True, exist_ok=True) completion_progress = list(get_completion_progress()) - counts = get_counts(Path('clones', 'cpython', 'Doc', 'build', 'gettext')) env = Environment(loader=FileSystemLoader('templates')) index = env.get_template('index.html.jinja').render( diff --git a/src/style.css b/src/style.css index dc642e2f6..70899da4b 100644 --- a/src/style.css +++ b/src/style.css @@ -53,6 +53,15 @@ a:hover { flex: 1; } +.card-body p { + margin-bottom: 0; + margin-top: 0; +} + +.card-title { + margin-bottom: 0.4rem; +} + /* ------------------------------ Index ------------------------------------- */ .progress-bar-container { diff --git a/templates/index.html.jinja b/templates/index.html.jinja index 24c2840a1..7e3987c8f 100644 --- a/templates/index.html.jinja +++ b/templates/index.html.jinja @@ -7,10 +7,10 @@
-

{{ project.language.name }}

-
{{ project.translated_name }}
-

Completion: {{ '{:.2f}%'.format(project.completion) }}

-

30 days progress: {{ '{:.2f}%'.format(project.change) }}

+

{{ project.language.name }}

+
{{ project.translated_name }}
+

Completion: {{ '{:.2f}%'.format(project.completion) }}

+

30-day progress: {{ '{:.2f}%'.format(project.change) }}

{% if project.built %} View