Astroport.ONE/www/PasseportTerre/index.html

100 lines
4.1 KiB
HTML
Raw Normal View History

2023-02-25 02:49:24 +01:00
<!DOCTYPE html>
<html>
<head>
<title>ASTROPORT PORTAL : http://astroport.localhost:1234</title>
<meta charset="UTF-8">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="index_fichiers/demo.css">
<link rel="stylesheet" href="index_fichiers/jquery-ui.min.css">
<script type="text/javascript" src="index_fichiers/requestanimationframe.polyfill.js"></script>
<script type="text/javascript" src="index_fichiers/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="index_fichiers/instascan.min.js"></script>
<script type="text/javascript" src="index_fichiers/jquery-ui.0.min.js"></script>
<script type="text/javascript" src="index_fichiers/sphere-hacked.js"></script>
<script type="text/javascript" src="index_fichiers/jquery.earth-3d.js"></script>
<script type="text/javascript" src="index_fichiers/demo.js"></script>
</head>
<body>
<a target=_blank href="https://astroport.copylaradio.com"><img style="position: absolute; top: 0; right: 0; border: 0;" src="l0g0.png" alt="Entrez par le Le Claude"></a>
<h1><a target=_blank href="http://astroport.localhost:1234">Astroport Ŋ1</a></h1>
<div class="subtitle">Une Planète à Vous<br>Un Internet à Nous</div>
<div id="demo">
<div id="description">
<h2>Utilisez <a href="https://cesium.app">Cesium</a> !</h2>
<p><img src="/ipfs/QmWUpjGFuF7NhpXgkrCmx8Tbu4xjcFpKhE7Bsvt6HeKYxu/g1ticket_qrcode.png"></p>
<h3>Ajoutez en commentaire l'email de vos amis...</h3>
<p>NB: "fred@g1sms.fr" a ouvert son compte à <a href="https://opencollective.com/monnaie-libre/projects/stiits">LaSTI</a> il bénéficie du service "G1PalPé"</p>
<br>
<p><a href="https://opencollective.com/monnaie-libre/projects/coeurbox">La♥BOX</a>, téléporte vos DATA 👍 à l'abris dans "Le Claude"</p>
<p>Powered by <a href="https://astroport.com">Astroport</a></p>
<h2>Scannez votre QRCode</h2>
<video id="preview" style="transform: scaleX(-1);width: 220px;height: 220px;"></video>
<script type="text/javascript">
let scanner = new Instascan.Scanner({ video: document.getElementById('preview') });
scanner.addListener('scan', function (content) {
alert("qrcode="+content);
$.ajax({
url: "http://astroport.localhost:1234",
data: "qrcode="+content,
type: 'GET'
});
//
// $(location).attr('href', content);
// Receiver : echo -e 'HTTP/1.1 200 OK\r\n' | nc -l -p 1234 -q 1 | grep '^GET' | cut -d' ' -f2 | cut -d'=' -f 2
});
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>
</div>
<div id="showoff">
<div id="container">
<h2>Envoyez la Ḡ1 au Monde</h2>
<canvas id="sphere" width="400" height="400"></canvas>
<div id="glow-shadows" class="earth"></div>
<canvas id="flights" width="400" height="400"></canvas>
<div id="locations"></div>
</div>
<div class="choose_example">
Choose example: <select id="example">
<option value="simple">Simple earth</option>
<option value="simple_tilted">Simple tilted earth</option>
<option value="simple_mars">Simple mars</option>
<option value="locations">Earth with locations</option>
<option value="flights" selected>Earth with locations and flights</option>
</select>
</div>
<div class="code">
<a href="#" onclick="$('#example_code').show(); $(this).hide().siblings('a').show(); return false;">Show code</a>
<a href="#" style="display: none;" onclick="$('#example_code').hide(); $(this).hide().siblings('a').show(); return false;">Hide code</a>
<textarea id="example_code" onclick="this.focus();this.select();"></textarea>
</div>
</div>
</div>
</body>
</html>