From: Christian Heller Date: Wed, 22 Jan 2025 12:08:24 +0000 (+0100) Subject: Also highlight errors and warned-about Bookings in "raw" view. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/templates?a=commitdiff_plain;h=86e2be8924ed74d0608c0df633a46051279fceda;p=plomledger Also highlight errors and warned-about Bookings in "raw" view. --- 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 %}