more styling tweaks

main
Mark Cotton 2023-07-28 11:37:00 -06:00
parent 53ae5aa8f1
commit 81eb4daca3
2 changed files with 3 additions and 3 deletions

2
app.py
View File

@ -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"<h2>Graph of Status Events</h2><div class='col-md-12'><img src='data:image/png;base64,{data}' style='max-width:100%'/></div>"
return f"<h3>Graph of Status Events</h3><div class='col-md-12'><img src='data:image/png;base64,{data}' style='max-width:100%'/></div>"

View File

@ -43,5 +43,5 @@
{% endfor %}
</ul>
<button hx-get="/cameras" hx-trigger="click" hx-target="#camera_list">load cameras</button>
<button hx-get="/cameras" hx-trigger="click" hx-target="#camera_list" class="btn btn-md btn-secondary">load cameras</button>
<br>