mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Add color to login error for better visability (#478)
This commit is contained in:
parent
23df5d8af7
commit
c4ada8c9f0
2 changed files with 8 additions and 1 deletions
|
@ -235,3 +235,10 @@ ul.stepper:not(.horizontal) .step.active::before, ul.stepper:not(.horizontal) .s
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
color: #666 !important;
|
color: #666 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error {
|
||||||
|
background: #e53935;
|
||||||
|
color: #fff;
|
||||||
|
padding: 10px 15px;
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
Please login using your Home Assistant credentials.
|
Please login using your Home Assistant credentials.
|
||||||
</p>
|
</p>
|
||||||
{% if error is not None %}
|
{% if error is not None %}
|
||||||
<p>
|
<p class="error">
|
||||||
{{ escape(error) }}
|
{{ escape(error) }}
|
||||||
</p>
|
</p>
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
Loading…
Reference in a new issue