OSM2IPFS/earth/inout/index.html

85 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang=""><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>IN/OUT suivez la Ğ1</title>
<meta name="description" content="Explorez la blockchain Ğ1 de façon visuelle pour découvrir où vont toutes ces Ğ1.">
<link rel="stylesheet" type="text/css" href="index_fichiers/styles.css" title="G1Gate">
</head>
<body>
<!--
<header>
<p id="description">
ZenCard Transactions
</p>
</header>
-->
<form method="get" action="#expenses" id="explore">
<p>
<label>
Public Key&nbsp;:<br>
<input type="text" name="pubkey" size="50" >
</label>
</p>
<p>
<label>
Limit&nbsp;:
<input type="number" name="txLimit" value="200" size="5">
</label>
</p>
<p>
<label>
Start&nbsp;:
<input type="date" name="minDate" value="2017-03-08">
</label>
</p>
<p>
<input type="submit" label="OK">
</p>
</form>
<section id="export-button">
<button id="exportButton">Export PDF</button>
</section>
<section id="expenses">
</section>
<section id="incomes">
</section>
<footer>
<blockquote>
Follow the money
</blockquote>
<p>
<a href="changelog.html">
Journal de versions
</a>
</p>
</footer>
<script src="index_fichiers/jspdf.min.js"></script>
<script type="module" src="index_fichiers/app.js">
</script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const pubkey = urlParams.get('pubkey');
const minDate = urlParams.get('minDate');
// ?pubkey=J8vnw1A2SSxEbDnufqk...&txLimit=200&minDate=2023-12-04#expenses
const pubkeyElement = document.querySelector('input[name="pubkey"]');
const minDateElement = document.querySelector('input[name="minDate"]');
pubkeyElement.value = pubkey || '(⌐■_■)'
minDateElement.value = minDate || '2017-03-08'
</script>
</body></html>