Add plugin buttons & content to device component views

This commit is contained in:
Jeremy Stretch
2020-06-25 13:27:01 -04:00
parent 103a44991a
commit 5aa2a6eefe
9 changed files with 272 additions and 206 deletions

View File

@@ -1,5 +1,6 @@
{% extends 'dcim/device_component.html' %}
{% load helpers %}
{% load plugins %}
{% block content %}
<div class="row">
@@ -38,6 +39,7 @@
</table>
</div>
{% include 'extras/inc/tags_panel.html' with tags=instance.tags.all %}
{% plugin_left_page instance %}
</div>
<div class="col-md-6">
<div class="panel panel-default">
@@ -72,6 +74,12 @@
</div>
{% endif %}
</div>
{% plugin_right_page instance %}
</div>
</div>
<div class="row">
<div class="col-md-12">
{% plugin_full_width_page instance %}
</div>
</div>
{% endblock %}