Commit b36ff117 authored by 's avatar

Updates

- Updated Donate page and CSS for subaddresses
- Fixed bugs in Funding Required and Work in Progress
parent 91e624aa
...@@ -59,7 +59,7 @@ layout: base ...@@ -59,7 +59,7 @@ layout: base
<p class="bar-fund-status">Raised <span class="progress-number-funded">{{proposal.amount-funded}}</span> of <span class="progress-number-goal">{{proposal.amount}}</span> XMR</p> <p class="bar-fund-status">Raised <span class="progress-number-funded">{{proposal.amount-funded}}</span> of <span class="progress-number-goal">{{proposal.amount}}</span> XMR</p>
</div> </div>
<div class="progress-bar"> <div class="progress-bar">
<span class="fund-progress" style="width: {{proposal-percentage}}%"></span> <span class="fund-progress" style="width: {{proposal.percentage}}%"></span>
</div> </div>
<p><a href="{{proposal.donate-url}}" class="btn btn-primary">Contribute</a></p> <p><a href="{{proposal.donate-url}}" class="btn btn-primary">Contribute</a></p>
{%endif%} {%endif%}
...@@ -72,40 +72,34 @@ layout: base ...@@ -72,40 +72,34 @@ layout: base
</section> </section>
<section class="container full"> <section class="container full">
<div class=""> <div class="row">
<div class="row between-xs">
<div class="col-xs-12"> <div class="col-xs-12">
<div class="tabs"> <div class="tabs con-how">
<input class="input" name="tabs" type="radio" id="tab-1" checked="checked"/> <input class="input" name="tabs" type="radio" id="tab-1" checked="checked"/>
<label class="label" for="tab-1">Proposal</label> <label class="label" for="tab-1">QR Code</label>
<div class="panel col-xs-12"> <div class="panel col-xs-12">
<div class="panel-segment"> <div class="panel-segment">
{{content}} <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>
</div> </div>
</div> </div>
<input class="input" name="tabs" type="radio" id="tab-2"/> <input class="input" name="tabs" type="radio" id="tab-2"/>
<label class="label" for="tab-2">Milestones</label> <label class="label" for="tab-2">Address</label>
<div class="panel col-xs-12"> <div class="panel col-xs-12">
{% if page.milestones != nil %} <div class="panel-segment">
{% for milestones in page.milestones %} <h3>Contribute using an address</h3>
<div class="milestone panel-segment"> <p>1. Choose the amount of XMR you wish to contribute to this proposal</p>
<span class="{{milestones.status}} ms-{{milestones.status}}"></span> <p>2. Enter the following XMR address:</p> <p class="string">45ttEikQEZWN1m7VxaVN9rjQkpSdmpGZ82GwUps66neQ1PqbQMno4wMY8F5jiDt2GoHzCtMwa7PDPJUJYb1GYrMP4CwAwNp</p>
<h3>{{milestones.name}}</h3> <p>3. Send! Thank you! You are amazing!</p>
<p><span class="bold">To be paid:</span> {{milestones.funds}}</p> </div>
{% 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>
</div> </div>
</div>
</section> </section>
</div> </div>
...@@ -88,7 +88,7 @@ layout: base ...@@ -88,7 +88,7 @@ layout: base
</div> </div>
{%endif%} {%endif%}
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
......
This diff is collapsed.
...@@ -131,33 +131,22 @@ ...@@ -131,33 +131,22 @@
<p>1. Choose the amount of XMR you wish to contribute to this proposal</p> <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>2. Scan this QR code or tap to open in your Monero wallet app:</p>
<p> <p>
<a href="[MONERO LINK HERE]" class="qr"><img src="[PATH TO QR CODE HERE]"/></a> <a href="[MONERO URL HERE]" class="qr"><img src="[QR CODE IMAGE HERE]"/></a>
</p> </p>
<p>3. Send! Thank you! You are amazing!</p> <p>3. Send! Thank you! You are amazing!</p>
</div> </div>
</div> </div>
<input class="input" name="tabs" type="radio" id="tab-2"/> <input class="input" name="tabs" type="radio" id="tab-2"/>
<label class="label" for="tab-2">Integrated Address</label> <label class="label" for="tab-2">Address</label>
<div class="panel col-xs-12"> <div class="panel col-xs-12">
<div class="panel-segment"> <div class="panel-segment">
<h3>Contribute using an integrated address</h3> <h3>Contribute using an address</h3>
<p>1. Choose the amount of XMR you wish to contribute to this proposal</p> <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">[INTEGRATED ADDRESS HERE]</p> <p>2. Enter the following XMR address:</p> <p class="string">[SUBADDRESS HERE]</p>
<p>3. Send! Thank you! You are amazing!</p> <p>3. Send! Thank you! You are amazing!</p>
</div> </div>
</div> </div>
<input class="input" name="tabs" type="radio" id="tab-3"/> </div>
<label class="label" for="tab-3">Payment ID</label>
<div class="panel col-xs-12">
<div class="panel-segment">
<h3>Contribute using a payment ID</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. Enter the following payment ID that is unique to this proposal:</p> <p class="string">[PAYMENT ID HERE]</p>
<p>4. Send! Thank you! You're amazing!</p>
</div>
</div>
</div>
</div> </div>
</div> </div>
</section> </section>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment