161 lines
3.7 KiB
HTML
161 lines
3.7 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<link rel="icon" type="image/x-icon" href="https://ipfs.copylaradio.com/ipfs/QmNwECbSL6xihpS2QLpts8a8Boekk3rEVGeySuzg83jTDA/favicon.ico">
|
|
<title>Compte Ğ1 dans le Claude Inter Planetaire - Astroport Ŋ1 - </title>
|
|
<link rel="stylesheet" href="/ipfs/QmVuJCKVp57b3HzwDRAoURonaFwWTwvoqq2Am2JoSQhdPz/index_fichiers/demo.css">
|
|
<script src="G1PalPay_fichiers/jquery-3.6.3.min.js"></script>
|
|
<script src="G1PalPay_fichiers/instascan.min.js"></script>
|
|
<link rel="stylesheet" href="https://ipfs.copylaradio.com/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/decoration.css" type="text/css" />
|
|
<link rel="stylesheet" href="https://ipfs.copylaradio.com/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/layout.css" type="text/css" />
|
|
<style>
|
|
|
|
body {
|
|
background-image:url("https://ipfs.copylaradio.com/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.014.jpg");
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: sans-serif;
|
|
}
|
|
html {
|
|
height: 100%
|
|
}
|
|
header {
|
|
opacity: 0.8;
|
|
}
|
|
input[type=submit] {
|
|
width: 12em; height: 4em;
|
|
}
|
|
input[type=checkbox] {
|
|
width: 2em; height: 2em;
|
|
}
|
|
input {
|
|
width: 26em; height: 2em;
|
|
}
|
|
#yellow {
|
|
background: yellow;
|
|
position: absolute;
|
|
top: 33%;
|
|
left: 66%;
|
|
visibility: hidden;
|
|
}
|
|
h1 {
|
|
margin-top: 10px;
|
|
font-size: 40px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 20px;
|
|
margin-bottom: 20px;
|
|
color: #777;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
#demo {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#description {
|
|
text-align: left;
|
|
float: left;
|
|
width: 49%;
|
|
max-width: 500px;
|
|
padding-top: 50px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
#showoff {
|
|
float: right;
|
|
width: 30%;
|
|
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
#container {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 400px;
|
|
height: 400px;
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<div id="demo">
|
|
<div id="description">
|
|
<h1>Invasion Ğ1 Dons</h1>
|
|
<h2>Pourquoi attendre sa Retraite ?</h2>
|
|
<h2>Oubliez la crise...</h2>
|
|
|
|
<h2>Utilisez la Monnaie Libre !</a></h2>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="showoff">
|
|
<div id="container">
|
|
<video id="preview" style="transform: scaleX(-1);width: 240px;height: 240px;" autoplay="autoplay" class="active"></video>
|
|
|
|
<p><ul>
|
|
<li> 1 - <a target="cesium" href="https://cesium.app/fr/telechargement">Télécharger Cesium</a> </li>
|
|
<li> 2 - <a target="cesium" href="https://cesium.app/fr/fonctionnalites">Créez un "Simple Portefeuille"</a> </li>
|
|
<li> 3 - Renseignez vos géo-coordonnées <br>puis présentez votre QRCode face à la Webcam. </li>
|
|
|
|
</ul></p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
let scanner = new Instascan.Scanner({ video: document.getElementById('preview') });
|
|
scanner.addListener('scan', function (content) {
|
|
alert(content);
|
|
$.ajax({
|
|
url: "http://astroport.localhost:1234",
|
|
data: "qrcode="+content,
|
|
type: 'GET'
|
|
});
|
|
//
|
|
// BORIS STUFF COMES HERE
|
|
|
|
});
|
|
|
|
Instascan.Camera.getCameras().then(function (cameras) {
|
|
|
|
if (cameras.length > 0) {
|
|
|
|
scanner.start(cameras[0]);
|
|
|
|
} else {
|
|
|
|
console.error('No cameras found.');
|
|
|
|
}
|
|
|
|
}).catch(function (e) {
|
|
|
|
console.error(e);
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
</center>
|
|
|
|
|
|
</body></html>
|