mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Enable HTMX rendering for embedded tables * Start converting embedded tables to use HTMX (WIP) * Additional table conversions (WIP) * Standardize HTMX usage for nested group models * Enable HTMX for additional emebedded tables * Fix HTMX table rendering for ObjectChildrenView * Standardize usage of inc/panel_table.html * Hide selection boxes in embedded tables
30 lines
862 B
HTML
30 lines
862 B
HTML
{% extends 'generic/object_list.html' %}
|
|
{% load buttons %}
|
|
{% load helpers %}
|
|
{% load render_table from django_tables2 %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block content-wrapper %}
|
|
<div class="tab-content">
|
|
|
|
{# Connections list #}
|
|
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab">
|
|
{% include 'inc/table_controls_htmx.html' %}
|
|
<div class="card">
|
|
<div class="card-body htmx-container table-responsive" id="object_list">
|
|
{% include 'htmx/table.html' %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{# Filter form #}
|
|
{% if filter_form %}
|
|
<div class="tab-pane show" id="filters-form" role="tabpanel" aria-labelledby="filters-form-tab">
|
|
{% include 'inc/filter_list.html' %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
</div>
|
|
{% endblock content-wrapper %}
|