From dd77dec94ac4361394297b4373888518d8d43bd9 Mon Sep 17 00:00:00 2001 From: Mark Cotton Date: Mon, 7 Aug 2023 12:55:58 -0600 Subject: [PATCH] clean-up cameras list, adding bootstrap icons --- app.py | 2 +- templates/base.html | 2 + templates/camera_detail_partial.html | 2 +- templates/camera_events_partial.html | 2 +- templates/camera_preview.html | 2 +- templates/cameras_partial.html | 57 ++++++++++++---------------- templates/index.html | 6 +-- 7 files changed, 33 insertions(+), 40 deletions(-) diff --git a/app.py b/app.py index 4b5d6dd..a14342c 100644 --- a/app.py +++ b/app.py @@ -246,7 +246,7 @@ def camera_status_plot(esn=None): fig.savefig(buf, format="png", transparent=True) # Embed the result in the html output. data = base64.b64encode(buf.getbuffer()).decode("ascii") - return f"

Graph of Status Events

" + return f"

Graph of Status Events

" diff --git a/templates/base.html b/templates/base.html index ffd8f39..044e739 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,6 +26,8 @@ + +