OSM2IPFS/earth/g1gate/index.html

98 lines
2.3 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang=""><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Ğ1Gate 🜶 Là où va 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>
2024-01-05 21:51:41 +01:00
<!--
<header>
<p id="description">
2024-01-04 18:33:41 +01:00
ZenCard Transactions
</p>
</header>
2024-01-05 21:51:41 +01:00
-->
<form method="get" action="#expenses" id="explore">
<p>
<label>
2024-01-04 18:33:41 +01:00
Public Key&nbsp;:<br>
<input type="text" name="pubkey" size="50" >
</label>
</p>
<p>
<label>
2024-01-04 18:33:41 +01:00
Limit&nbsp;:
<input type="number" name="txLimit" value="200" size="5">
</label>
</p>
<p>
<label>
2024-01-04 18:33:41 +01:00
Start&nbsp;:
<input type="date" name="minDate" value="2017-03-08">
</label>
</p>
<p>
2024-01-04 18:33:41 +01:00
<input type="submit" label="OK">
</p>
</form>
2024-02-04 15:09:16 +01:00
<section id="totals">
<div id="totalExpenses">Total Dépenses: <span id="totalExpensesAmount"></span> Ğ1</div>
<div id="totalIncomes">Total Revenus: <span id="totalIncomesAmount"></span> Ğ1</div>
</section>
2024-01-12 20:30:18 +01:00
<section id="expenses">
2024-01-07 03:18:46 +01:00
</section>
2024-02-04 15:09:16 +01:00
<section id="txExpensesList">
<h2>Dépenses</h2>
<ul id="expensesList"></ul>
</section>
2024-01-12 20:30:18 +01:00
<section id="incomes">
2024-01-05 21:51:41 +01:00
</section>
2024-02-04 15:09:16 +01:00
<section id="txIncomesList">
<h2>Revenus</h2>
<ul id="incomesList"></ul>
</section>
<footer>
<blockquote>
Follow the money
</blockquote>
<p>
2024-01-04 18:33:41 +01:00
<a href="changelog.html">
Journal de versions
</a>
</p>
</footer>
2024-01-05 21:51:41 +01:00
<script src="index_fichiers/jspdf.min.js"></script>
2024-01-12 20:30:18 +01:00
<script type="module" src="index_fichiers/app.js">
</script>
<script>
const urlParams = new URLSearchParams(window.location.search);
const pubkey = urlParams.get('pubkey');
2024-01-04 18:33:41 +01:00
const minDate = urlParams.get('minDate');
// ?pubkey=J8vnw1A2SSxEbDnufqk...&txLimit=200&minDate=2023-12-04#expenses
const pubkeyElement = document.querySelector('input[name="pubkey"]');
2024-01-04 18:33:41 +01:00
const minDateElement = document.querySelector('input[name="minDate"]');
pubkeyElement.value = pubkey || '(⌐■_■)'
2024-01-04 18:33:41 +01:00
minDateElement.value = minDate || '2017-03-08'
</script>
</body></html>