Move template; fix table display

This commit is contained in:
Jeremy Stretch 2024-01-19 10:58:58 -05:00
parent f01f0b3195
commit 95300272c7
2 changed files with 4 additions and 2 deletions

View File

@ -251,7 +251,7 @@ class PluginListView(LoginRequiredMixin, View):
table = tables.PluginTable(plugins) table = tables.PluginTable(plugins)
table.configure(request) table.configure(request)
return render(request, 'extras/plugin_list.html', { return render(request, 'core/plugin_list.html', {
'plugins': plugins, 'plugins': plugins,
'active_tab': 'api-tokens', 'active_tab': 'api-tokens',
'table': table, 'table': table,

View File

@ -18,7 +18,9 @@
{# Object table controls #} {# Object table controls #}
{% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %} {% include 'inc/table_controls_htmx.html' with table_modal="ObjectTable_config" %}
{% render_table table %} <div class="card">
{% render_table table %}
</div>
{% endblock content %} {% endblock content %}
{% block modals %} {% block modals %}