UPlanet /g1gate Application

This commit is contained in:
fred 2024-01-04 18:33:41 +01:00
parent f7813c234d
commit e701aa86db
2 changed files with 66 additions and 10 deletions

View File

@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="fr-FR"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Journal de bord 🜶 Ğ1Gate</title>
</head>
<body>
<header>
<h1>Journal de bord 🜶 Ğ1Gate</h1>
<p>
<a href="index.html">
«&nbsp;Revenir à Ğ1Gate
</a>
</p>
</header>
<main>
<article>
<h2>2023-oct-20</h2>
<ul>
<li>Seulement 10 noms de profils Cesium Plus s'affichaient&nbsp;; la limite est maintenant égale au nombre de transactions.</li>
</ul>
</article>
<article>
<h2>2023-sept-22</h2>
<ul>
<li>Récupération des résultats les plus récents au lieu des plus anciens</li>
<li>Ajour du filtrage par date</li>
</ul>
</article>
<article>
<h2>2023-août-19</h2>
<ul>
<li>Gestion des clefs qui contiennent une somme de vérification</li>
</ul>
</article>
<article>
<h2>2023-août-16</h2>
<ul>
<li>Première version de Ğ1Gate</li>
</ul>
</article>
</main>
<footer></footer>
</body></html>

View File

@ -12,34 +12,32 @@
<body> <body>
<header> <header>
<h1>Où va la Ğ1 ?</h1>
<p id="description"> <p id="description">
Explorez la blockchain Ğ1 pour savoir où va la Ğ1. ZenCard Transactions
</p> </p>
</header> </header>
<form method="get" action="#expenses" id="explore"> <form method="get" action="#expenses" id="explore">
<p> <p>
<label> <label>
Clef à explorer&nbsp;:<br> Public Key&nbsp;:<br>
<input type="text" name="pubkey" size="50" > <input type="text" name="pubkey" size="50" >
</label> </label>
</p> </p>
<p> <p>
<label> <label>
Limite du nombre de transactions&nbsp;: Limit&nbsp;:
<input type="number" name="txLimit" value="200" size="5"> <input type="number" name="txLimit" value="200" size="5">
</label> </label>
</p> </p>
<p> <p>
<label> <label>
Depuis&nbsp;: Start&nbsp;:
<input type="date" name="minDate" value="2023-12-04"> <input type="date" name="minDate" value="2017-03-08">
</label> </label>
</p> </p>
<p> <p>
<input type="submit" label="Explorer"> <input type="submit" label="OK">
</p> </p>
</form> </form>
@ -51,8 +49,8 @@
Follow the money Follow the money
</blockquote> </blockquote>
<p> <p>
<a href="https://g1.quest/g1gate/changelog.html"> <a href="changelog.html">
Journal de bord Journal de versions
</a> </a>
</p> </p>
</footer> </footer>
@ -63,9 +61,14 @@
const urlParams = new URLSearchParams(window.location.search); const urlParams = new URLSearchParams(window.location.search);
const pubkey = urlParams.get('pubkey'); const pubkey = urlParams.get('pubkey');
const minDate = urlParams.get('minDate');
// ?pubkey=J8vnw1A2SSxEbDnufqk...&txLimit=200&minDate=2023-12-04#expenses // ?pubkey=J8vnw1A2SSxEbDnufqk...&txLimit=200&minDate=2023-12-04#expenses
const pubkeyElement = document.querySelector('input[name="pubkey"]'); const pubkeyElement = document.querySelector('input[name="pubkey"]');
const minDateElement = document.querySelector('input[name="minDate"]');
pubkeyElement.value = pubkey || '(⌐■_■)' pubkeyElement.value = pubkey || '(⌐■_■)'
minDateElement.value = minDate || '2017-03-08'
</script> </script>
</body></html> </body></html>