Changeset - 846c20be2a97
[Not reviewed]
crypto
0 2 0
Dennis Fink - 3 years ago 2022-01-18 09:59:56
dennis.fink@c3l.lu
Update class names for cryptostuff
2 files changed with 7 insertions and 8 deletions:
0 comments (0 inline, 0 general)
c3l_membership/static/pdf.css
Show inline comments
 
@@ -87,19 +87,18 @@ footer {
 
    padding: 0;
 
}
 

	
 

	
 
.btccontainer {
 
.cryptocontainer {
 
    display: flex;
 
    justify-content: space-between;
 
}
 

	
 
.btctext {
 
.cryptotext {
 
    list-style-type: none;
 
    margin: 0;
 
    padding: 0;
 
}
 

	
 
.btcqrcode {
 
.cryptoqrcode {
 
    width: 10em;
 
}
 

	
c3l_membership/templates/member.html
Show inline comments
 
@@ -88,17 +88,17 @@
 
    {% elif form.payment.data == 'cash' %}
 
      <p>{% trans %}Please bring {{ price }}€ with you the next time you meet us!{% endtrans %}</p>
 
    {% elif form.payment.data in config["CRYPTOCURRENCIES"] %}
 
      <div class="btccontainer">
 
      <div class="cryptocontainer">
 
        <div>
 
          <ul class="btctext">
 
          <ul class="cryptotext">
 
            <li><b>{% trans %}Address:{% endtrans %}</b> {{ config["CRYPTOCURRENCIES"][form.payment.data]["ADDRESS"] }}</li>
 
            <li><b>{% trans %}Label:{% endtrans %}</b> Membership Fee</li>
 
            <li><b>{% trans %}Message:{% endtrans %}</b> {{ year }} {{ form.username.data }}</li>
 
            <li><b>{% trans %}Amount:{% endtrans %}</b> {{ price }} {{ config["CRYPTOCURRENCIES"][form.payment.data]["COMMODITY"] }}</li>
 
          </ul>
 
        </div>
 
        {% set crypto_url={{ config["CRYPTOCURRENCIES"][form.payment.data]["URL"] }}.format(amount=price, year=year, username=form.username.data) %}
 
        <div><img class="btcqrcode" src="{{ qrcode(crypto_url) }}" /></div>
 
        {% set crypto_url=config["CRYPTOCURRENCIES"][form.payment.data]["URL"].format(amount=price, year=year, username=form.username.data) %}
 
        <div><img class="cryptoqrcode" src="{{ qrcode(crypto_url) }}" /></div>
 
      </div>
 
    {% elif form.payment.data == 'digicash' %}
 
      <div class="digicash">
0 comments (0 inline, 0 general)