New Addon

Google BK
This commit is contained in:
2023-04-23 18:17:03 +07:00
parent 1c7fd2b476
commit 702d080a1e
248 changed files with 72745 additions and 0 deletions
@@ -0,0 +1,36 @@
{% macro header(version, title) -%}
<header>
<nav role="navigation">
<div class="nav-wrapper">
<a class="brand-logo" href="">
<img src="static/{{ version }}/images/logo.png" width=40 height=40 />
<span class="hide-on-small-only">
{% if title %}
{{ title }}
{% else %}
<span class="hide-on-med-and-down">Home Assistant</span> Google Drive Backup
{% endif %}
</span>
</a>
{{ caller() }}
</div>
</nav>
</header>
{%- endmacro %}
{% macro errorMessage(title, id, icon, actions) -%}
<div class="card default-hidden error_card {{ id }}" id="{{ id }}">
<div class="card-content">
<span class="card-title danger-text">
<i class="material-icons" style="font-size: 50px; padding-right: 10px;">{{ icon }}</i>
<b style="vertical-align: top;">{{ title }}</b>
</span>
{{ caller() }}
</div>
{% if actions %}
<div class="card-action">
{{actions}}
</div>
{% endif %}
</div>
{%- endmacro %}