{% include 'components/header.html' %} {% set border_types = ['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark'] %}
{% include 'components/search_bar.html' %} {% for item in info['response'] %} {% if item['type']=='string' %} {% if item['content'][0:6]=='SELECT' %} {% else%} {% if item['content'].startswith('%bold%') %}
{{ item['content'].replace('%bold%', '') }}
{% elif item['content'].startswith('%header%') %}

{{ item['content'].replace('%header%', '') }}

{% elif item['content'] == '%start_border%' %}
{% elif item['content'] == '%end_border%' %}
{% elif item['content'] == '%start_column%' %}
{% elif item['content'] == '%end_column%' %}
{% elif item['content'] == '%start_row%' %}
{% elif item['content'] == '%end_row%' %}
{% else%}
{{ item['content'] }}
{% endif %} {% endif %} {% elif item['type']=='error' %} {% elif item['type']=='dictoflist' %}
{% for row in item['content']['columns'] %} {% endfor %} {% for row in item['content']['results'] %} {% for col in row %} {% if col.startswith('https://') or col.startswith('http://') %} {% else%} {% endif %} {% endfor %} {% endfor %}
{{ row }}
{{ col }}{{ col }}
{% elif item['type']=='listoflist' %} {% for row in item['content'] %} {% for col in row %} {% endfor %} {% endfor %}
{{ col }}
{% elif item['type']=='list' %} {% for row in item['content'] %} {% endfor %} {% else%} not picked up: {{ item['type'] }} {% endif %} {% endfor %}