{% extends "base.html" %} {# A studio table as a page (docs/studio-plan.md S3.1): its first rows, for the table's render (a thumbnail, what the agent looks at). The canvas's live table viewer is in studio.js. #} {% block title %}{{ rel }}{% endblock %} {% block head %} {% endblock %} {% block main %}

{{ rel }}{% if got.ok %} ยท {{ got.total }} row{{ "s" if got.total != 1 }}{% if got.total > got.rows|length %} (the first {{ got.rows|length }}){% endif %}{% endif %}

{% if got.ok %} {% for c in got.columns %}{% endfor %} {% for r in got.rows %}{% for v in r %}{% if v is none %}{% elif v is number %}{% else %}{% endif %}{% endfor %}{% endfor %}
{{ c.name }}
null{{ v }}{{ v }}
{% else %}
This table can't be shown: {{ got.error }}
{% endif %} {% endblock %}