Add upstream plugins

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
2019-10-25 22:42:20 +02:00
parent 5d3c2ec184
commit 290736650a
1186 changed files with 302577 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<div class="timely ai1ec-taxonomy-header ai1ec-hide">
<h1>{{ text_title }}</h1>
<ul class="ai1ec-nav ai1ec-nav-tabs">
{% for taxonomy in taxonomies %}
{% if taxonomy.children is not empty %}
<li class="{% if taxonomy.active %}ai1ec-active{% endif %}
ai1ec-taxonomy-{{ taxonomy.taxonomy_name }}
ai1ec-dropdown" role="presentation">
<a data-toggle="ai1ec-dropdown" href="#" class="ai1ec-dropdown-toggle"
role="button" aria-expanded="false">
{% if taxonomy.icon is not empty %}
<i class="{{ taxonomy.icon | e('html_attr') }} ai1ec-fa-fw"></i>
{% endif %}
{{ taxonomy.name }} <span class="ai1ec-caret"></span>
</a>
<ul class="ai1ec-dropdown-menu" role="menu">
{% for taxonomy2 in taxonomy.children %}
{% include 'organize/tab.twig' with { 'taxonomy': taxonomy2 } %}
{% endfor %}
</ul>
</li>
{% else %}
{% include 'organize/tab.twig' %}
{% endif %}
{% endfor %}
</ul>
</div>

View File

@@ -0,0 +1,20 @@
{% if taxonomy.divider %}
<li role="presentation" class="ai1ec-divider"></li>
{% else %}
<li class="{% if taxonomy.active %}ai1ec-active{% endif %}
ai1ec-taxonomy-{{ taxonomy.taxonomy_name }}">
<a href="{{ taxonomy.url | e('html_attr') }}">
{% if taxonomy.icon is not empty %}
<i class="{{ taxonomy.icon | e('html_attr') }} ai1ec-fa-fw"></i>
{% endif %}
{{ taxonomy.name | raw }}
</a>
{% if taxonomy.active and taxonomy.edit_url is not empty %}
<a class="ai1ec-taxonomy-edit-link ai1ec-hide button button-primary timely"
href="{{ taxonomy.edit_url | e('html_attr') }}">
<i class="ai1ec-fa ai1ec-fa-pencil"></i> {{ taxonomy.edit_label }}
</a>
{% endif %}
</li>
{% endif %}