raspiblitz/home.admin/assets/nginx/www_public/index.html

51 lines
1.5 KiB
HTML
Raw Normal View History

2020-05-17 13:43:52 +01:00
<!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>
2020-05-17 20:34:42 +01:00
<div>
2020-05-17 13:43:52 +01:00
<img src="img/RaspiBlitz_Logo_Main.png" class="rb_logo" alt="RaspiBlitz Logo"/>
<h2 class="text-center">
Welcome Node Operator
2020-05-17 13:43:52 +01:00
</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>
2020-05-17 13:43:52 +01:00
<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>