From 178b83d066ef243cd2e2d0f25d64473179c436d3 Mon Sep 17 00:00:00 2001 From: bernd Date: Thu, 1 Oct 2026 22:58:47 +0200 Subject: [PATCH] recorder.py aktualisiert --- recorder.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/recorder.py b/recorder.py index b03401d..edd4c46 100644 --- a/recorder.py +++ b/recorder.py @@ -65,6 +65,8 @@ PAGE_HEADING = os.environ.get("PAGE_HEADING", "EVENT AUDIO – Aufnahmen") THEME_FILE = Path(os.environ.get("THEME_FILE", "/config/theme.json")) LOGO_FILE = Path(os.environ["LOGO_FILE"]) if os.environ.get("LOGO_FILE") else None FAVICON_FILE = Path(os.environ["FAVICON_FILE"]) if os.environ.get("FAVICON_FILE") else None +GIT_REPO_URL = os.environ.get("GIT_REPO_URL", "") +EDITOR_URL = os.environ.get("EDITOR_URL", "") DEFAULT_THEME = {'background': '#111', 'surface': '#181818', 'surface_alt': '#222', 'surface_dark': '#0b0b0b', 'text': '#eee', 'text_secondary': '#ccc', 'text_muted': '#aaa', 'text_faint': '#777', 'border': '#333', 'border_subtle': '#2b2b2b', 'control': '#333', 'control_hover': '#444', 'primary': '#1769aa', 'primary_hover': '#1f7fc2', 'accent': '#ffcc33', 'success': '#173d24', 'success_text': '#b8f5c9', 'warning': '#6b4e00', 'danger': '#8b0000', 'danger_soft': '#4a2020', 'danger_soft_hover': '#6a2b2b', 'error': '#4a1b1b', 'error_text': '#ffd0d0', 'recording': '#b00000', 'recording_border': '#3a2222', 'selection': 'rgba(80,150,255,.16)', 'shadow': '#000', 'scroll_thumb': '#777', 'scroll_thumb_hover': '#999', 'scroll_thumb_active': '#aaa', 'live_surface': '#1d1111', 'table_header': '#252525', 'table_text': '#eee', 'footer': '#666', 'white': '#fff','surface_modal':'#202020','overlay':'rgba(0,0,0,.78)'} @@ -803,6 +805,11 @@ a.button:hover { color: var(--color-text-faint); } +.footer-links { display:flex; justify-content:center; align-items:center; gap:16px; margin-top:8px; } +.footer-links a { color:var(--color-footer); text-decoration:none; } +.footer-links a:hover { color:var(--color-text); text-decoration:underline; } +.git-icon { display:inline-block; margin-right:4px; font-size:16px; line-height:1; } + .footer { margin-top: 24px; color: var(--color-footer); @@ -1006,7 +1013,19 @@ a.button:hover {