{% macro kbd(text) %} {{ text }} {% endmacro %} {% macro add_spanned(cell) %} {% set rowspan = cell['rowspan'] or 1 %} {% set colspan = cell['colspan'] or 1 %} {% for i in range(cell['i'], cell['i'] + rowspan) %} {% for j in range(cell['j'], cell['j'] + colspan) %} data-spans__{{ i }}__{{ j }} {% endfor %} {% endfor %} {% endmacro %}
{% include "table-bar.html" %}
{% for table_part in summary["sample_table"]["parts"] %} {% if table_part["name"] == "ellipsis" %} {% for i in range(summary["sample_table"]["start_j"], summary["sample_table"]["stop_j"])%} {% endfor %} {% else %} <{{ table_part['elem'] }}> {% for row in table_part["rows"] %} {% for cell in row %} {% set is_padding = cell["role"] == "padding" %} <{{ cell['elem'] }} id="{{ random_string() }}" class="table-cell elided-short {{ 'clickable' if not is_padding }}" {% if 'role' in cell %} data-role="{{ cell['role'] }}" {% endif %} {% if not is_padding %} data-manager="SampleTableCell {{ 'FilterableColumn' if 'column_idx' in cell }}" {% endif %} data-i="{{ cell['i'] }}" data-j="{{ cell['j'] }}" {{ add_spanned(cell) }} rowspan="{{ cell['rowspan'] or 1 }}" colspan="{{ cell['colspan'] or 1 }}" data-value-repr="{{ cell['value'].__repr__() }}" data-value-str="{{ cell['value'].__str__() }}" {% if 'column_idx' in cell %} data-column-idx="{{ cell['column_idx'] }}" {% endif %} > {%- if not (cell["value"]) | is_null -%} {{ cell["value"] }} {%- if cell["role"] == "columns-level-name" -%}
{% include "icons/arrow-right.svg" %}
{%- endif -%} {%- endif -%} {% endfor %} {% endfor %} {% endif %} {% endfor %}
= 0%} data-manager="FilterableColumn" data-column-idx="{{ i }}" data-role="ellipsis" {% endif %} >
{% include "icons/three-dots-vertical.svg" %}
{% set in_sample_tab=True %} {% for column in summary.columns %} {% set col_id="col_{}_in_sample_tab".format(loop.index0) %} {% include "column-summary.html" %} {% endfor %} {% set in_sample_tab=False %}
{% include "no-filter-matches.html" %}