From 7bde81c89a1fb9e5f93b872d8f9ca327d7dad1f5 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Mon, 18 Dec 2023 20:44:24 +1100 Subject: [PATCH] Make logs table more responsive (Still needs alot of work - probably need to make accordion) --- templates/dashboard/http_functions/logs.html | 34 ++++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/dashboard/http_functions/logs.html b/templates/dashboard/http_functions/logs.html index 78b4b8a..0d7375d 100644 --- a/templates/dashboard/http_functions/logs.html +++ b/templates/dashboard/http_functions/logs.html @@ -7,41 +7,41 @@ -
+
-
Timestamp
-
Request
-
Response
-
Logs
+ + + + {% for invocation in http_function_invocations %} - -
- {{ invocation.invocation_time.strftime('%Y-%m-%d %H:%M:%S') }} + +
+ {{ invocation.invocation_time.strftime('%Y-%m-%d %H:%M:%S') }}
- -
+ +
{{ invocation.request_data }}
- -
+ +
{{ invocation.response_data }}
- -
+ +
{% for log in invocation.logs %} -
{{ log }}
+
{{ log[0] }}
{% endfor %}
{% endfor %}