From ebc373eb5dff4cbe7760dbea31911d00a17b0950 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Tue, 14 Nov 2023 23:12:05 +0100 Subject: [PATCH] Minor changes to the UI --- events/templates/events/event_detail.html | 9 ++++++--- theme/static/css/dist/styles.css | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/events/templates/events/event_detail.html b/events/templates/events/event_detail.html index e361086..71591e4 100644 --- a/events/templates/events/event_detail.html +++ b/events/templates/events/event_detail.html @@ -4,8 +4,8 @@
{% for exception in exceptions %}

{{ exception.type }}

-
{{ exception.value }}
-
{{ parsed_data.request.method }} {{ parsed_data.request.url }}

+
{{ exception.value }}
+ {% if parsed_data.request %}
{{ parsed_data.request.method }} {{ parsed_data.request.url }}
{% endif %} {% for frame in exception.stacktrace.frames %} @@ -41,7 +41,10 @@ {% endfor %} - {% if not forloop.last %}While handling the above exception, yad yad
{% endif %} + {% if not forloop.last %} +
During handling of the above exception, another exception occurred:
+ {# note: the above is specific to Python. In Python there's also "The above exception was the direct cause of the following exception:" (raise ... from) but we cannot distinguish those at this level because the info is lost #} + {% endif %} {% endfor %} diff --git a/theme/static/css/dist/styles.css b/theme/static/css/dist/styles.css index 4dee1e7..029311a 100644 --- a/theme/static/css/dist/styles.css +++ b/theme/static/css/dist/styles.css @@ -1036,6 +1036,11 @@ select { line-height: 1.25rem; } +.text-xl { + font-size: 1.25rem; + line-height: 1.75rem; +} + .font-bold { font-weight: 700; }