{# GET /admin/workspace — crate::pages::admin::admin::ui::AdminWorkspace Also included by pages/admin.html for the first paint. Both structs expose the same `page: AdminPageState` field. #}

Profiles

{{ page.profiles.len() }}
{% if page.profiles.is_empty() %}

No profiles available.

{% else %} {% for profile in page.profiles %}
{% endfor %} {% endif %}

Tables

{{ page.tables.len() }}
{% if page.selected_profile.is_none() %}

Select a profile to see its tables.

{% else if page.tables.is_empty() %}

This profile has no tables.

{% else %} {% for table in page.tables %}
{% endfor %} {% endif %}

Columns

{{ page.columns.len() }}
{% if page.selected_table.is_none() %}

Select a table to inspect its columns.

{% else if page.columns.is_empty() %}

This table has no visible columns.

{% else %} {% for column in page.columns %}
{{ column.name }} {{ column.data_type }} {{ column.flags()|join(" · ") }}
{% endfor %} {% endif %}