mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 23:21:13 +01:00
50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<title>RaspiBlitz Welcome</title>
|
|
|
|
<!-- custom css goes into status.css -->
|
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div>
|
|
|
|
<img src="img/RaspiBlitz_Logo_Main.png" class="rb_logo" alt="RaspiBlitz Logo"/>
|
|
|
|
<h2 class="text-center">
|
|
Welcome Node Operator
|
|
</h2>
|
|
|
|
<p id="userinfo">Please Wait ...</p>
|
|
<script>
|
|
document.getElementById("userinfo").innerHTML=window.location.hostname;
|
|
if (window.location.hostname.endsWith(".onion")) {
|
|
document.getElementById("userinfo").innerHTML="onion domain address TODO: redirect on same address to subfolder of /ui"
|
|
}
|
|
else if ((window.location.hostname.endsWith(".local")) || (window.location.hostname.split(".").length>2)) {
|
|
document.getElementById("userinfo").innerHTML="local domain/IP address TODO: give info on download/use Tor and offer onion address for easy copy & paste"
|
|
}
|
|
else {
|
|
document.getElementById("userinfo").innerHTML="unknown hostname: "+window.location.hostname
|
|
}
|
|
</script>
|
|
|
|
<h4>Use one the following link to access your RaspiBlitz</h4>
|
|
<p>
|
|
Please be aware about HTTPS Certificate Warning! Here is some useful information on that...
|
|
</p>
|
|
|
|
<ul>
|
|
<li><a href="https://HOST_SET_BY_NGINX/">INFO</a></li>
|
|
</ul>
|
|
|
|
<br>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|