webapi: Make debug warning banner more distinct.

Give the debug banner a unique look by changing its class to "danger",
and centering and bolding the text. This helps it to be more noticable
when displayed near other banners.
This commit is contained in:
jholdstock 2023-09-19 11:45:38 +01:00 committed by Jamie Holdstock
parent e263da08bd
commit 841ac77890

View File

@ -67,7 +67,7 @@
{{ if .WebApiCfg.Debug }}
<div class="container">
<div class="alert alert-warning my-2">
<div class="alert alert-danger my-2 w-100 text-center font-weight-bold">
Web server is running in debug mode - don't do this in production!
</div>
</div>