{% macro table(header, columns, rows, tabletype, context = None) %} {% set c = "table" %} {% if tabletype == "sink" %} {% set c = "table table-striped table-bordered table-hover" %} {% endif %} {% if tabletype == "striped" %} {% set c = "table table-striped" %} {% endif %} {% if tabletype == "hover" %} {% set c = "table table-hover" %} {% endif %} {% set tc = "table-responsive" %} {% if tabletype == "bordered" %} {% set tc = "table-responsive table-bordered" %} {% endif %}
{{col}} | {% endfor %}
---|
{{d}} | {% endfor %}