From 86e2be8924ed74d0608c0df633a46051279fceda Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 22 Jan 2025 13:08:24 +0100 Subject: [PATCH] Also highlight errors and warned-about Bookings in "raw" view. --- templates/_macros.tmpl | 4 ++-- templates/raw.tmpl | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/_macros.tmpl b/templates/_macros.tmpl index 2989bd6..cabb83c 100644 --- a/templates/_macros.tmpl +++ b/templates/_macros.tmpl @@ -22,9 +22,9 @@ td.curr { text-align: center; } {% endif %} {% if raw %} {% if dat_line.is_intro %} - {{dat_line.raw_nbsp}} + {{dat_line.raw_nbsp}} {% else %} - {{dat_line.raw_nbsp}} + {{dat_line.raw_nbsp}} {% endif %} {% else %} {% if dat_line.is_intro %} diff --git a/templates/raw.tmpl b/templates/raw.tmpl index 6851d93..fd3c0b4 100644 --- a/templates/raw.tmpl +++ b/templates/raw.tmpl @@ -2,6 +2,8 @@ {% block css %} table { font-family: monospace; } +tr.warning td { background-color: #ff8888; } +td.invalid, tr.warning td.invalid { background-color: #ff0000; } {% endblock %} {% block content %} -- 2.30.2