This commit is contained in:
Blackwhitebear8 2025-06-22 16:33:28 +02:00
commit 5e31dd0214
37 changed files with 2082 additions and 0 deletions

22
templates/bgp-route.html Normal file
View file

@ -0,0 +1,22 @@
{% extends "base.html" %}
{% block title %}AS215085 - Router tools | BGP route lookup{% endblock %}
{% block content %}
<script src="../static/js/pages/bgp-route.js"></script>
<section id="bgp-route-lookup">
<h2>BGP route lookup</h2>
<div class="input-group mb-3">
<input
type="text"
id="prefixInput"
class="form-control"
placeholder="Type the prefix here, for example, 2606:4700:4700::/48 or 1.1.1.0/24"
aria-label="Enter a prefix"
onkeydown="if(event.key === 'Enter') loadBGPRoute()"
/>
<button class="btn btn-outline-primary" type="button" onclick="loadBGPRoute()">Lookup</button>
</div>
<pre id="bgpOutput" aria-label="BGP Route Lookup output">Enter a prefix and click Lookup.</pre>
</section>
{% endblock %}