Add templates/bfd_peer_detail.html
This commit is contained in:
parent
a935cc25b4
commit
a7ba7e5bb0
1 changed files with 22 additions and 0 deletions
22
templates/bfd_peer_detail.html
Normal file
22
templates/bfd_peer_detail.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}AS215085 - Router tools | BFD peer information{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section id="bgp-route-lookup">
|
||||
<h2>BFD peer details: <strong>{{ peer_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">{{ bfd_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