mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-27 11:17:27 +02:00
Closes #4349: Drop support for embedded graphs
This commit is contained in:
@@ -35,12 +35,6 @@
|
||||
</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>
|
||||
Graphs
|
||||
</button>
|
||||
{% endif %}
|
||||
{% if perms.dcim.add_site %}
|
||||
{% clone_button site %}
|
||||
{% endif %}
|
||||
@@ -292,14 +286,9 @@
|
||||
{% plugin_right_page site %}
|
||||
</div>
|
||||
</div>
|
||||
{% include 'inc/modal.html' with name='graphs' title='Graphs' %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{% plugin_full_width_page site %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascript %}
|
||||
<script src="{% static 'js/graphs.js' %}?v{{ settings.VERSION }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user