more styling tweaks
parent
53ae5aa8f1
commit
81eb4daca3
2
app.py
2
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"<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>"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue