|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | +<title>AS4242421080 Splash Site</title> |
| 5 | +<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | +<link href="style.css" rel="stylesheet"> |
| 7 | +<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous"> |
| 8 | +</head> |
| 9 | + |
| 10 | +<body> |
| 11 | +<div class="main"> |
| 12 | + <h1>highdef.network</h1> |
| 13 | + <h2>AS4242421080</h2> |
| 14 | + <p> |
| 15 | + <a href="https://jlu5.com/dn42">Peering</a> |
| 16 | + - |
| 17 | + <a href="https://lg42.jlu5.com/">Looking Glass</a> |
| 18 | + </p> |
| 19 | + <hr> |
| 20 | + <h2> |
| 21 | + <i class="fa fa-server" aria-hidden="true"></i> |
| 22 | + Server info |
| 23 | + </h2> |
| 24 | + <div id="serverinfo-container"> |
| 25 | + <p>Current server: <b>{{ shortname }}</b></p> |
| 26 | + <p>Test IPs: <b>{{ ownip }}</b> / <b>{{ ownip6 }}</b></p> |
| 27 | + <p>Location: <b>{{ location }}</b></p> |
| 28 | + </div> |
| 29 | + <hr> |
| 30 | + <h2> |
| 31 | + <i class="fa fa-signal" aria-hidden="true"></i> |
| 32 | + Connection info |
| 33 | + </h2> |
| 34 | + <p id="connectionInfo"> |
| 35 | + <noscript><a href="connectionInfo">Click to check</a></noscript> |
| 36 | + </p> |
| 37 | +</div> |
| 38 | +<script> |
| 39 | +let req = new XMLHttpRequest(); |
| 40 | +req.addEventListener("load", function() { |
| 41 | + let textContainer = document.getElementById("connectionInfo"); |
| 42 | + if (this.status === 200) { |
| 43 | + textContainer.innerText = this.responseText; |
| 44 | + } else |
| 45 | + textContainer.innerText = `[Error loading: ${this.status} ${this.statusText}]`; |
| 46 | + } |
| 47 | +); |
| 48 | +req.overrideMimeType("text/plain;"); |
| 49 | +req.open("GET", "connectionInfo"); |
| 50 | +req.send(); |
| 51 | +</script> |
| 52 | +</body> |
| 53 | +</html> |
0 commit comments