home-assistant.io/source/_includes/asides/lovelace_navigation.html
akasma74 c369cb84a4
Moving Lovelace Dashboards to Views page (#12707)
* add dashboards

Based on this issue - https://github.com/home-assistant/home-assistant.io/issues/12462

As dashboards are not limited to YAML mode, it makes the information on them hard to find when it's a part of Lovelace YAML mode page.
I propose to add informatin about dashboards' configuration to the page about Views and rename it accordingly.

* move dashboards to views

* add link to dashboards

* dashes instead of underscores

* change link to Dashboards & Views

* add /lovelace/views
2020-04-06 15:11:51 +02:00

35 lines
1.3 KiB
HTML

<section class="aside-module grid__item one-whole lap-one-half">
<!-- {% include edit_github.html %} -->
{% assign cards = site.lovelace | sort_natural: 'title' %}
<div class='section'>
<h1 class="title delta">Lovelace UI</h1>
<ul class='divided sidebar-menu'>
<li>{% active_link /lovelace/ Introduction %}</li>
<li>{% active_link /lovelace/changelog/ Changelog %}</li>
</ul>
</div>
<div class='section'>
<h1 class="title delta">Advanced</h1>
<ul class='divided sidebar-menu'>
<li>{% active_link /lovelace/how-it-works/ How it works %}</li>
<li>{% active_link /lovelace/header-footer/ Headers & Footers %}</li>
<li>{% active_link /lovelace/yaml-mode/ YAML mode %}</li>
<li>{% active_link /lovelace/dashboards-and-views/ Dashboards & Views %}</li>
<li>{% active_link /lovelace/actions/ Actions %}</li>
<li><a href='https://developers.home-assistant.io/docs/en/lovelace_custom_card.html'>Developing Custom Cards <i icon='icon-external-link'></i></a></li>
</ul>
</div>
<div class='section'>
<h1 class="title delta">Cards</h1>
<ul class='divided sidebar-menu'>
{% for card in cards %}
<li>{% active_link {{card.url}} {{card.sidebar_label}} %}</li>
{% endfor %}
</ul>
</div>
</section>