Added breadcrumbs for the interface comparison page

This commit is contained in:
Victor Golovanenko 2021-04-20 07:55:23 +00:00
parent d0b7fb5c44
commit 77b84c8794
No known key found for this signature in database
GPG Key ID: F3B58DF29DBC2099

View File

@ -1,6 +1,16 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% block header %} {% block header %}
<div class="row noprint">
<div class="col-sm-8 col-md-9">
<ol class="breadcrumb">
<li><a href="{% url 'dcim:device_list' %}">Devices</a></li>
<li><a href="{% url 'dcim:device_list' %}?site={{ device.site.slug }}">{{ device.site }}</a></li>
<li><a href="{% url 'dcim:device' pk=device.id %}">{{ device }}</a></li>
<li>Interface comparison</li>
</ol>
</div>
</div>
<h1>{% block title %}{{ device }} - Interface comparison{% endblock %}</h1> <h1>{% block title %}{{ device }} - Interface comparison{% endblock %}</h1>
{% endblock %} {% endblock %}