Skip to content

Commit

Permalink
feat(templates): Add basic template for ACI Tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
pheus committed May 6, 2024
1 parent fc436c6 commit 9447ab8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions netbox_aci_plugin/templates/netbox_aci_plugin/acitenant.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

{% extends 'generic/object.html' %}
{% load render_table from django_tables2 %}

{% block content %}
<div class="row">
<div class="col col-md-6">
<div class="card">

<h5 class="card-header">ACI Tenant</h5>

<table class="table table-hover attr-table">
<tr>
<th scope="row">Alias</th>
<td>{{ object.alias }}</td>
</tr>
<tr>
<th scope="row">Description</th>
<td>{{ object.description }}</td>
</tr>
</table>
</div>
{% include 'inc/panels/custom_fields.html' %}
</div>
<div class="col col-md-6">
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
</div>
</div>
{% endblock content %}

0 comments on commit 9447ab8

Please sign in to comment.