Add templates/bgp_neighbor_detail.html
This commit is contained in:
parent
a7ba7e5bb0
commit
fe9837fc4a
1 changed files with 22 additions and 0 deletions
22
templates/bgp_neighbor_detail.html
Normal file
22
templates/bgp_neighbor_detail.html
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block title %}AS215085 - Router tools | BGP neighbor information{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<section id="bgp-route-lookup">
|
||||||
|
<h2>BGP neighbor details: <strong>{{ neighbor_ip }}</strong></h2>
|
||||||
|
{% if error %}
|
||||||
|
<div class="alert alert-danger" role="alert">
|
||||||
|
<h4 class="alert-heading">Error occurred</h4>
|
||||||
|
<p>Unable to retrieve details for this neighbor.</p>
|
||||||
|
<hr>
|
||||||
|
<p class="mb-0">{{ error }}</p>
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
<pre><code class="text-light bg-dark p-3 d-block rounded">{{ neighbor_data }}</code></pre>
|
||||||
|
{% endif %}
|
||||||
|
<button type="button" class="btn btn-primary mt-3" onclick="window.close()">
|
||||||
|
<i class="fas fa-window-close"></i> Back to BGP overview
|
||||||
|
</button>
|
||||||
|
</section>
|
||||||
|
{% endblock %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue