mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
14731 change to table
This commit is contained in:
parent
e9dd15443c
commit
578056ec0f
@ -768,8 +768,8 @@ def get_catalog_plugins(plugins):
|
|||||||
|
|
||||||
|
|
||||||
def get_plugins():
|
def get_plugins():
|
||||||
# if plugins := cache.get('plugins-catalog-feed'):
|
if plugins := cache.get('plugins-catalog-feed'):
|
||||||
# return plugins
|
return plugins
|
||||||
|
|
||||||
plugins = {}
|
plugins = {}
|
||||||
plugins = get_local_plugins(plugins)
|
plugins = get_local_plugins(plugins)
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
{% load buttons %}
|
|
||||||
{% load helpers %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
<div class="card">
|
|
||||||
<div class="table-responsive" id="object_list">
|
|
||||||
{% include 'htmx/table.html' %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||||||
{% extends 'generic/_base.html' %}
|
{% extends 'generic/object_list.html' %}
|
||||||
{% load buttons %}
|
{% load buttons %}
|
||||||
{% load helpers %}
|
{% load helpers %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
@ -18,6 +18,7 @@
|
|||||||
{% endblock tabs %}
|
{% endblock tabs %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div class="tab-pane show active" id="object-list" role="tabpanel" aria-labelledby="object-list-tab">
|
||||||
<p>{% trans "NetBox plugins enable you to document and model new kinds of resources, connect automations, add workflows, and much more." %}</p>
|
<p>{% trans "NetBox plugins enable you to document and model new kinds of resources, connect automations, add workflows, and much more." %}</p>
|
||||||
|
|
||||||
<div class="row mb-3" id="results">
|
<div class="row mb-3" id="results">
|
||||||
@ -30,12 +31,13 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# System status #}
|
<div class="card">
|
||||||
<div class="row mb-3 htmx-container" id="plugin_list">
|
<div class="htmx-container table-responsive" id="object_list">
|
||||||
{% include 'core/htmx/plugins.html' %}
|
{% include 'htmx/table.html' %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user