mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +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;
|
||||
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.
|
||||
</p>
|
||||
{% if error is not None %}
|
||||
<p>
|
||||
<p class="error">
|
||||
{{ escape(error) }}
|
||||
</p>
|
||||
{% end %}
|
||||
|
|
Loading…
Reference in a new issue