forked from antux18/ChasseTresorPange
45 lines
1.3 KiB
PHP
45 lines
1.3 KiB
PHP
<?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>
|
|
<script type="module" src="<?= $rq_path ?>js/qrscan.js"></script>
|
|
</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>
|
|
<article>
|
|
<button>Scanner un QR code</button>
|
|
<p></p>
|
|
<video></video>
|
|
<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>
|
|
</main>
|
|
<footer>
|
|
<?php
|
|
require_once $rq_path . "footer.php";
|
|
?>
|
|
</footer>
|
|
</body>
|
|
</html>
|