2020-11-06 15:23:17 +01:00
<!doctype html>
< html lang = "{{lang}}" >
< head >
< meta charset = "utf-8" / >
< title > Administration | ĞMarché< / title >
< link rel = "stylesheet" href = "/static/style1.css" / >
< link rel = "shortcut icon" href = "/static/icon.png" / >
< / head >
< body >
< div class = "center" >
< a href = "/" > < img id = "banner" alt = "ĞMarché" src = "/static/banner.jpg" / > < / a >
< h1 > Administration – ĞMarché< / h1 >
{{#if errors}}
< div id = "errors" >
< span > Oups, il y a un problème :< / span >
< ul >
{{#each errors}}
< li > {{this.text}}< / li >
{{/each}}
< / ul >
< / div >
{{/if}}
2020-12-08 10:56:32 +01:00
< form method = "post" >
< table id = "ads" >
< thead >
< tr > < td > < / td > < th > Annonce< / th > < th > Quantité< / th > < th > Prix< / th > < th > Vendeur< / th > < / tr >
< / thead >
< tbody >
{{#each ads}}
< tr >
< td > < input type = "radio" name = "ad" value = "{{this.id}}" required / > < / td >
< td > {{this.ad.title}}< / td >
< td > {{this.ad.quantity}}< / td >
< td > {{this.ad.price}}< / td >
< td > {{#if this.ad.pubkey}}< details > < summary > {{this.ad.author}}< / summary > < br / > {{this.ad.pubkey}}< / details > {{else}}{{this.ad.author}}{{/if}}< / td >
< / tr >
{{/each}}
< / tbody >
< / table >
< br / >
< input type = "hidden" name = "a" value = "rm_ad" autocomplete = "off" / >
< fieldset >
< legend > Supprimer l'annonce sélectionnée< / legend >
< input type = "submit" value = "Supprimer" / >
< / fieldset >
< / form >
< br / >
2020-11-06 15:23:17 +01:00
< hr style = "clear: both;" / >
< p > < a href = "https://forum.duniter.org" > Toutes les questions techniques ont leur place sur le forum.< / a > < / p >
< 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 >
2020-12-08 10:56:32 +01:00
< p > < a href = "/" > Accueil< / a > – < a href = "/admin/logout" > Verrouiller< / a > < / p >
2020-11-06 15:23:17 +01:00
< / div >
< / body >
< / html >