From 675020a22a93503fa531a3d43eef7dae25488ea7 Mon Sep 17 00:00:00 2001 From: JollyDevelopment Date: Mon, 13 Jan 2025 15:50:22 -0500 Subject: [PATCH] adding divs around the activities table so it wont over flow the page --- app/templates/admin/activities.html | 66 +++++++++++++++-------------- 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/app/templates/admin/activities.html b/app/templates/admin/activities.html index ff422ba1..2eadb13b 100644 --- a/app/templates/admin/activities.html +++ b/app/templates/admin/activities.html @@ -22,40 +22,42 @@ Both | In | Out - - - - - - - - - - - {% for activity in activities.items %} +
+
WhenDirectionIDTypeResultMessageJSON
- - - - - {% if activity.result == 'success' %} - - {% elif activity.result == 'ignored' %} - - {% else %} - - {% endif %} - - + + + + + + + - {% endfor %} -
{{ arrow.get(activity.created_at).humanize(locale=locale) }}{{ activity.direction }}{{ activity.activity_id }}{{ activity.activity_type if activity.activity_type else '' }}{{ activity.result }}{{ activity.result }}{{ activity.result }}{{ activity.exception_message if activity.exception_message else '' }} - {% if activity.activity_json is none %} - None - {% else %} - View - {% endif %} - WhenDirectionIDTypeResultMessageJSON
+ {% for activity in activities.items %} + + {{ arrow.get(activity.created_at).humanize(locale=locale) }} + {{ activity.direction }} + {{ activity.activity_id }} + {{ activity.activity_type if activity.activity_type else '' }} + {% if activity.result == 'success' %} + {{ activity.result }} + {% elif activity.result == 'ignored' %} + {{ activity.result }} + {% else %} + {{ activity.result }} + {% endif %} + {{ activity.exception_message if activity.exception_message else '' }} + + {% if activity.activity_json is none %} + None + {% else %} + View + {% endif %} + + + {% endfor %} + +