From 52af803b86b88be5ac2c1dc7797d30a4840b682d Mon Sep 17 00:00:00 2001 From: <diego@DESKTOP-JD7IBSD.localdomain> Date: Sun, 27 Jan 2019 09:40:13 -0700 Subject: [PATCH] Fix FR cuz I'm a loser --- _layouts/ffs-fr.html | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/_layouts/ffs-fr.html b/_layouts/ffs-fr.html index c298a26..563b85c 100644 --- a/_layouts/ffs-fr.html +++ b/_layouts/ffs-fr.html @@ -72,34 +72,40 @@ layout: base </section> <section class="container full"> - <div class="row"> + <div class=""> + <div class="row between-xs"> <div class="col-xs-12"> - <div class="tabs con-how"> + <div class="tabs"> <input class="input" name="tabs" type="radio" id="tab-1" checked="checked"/> - <label class="label" for="tab-1">QR Code</label> + <label class="label" for="tab-1">Proposal</label> <div class="panel col-xs-12"> <div class="panel-segment"> - <h3>Contribute with a QR code</h3> - <p>1. Choose the amount of XMR you wish to contribute to this proposal</p> - <p>2. Scan this QR code or tap to open in your Monero wallet app:</p> - <p> - <a href="monero:45ttEikQEZWN1m7VxaVN9rjQkpSdmpGZ82GwUps66neQ1PqbQMno4wMY8F5jiDt2GoHzCtMwa7PDPJUJYb1GYrMP4CwAwNp" class="qr"><img src="/img/qrcode.png"/></a> - </p> - <p>3. Send! Thank you! You are amazing!</p> + {{content}} </div> </div> <input class="input" name="tabs" type="radio" id="tab-2"/> - <label class="label" for="tab-2">Address</label> + <label class="label" for="tab-2">Milestones</label> <div class="panel col-xs-12"> - <div class="panel-segment"> - <h3>Contribute using an address</h3> - <p>1. Choose the amount of XMR you wish to contribute to this proposal</p> - <p>2. Enter the following XMR address:</p> <p class="string">45ttEikQEZWN1m7VxaVN9rjQkpSdmpGZ82GwUps66neQ1PqbQMno4wMY8F5jiDt2GoHzCtMwa7PDPJUJYb1GYrMP4CwAwNp</p> - <p>3. Send! Thank you! You are amazing!</p> - </div> + {% if page.milestones != nil %} + {% for milestones in page.milestones %} + <div class="milestone panel-segment"> + <span class="{{milestones.status}} ms-{{milestones.status}}"></span> + <h3>{{milestones.name}}</h3> + <p><span class="bold">To be paid:</span> {{milestones.funds}}</p> + {% if milestones.done != nil %} + <p><span class="bold">Completion date:</span> {{milestones.done}}</p> + </div> + {%endif%} + {%endfor%} + {%else%} + <div class="panel-segment"> + <p>No milestones</p> + </div> + {%endif%} </div> - </div> + </div> </div> </div> + </div> </section> </div> -- GitLab