mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 11:16:54 +00:00
Update CSS to support select box
This commit is contained in:
parent
f675dc6b52
commit
1c5f0655b3
@ -54,7 +54,7 @@
|
|||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.added_two_versions_ago {
|
.version_select {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ Support for these components is provided by the Home Assistant community.
|
|||||||
<a href='#version/{{ current_version.label }}' class="btn added_in_current_version">Added in {{ current_version.label }} ({{ current_version.new_components_count }})</a>
|
<a href='#version/{{ current_version.label }}' class="btn added_in_current_version">Added in {{ current_version.label }} ({{ current_version.new_components_count }})</a>
|
||||||
<a href='#version/{{ one_version_ago.label }}' class="btn added_one_version_ago">Added in {{ one_version_ago.label }} ({{ one_version_ago.new_components_count }})</a>
|
<a href='#version/{{ one_version_ago.label }}' class="btn added_one_version_ago">Added in {{ one_version_ago.label }} ({{ one_version_ago.new_components_count }})</a>
|
||||||
<a href='#version/{{ two_versions_ago.label }}' class="btn added_two_versions_ago">Added in {{ two_versions_ago.label }} ({{ two_versions_ago.new_components_count }})</a>
|
<a href='#version/{{ two_versions_ago.label }}' class="btn added_two_versions_ago">Added in {{ two_versions_ago.label }} ({{ two_versions_ago.new_components_count }})</a>
|
||||||
Added in <select name="versions">
|
Added in <select name="versions" class="version_select">
|
||||||
{%- for group in components_by_version -%}
|
{%- for group in components_by_version -%}
|
||||||
<optgroup label="{{ group.label }} ({{group.new_components_count}})">
|
<optgroup label="{{ group.label }} ({{group.new_components_count}})">
|
||||||
{%- for version in group.versions -%}
|
{%- for version in group.versions -%}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user