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

Closes #2745: Remove topology maps

This commit is contained in:
Jeremy Stretch
2019-08-08 21:33:20 -04:00
parent ef432754ee
commit dccda62f2d
17 changed files with 26 additions and 315 deletions

View File

@@ -259,29 +259,6 @@
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<strong>Global Topology Maps</strong>
</div>
{% if topology_maps and perms.extras.view_topologymap %}
<table class="table table-hover panel-body">
{% for tm in topology_maps %}
<tr>
<td><i class="fa fa-fw fa-map-o"></i> <a href="{% url 'extras-api:topologymap-render' pk=tm.pk %}" target="_blank">{{ tm }}</a></td>
<td>{{ tm.description }}</td>
</tr>
{% endfor %}
</table>
{% elif perms.extras.view_topologymap %}
<div class="panel-body text-muted">
None found
</div>
{% else %}
<div class="panel-body text-muted">
<i class="fa fa-lock"></i> No permission
</div>
{% endif %}
</div>
<div class="panel panel-default">
<div class="panel-heading">
<strong>Reports</strong>