mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add alert custom element to integrations
This commit is contained in:
parent
7655c66c06
commit
2c67af6215
@ -12,6 +12,8 @@
|
||||
{%- assign imp_name = file_parts | first -%}
|
||||
{%- assign imp_url = imp_name | prepend: '/components/' | append: '/' -%}
|
||||
|
||||
<kb-alert-link class="section" integration="{{ imp_name }}"></kb-alert-link>
|
||||
|
||||
{%- if page.ha_iot_class -%}
|
||||
<div class='section'>
|
||||
IoT class<sup><a href='/blog/2016/02/12/classifying-the-internet-of-things/#classifiers'><i class="icon-info-sign"></i></a></sup>: {{ page.ha_iot_class }}
|
||||
@ -63,3 +65,11 @@
|
||||
</div>
|
||||
{%- endif -%}
|
||||
</section>
|
||||
|
||||
<script src="https://alerts.home-assistant.io/ce-alert-link.js"></script>
|
||||
|
||||
<style>
|
||||
kb-alert-link {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user