From d80d8fd6ac93bd3db14d990eeabb2450ee60573b Mon Sep 17 00:00:00 2001 From: Blackwhitebear8 Date: Thu, 14 Aug 2025 17:59:10 +0200 Subject: [PATCH] Update templates/404.html --- templates/404.html | 94 +++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 51 deletions(-) diff --git a/templates/404.html b/templates/404.html index b5b342c..c1347a9 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,5 +1,5 @@ - + @@ -9,11 +9,11 @@ AS215085 Looking Glass 404 - + - + - + @@ -26,66 +26,58 @@ white-space: pre-wrap; word-wrap: break-word; overflow-x: auto; } #mynetwork { - width: 100%; height: 600px; border: 1px solid #dee2e6; border-radius: .25rem; + width: 100%; min-height: 400px; + border: 1px solid #dee2e6; border-radius: .25rem; } .copy-btn { cursor: pointer; } - .speedtest-links a { margin-right: 10px; margin-bottom: 10px; } - .header-content { - position: relative; - z-index: 2; - } header { - position: relative; - background: url('/static/img/background.webp') no-repeat center center; - background-size: cover; - color: white; - padding: 40px 20px; - text-align: center; + position: relative; background: url('/static/img/background.webp') no-repeat center center; + background-size: cover; color: white; padding: 40px 20px; text-align: center; } header::after { - content: ""; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); - z-index: 1; - } - header h1, header p { - position: relative; - z-index: 2; - } - header h1 { - margin: 0; - font-size: 2.5em; + content: ""; position: absolute; top: 0; left: 0; + width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1; } + header h1, header p, .header-content { position: relative; z-index: 2; } footer { - background-color: #2D2E43; - color: white; - text-align: center; - padding: 10px 0; - margin-top: 20px; + background-color: #2D2E43; color: white; text-align: center; + padding: 10px 0; margin-top: 20px; } - #form-error { - min-height: 1.5rem; /* Reserve space to prevent layout shift */ - } - /* Styles for BGP raw output highlighting */ + #form-error { min-height: 1.5rem; } .asn-highlight { color: #5DADE2; } - .asn215085-highlight { color: #F9E79F; font-weight: bold; } .best-line { color: #58D68D; font-weight: bold; } + .btn-custom { background-color: #07AAF9; border-color: #07AAF9; color: white; } + .btn-custom:hover { background-color: #0698e0; border-color: #0698e0; } - /* --- Custom Styling for Buttons and Dropdowns --- */ - .btn-custom { - background-color: #07AAF9; - border-color: #07AAF9; - color: white; + .bgprtv-controls-wrapper { + display: flex; + flex-direction: column; + align-items: center; + gap: 1rem; + padding: 0.75rem 1rem; margin-bottom: 1rem; border: 1px solid #dee2e6; + border-radius: .25rem; background-color: #f8f9fa; } - .btn-custom:hover { - background-color: #0698e0; /* Slightly darker blue for hover */ - border-color: #0698e0; - color: white; + .bgprtv-legend-group, .bgprtv-filter-group { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 1rem; + justify-content: center; } + .bgprtv-legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; } + .bgprtv-legend-symbol { display: flex; align-items: center; width: 30px; } + .bgprtv-legend-line { width: 100%; height: 0; } + .bgprtv-legend-line.best-path { border-top: 3px solid #C0392B; } + .bgprtv-legend-line.multipath { border-top: 2px solid #F39C12; } + .bgprtv-legend-line.alt-path { border-top: 2px dashed #2C3E50; } + .bgprtv-legend-node { width: 15px; height: 15px; border: 1px solid #555; border-radius: 2px; } + .bgprtv-legend-node.best-path-node { background-color: #FADBD8; } + .bgprtv-legend-node.multipath-node { background-color: #FDEBD0; } + .bgprtv-legend-node.alt-path-node { background-color: #D6DBDF; } + .bgprtv-filter-title { font-weight: bold; margin: 0; font-size: 0.9rem; white-space: nowrap; } + #bgprtv-filter-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.9rem; } + #bgprtv-filter-controls label { margin: 0; cursor: pointer; white-space: nowrap; } + .bgprtv-filter-separator { border-left: 1px solid #ccc; height: 1.2rem; }