internally hidden column forgotten

This commit is contained in:
Priec
2026-08-12 17:04:52 +02:00
parent 771109f61c
commit fa50f29ff0
8 changed files with 159 additions and 38 deletions

View File

@@ -12,10 +12,13 @@
{% else %}
{% for profile in page.profiles %}
<form hx-get="/admin/workspace" hx-target="#admin-workspace" hx-swap="innerHTML">
<button class="browser-item {% if page.selected_profile.as_deref() == Some(profile.name.as_str()) %}selected{% endif %}"
type="submit" name="profile" value="{{ profile.name }}">
<span>{{ profile.name }}</span>
<small>{{ profile.table_count }} tables</small>
<button class="browser-item {% if page.selected_profile.as_deref() == Some(profile.scope.as_str()) %}selected{% endif %}"
type="submit" name="profile" value="{{ profile.scope }}">
<span>{{ profile.label }}</span>
<small>
{{ profile.table_count }} tables
{%- if profile.global %} · shared by every profile{% endif %}
</small>
</button>
</form>
{% endfor %}
@@ -29,7 +32,11 @@
{% if page.selected_profile.is_none() %}
<p class="empty">Select a profile to see its tables.</p>
{% else if page.tables.is_empty() %}
<p class="empty">This profile has no tables.</p>
{% if page.is_global() %}
<p class="empty">There are no global tables.</p>
{% else %}
<p class="empty">This profile has no tables of its own.</p>
{% endif %}
{% else %}
{% for table in page.tables %}
<form hx-get="/admin/workspace" hx-target="#admin-workspace" hx-swap="innerHTML">