added test main page

This commit is contained in:
Václav Šmejkal 2023-05-24 12:01:54 +02:00
parent 88e6d0f483
commit ca126dc80a
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
2 changed files with 23 additions and 0 deletions

19
index.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fabrika Hrádek Tour</title>
<link rel="icon" type="image/x-icon" href="http://207.180.212.190/fht/favicon.ico">
<script src="./res/script.js"></script>
</head>
<body>
yo fuck off
<br>
<br>
<input type="text" id="text_test">
<button id="test" onclick="open_panorama()">open</button>
</body>
</html>

4
res/script.js Normal file
View File

@ -0,0 +1,4 @@
function open_panorama()
{
open("./res/panorama.html?img=" + document.getElementById("text_test").value, "_self");
}