first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{% if item is iterable %}
<ol>
{% for key, value in item %}
<li>{{ key }}: {% include 'iterable.twig' with {'item': value, 'child': true} %}</li>
{% endfor %}
</ol>
{% elseif child %}
<span class="child">{{ item }}</span>
{% else %}
{{ item }}
{% endif %}

View File

@@ -0,0 +1,43 @@
<div class="wrap">
<h2 id="xml-config-log">{{ strings.title }}</h2>
{% if entries %}
<p>
{{ strings.message }}
</p>
<p>
{% for button_id,button in buttons %}
<a href="{{ button.url }}" class="button-{{ button.type|default('secondary') }}">{{ button.label }}</a>
{% endfor %}
</p>
<h3>{{ strings.details }}</h3>
<table class="widefat wpml-xml-config-log">
<thead>
<tr>
{% for column in columns %}
<th>{{ column }}</th>
{% endfor %}
</tr>
</thead>
<tfoot>
<tr>
{% for column in columns %}
<th>{{ column }}</th>
{% endfor %}
</tr>
</tfoot>
<tbody>
{% for entry in entries %}
<tr>
{% for entry_value in entry %}
<td>
{% include 'iterable.twig' with {'item': entry_value} %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{{ strings.empty_log }}</p>
{% endif %}
</div>