-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(templates): Add basic template for ACI Tenant
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
netbox_aci_plugin/templates/netbox_aci_plugin/acitenant.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 %} |