mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-23 20:19:29 +00:00
QR code for FFS contribute
This commit is contained in:
parent
4977bcfaf4
commit
161b68d757
4 changed files with 31 additions and 3 deletions
|
@ -11,6 +11,10 @@
|
||||||
url: #
|
url: #
|
||||||
summary: This is for the best ideas ever!
|
summary: This is for the best ideas ever!
|
||||||
author: rehrar
|
author: rehrar
|
||||||
|
- name: QR Codes for Funding Required
|
||||||
|
url: /forum-funding-system/proposals/qr-code-for-fr.html
|
||||||
|
summary: The title says it all!
|
||||||
|
author: m2049r
|
||||||
|
|
||||||
- stage: Funding Required
|
- stage: Funding Required
|
||||||
proposals:
|
proposals:
|
||||||
|
|
|
@ -5,7 +5,7 @@ layout: base
|
||||||
<div class="site-wrap">
|
<div class="site-wrap">
|
||||||
<div class="container ffs-breadcrumbs">
|
<div class="container ffs-breadcrumbs">
|
||||||
|
|
||||||
<p><a href="/forum-funding-system/">Forum Funding System</a> > <a href="/forum-funding-system/funding-required/">Funding Required</a> > {{page.title}}</p>
|
<p><a href="/forum-funding-system/">Forum Funding System</a> <a href="/forum-funding-system/funding-required/">Funding Required</a> > {{page.title}}</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- FULL WIDTH BLOCK -->
|
<!-- FULL WIDTH BLOCK -->
|
||||||
|
@ -40,6 +40,19 @@ layout: base
|
||||||
<p>Have a valid Monero address. If you don't have one, you can read on getting started!</p>
|
<p>Have a valid Monero address. If you don't have one, you can read on getting started!</p>
|
||||||
<p>Send the amount of XMR that you wish to contribute to the address: <strong>{{page.address}}</strong></p>
|
<p>Send the amount of XMR that you wish to contribute to the address: <strong>{{page.address}}</strong></p>
|
||||||
<p>Make sure that you enter a payment ID of <strong>{{page.paymentid}}</strong> in order for us to be able to assign your contribution to this specific project!</p>
|
<p>Make sure that you enter a payment ID of <strong>{{page.paymentid}}</strong> in order for us to be able to assign your contribution to this specific project!</p>
|
||||||
|
<p><div id="qrcode"></div></p>
|
||||||
|
<script src="{{ base.url | prepend: site.url }}/js/qrcode.min.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
var qr_description = encodeURIComponent("{{page.title}}");
|
||||||
|
new QRCode(document.getElementById("qrcode"), {
|
||||||
|
text: "monero:{{page.address}}?tx_payment_id={{page.paymentid}}&tx_description="+qr_description,
|
||||||
|
width: 150,
|
||||||
|
height: 150,
|
||||||
|
colorDark : "#000000",
|
||||||
|
colorLight : "#ffffff",
|
||||||
|
correctLevel : QRCode.CorrectLevel.M
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
10
forum-funding-system/proposals/qr-code-for-fr.md
Normal file
10
forum-funding-system/proposals/qr-code-for-fr.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
layout: ffs-fr
|
||||||
|
title: QR Codes for Funding Required
|
||||||
|
summary: The title says it all!
|
||||||
|
author: m2049r
|
||||||
|
address: 45ttEikQEZWN1m7VxaVN9rjQkpSdmpGZ82GwUps66neQ1PqbQMno4wMY8F5jiDt2GoHzCtMwa7PDPJUJYb1GYrMP4CwAwNp
|
||||||
|
paymentid: 6d32303439722e2e6d32303439722e2e6d32303439722e2e6d32303439722e2e
|
||||||
|
---
|
||||||
|
|
||||||
|
We need QR Codes for the Contribute-Button for "Funding Required" proposals.
|
1
js/qrcode.min.js
vendored
Normal file
1
js/qrcode.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue