Router-tools/templates/bgp_neighbor_detail.html

24 lines
No EOL
853 B
HTML

{% extends "base.html" %}
{% block title %}AS215085 - Router tools | BGP neighbor information{% endblock %}
{% block page_header %}<H3>BGP Neighbor details</H3>{% 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 %}