45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<!doctype html>
|
|
<html lang="{{lang}}">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>ĞMarché</title>
|
|
<link rel="stylesheet" href="/static/style1.css"/>
|
|
</head>
|
|
<body>
|
|
<h1>ĞMarché</h1>
|
|
|
|
<img id="logo" alt="Marché" src="/static/standgm.png"/>
|
|
|
|
<p>Ceci est une démo du nouveau site ĞMarché en développement. C'est très moche et il n'y a pas tellement de fonctionnalités mais ça avance. ;)</p>
|
|
|
|
<table border="1">
|
|
<thead>
|
|
<tr><td>Annonce</td><td>Vendeur</td></tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each ads}}
|
|
<tr>
|
|
<td>{{this.title}}</td>
|
|
<td>{{#if this.pubkey}}<details><summary>{{this.author}}</summary><br/>{{this.pubkey}}</details>{{else}}{{this.author}}{{/if}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
|
|
<form method="post">
|
|
<fieldset>
|
|
<legend>Nouvelle annonce</legend>
|
|
<label for="f_title">Titre :</label>
|
|
<input type="text" id="f_title" name="title"/><br />
|
|
<label for="f_author">Votre nom :</label>
|
|
<input type="text" id="f_author" name="author"/><br />
|
|
<label for="f_pubkey">Clé publique :</label>
|
|
<input type="text" id="f_pubkey" name="pubkey"/><br />
|
|
<label for="f_password">Mot de passe :</label>
|
|
<input type="text" id="f_password" name="password"/><br />
|
|
<input type="submit" value="Publier"/>
|
|
</fieldset>
|
|
</form>
|
|
</body>
|
|
</html>
|