JeuPistesSarreguemines/index.php

45 lines
1.3 KiB
PHP
Raw Normal View History

2023-06-27 14:31:55 +02:00
<?php
require_once "require/base.php";
?>
<!DOCTYPE html>
<html lang="fr">
<head>
<?php
require_once $rq_path . "head.php";
?>
<title><?= $tr["tab_title"]["home"]?></title>
2023-06-28 17:41:57 +02:00
<script type="module" src="<?= $rq_path ?>js/qrscan.js"></script>
2023-06-27 14:31:55 +02:00
</head>
<body>
<header>
<?php
require_once $rq_path . "nav.php";
?>
</header>
<main>
<header>
<h1><?= $tr["page_title"]["home"]?></h1>
<p><?= $tr["home"]["subtitle"]?></p>
<p><?= $tr["home"]["message"]?></p>
</header>
2023-06-28 17:41:57 +02:00
<article>
<button>Scanner un QR code</button>
<p></p>
2023-06-27 14:31:55 +02:00
<video></video>
2023-06-28 17:41:57 +02:00
<p>Caméra sélectionnée :</p>
<select>
<option value="rear" selected>Caméra arrière</option>
<option value="front">Caméra avant</option>
</select> <!-- Emplacement du message d'erreur JS concernant la caméra. !-->
<p>Scanner depuis un fichier</p>
<input type="file" id="file-selector">
</article>
2023-06-27 14:31:55 +02:00
</main>
<footer>
<?php
require_once $rq_path . "footer.php";
?>
</footer>
</body>
</html>