2020-10-26 23:43:18 +01:00
<!doctype html>
< html lang = "{{lang}}" >
< head >
< meta charset = "utf-8" / >
< title > ĞMarché< / title >
< link rel = "stylesheet" href = "/static/style1.css" / >
< / head >
< body >
2020-10-27 11:15:46 +01:00
< div class = "center" >
< img id = "banner" alt = "ĞMarché" src = "/static/banner.jpg" / >
< h1 > ĞMarché< / h1 >
< 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 >
< img id = "stand" alt = "Marché" src = "/static/standgm.png" / >
< 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 >
< hr / >
< p > < a href = "https://git.p2p.legal/tuxmain/gmarche-rs" > Code source< / a > sous licence < a href = "https://www.gnu.org/licenses/licenses.html#AGPL" > GNU AGPL v3< / a > . 🦀 Écrit en < a href = "https://www.rust-lang.org" > Rust< / a > . Images de Attilax.< br / >
CopyLeft 2020 Pascal Engélibert< / p >
< / div >
2020-10-26 23:43:18 +01:00
< / body >
< / html >