diff --git a/netbox/templates/core/htmx/plugins.html b/netbox/templates/core/htmx/plugins.html new file mode 100644 index 000000000..6a1b2f8c7 --- /dev/null +++ b/netbox/templates/core/htmx/plugins.html @@ -0,0 +1,42 @@ +{% load buttons %} +{% load helpers %} +{% load i18n %} + + {% for plugin in plugins %} +
+ +
+
+
{{ plugin.name }}
+

By {{ plugin.author }}

+
+ {% if plugin.is_local %} + + {% endif %} + {% if plugin.is_certified %} + + {% endif %} + {% if plugin.is_community %} + + {% endif %} + {% if plugin.is_installed %} + + {% endif %} +
+
+
+
+
+ {% endfor %} diff --git a/netbox/templates/core/plugin_list.html b/netbox/templates/core/plugin_list.html index 1b7d39b72..88f77635c 100644 --- a/netbox/templates/core/plugin_list.html +++ b/netbox/templates/core/plugin_list.html @@ -24,7 +24,7 @@
+ hx-get="{{ request.full_path }}" hx-target="#plugins_list" hx-trigger="keyup changed delay:500ms, search"/> @@ -79,45 +79,8 @@
{# System status #} -
- {% for plugin in plugins %} - - {% endfor %} +
+ {% include 'core/htmx/plugins.html' %}
{% endblock content %}