1
0
Fork 0
forked from 2sys/phonograph
phonograph/phono-server/templates/relations_single/portal_table.html

34 lines
854 B
HTML
Raw Normal View History

2026-01-19 18:48:14 +00:00
{% extends "layouts/with_sidebar.html" %}
{% block head %}
<link rel="stylesheet" href="{{ settings.root_path }}/portal-table.css">
{% endblock %}
{% block toolbar_page_actions %}
<a class="button button--secondary" href="settings" role="button">
Portal Settings
</a>
<filter-menu
identifier-hints="{{ attr_names | json }}"
initial-value="{{ filter | json }}"
></filter-menu>
{% endblock %}
{% block sidebar %}
{{ navbar | safe }}
{% endblock %}
{% block main %}
<table-viewer
columns="{{ columns | json }}"
{%- if subfilter_str != "" %}
subfilter="{{ subfilter_str }}"
{% endif -%}
></table-viewer>
{% endblock %}
{% block scripts %}
<script type="module" src="{{ settings.root_path }}/js_dist/table-viewer.webc.mjs"></script>
<script type="module" src="{{ settings.root_path }}/js_dist/filter-menu.webc.mjs"></script>
{% endblock %}