mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 00:36:34 +00:00
Move Home Assistant and version on info page into h2 (#4061)
This commit is contained in:
parent
e3ed0cf436
commit
0a77728652
13
src/panels/developer-tools/info/developer-tools-info.ts
Normal file → Executable file
13
src/panels/developer-tools/info/developer-tools-info.ts
Normal file → Executable file
@ -48,8 +48,7 @@ class HaPanelDevInfo extends LitElement {
|
|||||||
alt="Home Assistant logo"
|
alt="Home Assistant logo"
|
||||||
/></a>
|
/></a>
|
||||||
<br />
|
<br />
|
||||||
Home Assistant<br />
|
<h2>Home Assistant ${hass.config.version}</h2>
|
||||||
${hass.config.version}
|
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Path to configuration.yaml: ${hass.config.config_dir}
|
Path to configuration.yaml: ${hass.config.config_dir}
|
||||||
@ -92,21 +91,23 @@ class HaPanelDevInfo extends LitElement {
|
|||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Frontend version: ${JS_VERSION} - ${JS_TYPE}
|
Frontend version: ${JS_VERSION} - ${JS_TYPE}
|
||||||
${customUiList.length > 0
|
${
|
||||||
|
customUiList.length > 0
|
||||||
? html`
|
? html`
|
||||||
<div>
|
<div>
|
||||||
Custom UIs:
|
Custom UIs:
|
||||||
${customUiList.map(
|
${customUiList.map(
|
||||||
(item) => html`
|
(item) => html`
|
||||||
<div>
|
<div>
|
||||||
<a href="${item.url}" target="_blank"> ${item.name}</a>:
|
<a href="${item.url}" target="_blank"> ${item.name}</a
|
||||||
${item.version}
|
>: ${item.version}
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""
|
||||||
|
}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="${nonDefaultLink}">${nonDefaultLinkText}</a><br />
|
<a href="${nonDefaultLink}">${nonDefaultLinkText}</a><br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user