1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

added plugin template content injection to primary model detail views

This commit is contained in:
John Anderson
2020-03-15 23:45:18 -04:00
parent 683c5a22db
commit 8364694fb4
24 changed files with 313 additions and 14 deletions

View File

@@ -2,6 +2,7 @@
{% load buttons %}
{% load custom_links %}
{% load helpers %}
{% load plugins %}
{% block header %}
<div class="row noprint" xmlns="http://www.w3.org/1999/html">
@@ -28,6 +29,7 @@
</div>
</div>
<div class="pull-right noprint">
{% plugin_buttons cluster %}
{% if perms.virtualization.add_cluster %}
{% clone_button cluster %}
{% endif %}
@@ -121,6 +123,7 @@
{% endif %}
</div>
</div>
{% plugin_left_page cluster %}
</div>
<div class="col-md-7">
<div class="panel panel-default">
@@ -148,6 +151,12 @@
</form>
{% endif %}
</div>
{% plugin_right_page cluster %}
</div>
</div>
<div class="row">
<div class="col-md-12">
{% plugin_full_width_page cluster %}
</div>
</div>
{% endblock %}