Introduce panel template for services

This commit is contained in:
jeremystretch
2022-11-16 16:52:35 -05:00
parent f5ed6791bf
commit cda6301e82
5 changed files with 53 additions and 90 deletions

View File

@@ -138,24 +138,7 @@
<div class="my-3">
{% include 'inc/panel_table.html' with table=related_ips_table heading='Related IP Addresses' %}
</div>
<div class="card">
<h5 class="card-header">
Services
</h5>
<div class="card-body">
{% if services %}
<table class="table table-hover">
{% for service in services %}
{% include 'ipam/inc/service.html' %}
{% endfor %}
</table>
{% else %}
<div class="text-muted">
None
</div>
{% endif %}
</div>
</div>
{% include 'inc/panels/services.html' %}
{% plugin_right_page object %}
</div>
</div>