add api urls and signals interface for detail route buttons

This commit is contained in:
John Anderson
2020-03-01 03:24:17 -05:00
parent a17c22746d
commit 71a8a13644
8 changed files with 87 additions and 9 deletions

View File

@@ -2,6 +2,7 @@
{% load buttons %}
{% load custom_links %}
{% load helpers %}
{% load plugins %}
{% load static %}
{% load tz %}
@@ -33,6 +34,7 @@
</div>
</div>
<div class="pull-right noprint">
{% plugin_buttons site %}
{% if show_graphs %}
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#graphs_modal" data-obj="{{ site.name }}" data-url="{% url 'dcim-api:site-graphs' pk=site.pk %}" title="Show graphs">
<i class="fa fa-signal" aria-hidden="true"></i>