{% from 'include/input_macros.html' import copy_to_clipboard %} {%- for t in table %} {%- if t.1.0 != '' -%} {% set headers = t.1.0.split(':')[1] %} {% set headers = headers.split(' ') %} {% endif %}
Table name:{{t.0.0}} Type: {{t.0.1}} Size: {{t.0.2|int() / 1024 / 1024}} Mb Used: {{t.0.3}}
{%- if t.1.0 != '' -%} {% set headers = t.1.0.split(':')[1] %} {% set headers = headers.split(' ') %} {% if headers|length > 5 %} {% endif %} {% if headers|length > 6 %} {% endif %} {% if headers|length > 7 %} {% endif %} {% if headers|length > 8 %} {% endif %} {% if headers|length > 10 %} {% endif %} {% if headers|length > 11 %} {% endif %} {% for b in t.1 %} {% set body = b.split(' ') %} {% if body.0 != '' %} {% if body|length > 4 %} {% endif %} {% if body|length > 5 %} {% endif %} {% if body|length > 6 %} {% endif %} {% if body|length > 7 %} {% endif %} {% if body|length > 8 %} {% endif %} {% if body|length > 9 %} {% endif %} {% if body|length > 10 %} {% endif %} {% endif %} {% endfor %}
IP Use Exp {{headers.4.split('=')[0].split('(')[0]}} {{headers.5.split('=')[0].split('(')[0]}} {{headers.6.split('=')[0].split('(')[0]}} {{headers.7.split('=')[0].split('(')[0]}} {{headers.9.split('=')[0].split('(')[0]}} {{headers.10.split('=')[0].split('(')[0]}} {{headers.11.split('=')[0].split('(')[0]}}
{{ copy_to_clipboard(value=body.1.split('=')[1]) }} {{body.2.split('=')[1]}} {{body.3.split('=')[1]|int() / 1000 }} s {{body.4.split('=')[1]}} {{body.5.split('=')[1]}} {{body.6.split('=')[1]}} {{body.7.split('=')[1]}} {{body.8.split('=')[1]}} {{body.9.split('=')[1]}} {{body.10.split('=')[1]}}
{% else %} Table is empty {% endif %}

{% endfor %}