mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Circular progress improvement in update area (#18983)
* Fixes * Add aria label again
This commit is contained in:
parent
c399da586e
commit
a2ffd0ae83
@ -109,9 +109,11 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
|
|||||||
${this.narrow && entity.attributes.in_progress
|
${this.narrow && entity.attributes.in_progress
|
||||||
? html`<ha-circular-progress
|
? html`<ha-circular-progress
|
||||||
indeterminate
|
indeterminate
|
||||||
size="small"
|
|
||||||
slot="graphic"
|
slot="graphic"
|
||||||
class="absolute"
|
class="absolute"
|
||||||
|
.ariaLabel=${this.hass.localize(
|
||||||
|
"ui.panel.config.updates.update_in_progress"
|
||||||
|
)}
|
||||||
></ha-circular-progress>`
|
></ha-circular-progress>`
|
||||||
: ""}
|
: ""}
|
||||||
<span
|
<span
|
||||||
@ -131,6 +133,9 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
|
|||||||
indeterminate
|
indeterminate
|
||||||
size="small"
|
size="small"
|
||||||
slot="meta"
|
slot="meta"
|
||||||
|
.ariaLabel=${this.hass.localize(
|
||||||
|
"ui.panel.config.updates.update_in_progress"
|
||||||
|
)}
|
||||||
></ha-circular-progress>`
|
></ha-circular-progress>`
|
||||||
: html`<ha-icon-next slot="meta"></ha-icon-next>`
|
: html`<ha-icon-next slot="meta"></ha-icon-next>`
|
||||||
: ""}
|
: ""}
|
||||||
@ -191,6 +196,8 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
|
|||||||
}
|
}
|
||||||
ha-circular-progress.absolute {
|
ha-circular-progress.absolute {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
}
|
}
|
||||||
state-badge.updating {
|
state-badge.updating {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
|
@ -1709,7 +1709,8 @@
|
|||||||
"show_skipped": "Show skipped updates",
|
"show_skipped": "Show skipped updates",
|
||||||
"join_beta": "[%key:supervisor::system::supervisor::join_beta_action%]",
|
"join_beta": "[%key:supervisor::system::supervisor::join_beta_action%]",
|
||||||
"leave_beta": "[%key:supervisor::system::supervisor::leave_beta_action%]",
|
"leave_beta": "[%key:supervisor::system::supervisor::leave_beta_action%]",
|
||||||
"skipped": "Skipped"
|
"skipped": "Skipped",
|
||||||
|
"update_in_progress": "Update in progress"
|
||||||
},
|
},
|
||||||
"repairs": {
|
"repairs": {
|
||||||
"caption": "Repairs",
|
"caption": "Repairs",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user