-
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.
Update planned features, add templates
- Loading branch information
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
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
34 changes: 34 additions & 0 deletions
34
netbox_physical_storage/templates/netbox_physical_storage/storagedevice.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,34 @@ | ||
{% extends 'generic/object.html' %}{% block content %} | ||
<div class="row mb-3"> | ||
<div class="col col-md-6"> | ||
<div class="card"> | ||
<h5 class="card-header">Storage Device</h5> | ||
<div class="card-body"> | ||
<table class="table table-hover attr-table"> | ||
<tr> | ||
<th scope="row">Name</th> | ||
<td>{{ object.name }}</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Storage Type</th> | ||
<td>{{ object.storage_device_type }}</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Serial Number</th> | ||
<td>{{ object.serial }}</td> | ||
</tr> | ||
<tr> | ||
<th scope="row">Mount Point</th> | ||
<td>{{ object.mount_point }}</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</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 %} |