Changeset - 8211ce13b42e
[Not reviewed]
default
0 2 0
Dennis Fink - 3 years ago 2022-05-10 23:32:41
dennis.fink@c3l.lu
Make payconiq and satispay qrcode bigger
2 files changed with 16 insertions and 14 deletions:
0 comments (0 inline, 0 general)
c3l_membership/static/pdf.css
Show inline comments
 
@@ -29,12 +29,16 @@ p {
 
.logos {
 
  display: flex;
 
  justify-content: space-between;
 
  align-items: center;
 
}
 

	
 
.logos img {
 
  margin-bottom: 0em;
 
}
 

	
 
.data {
 
  margin-top: 0;
 
  margin-bottom: 1em;
 
  display: flex;
 
  justify-content: space-between;
 
  flex-direction: column;
 
@@ -55,34 +59,30 @@ footer {
 
  font-size: 0.75em;
 
  text-align: center;
 
  width: 100%;
 
}
 

	
 
.signature {
 
  padding-top: 0.5em;
 
  margin-top: 0.25em;
 
  padding-top: 0em;
 
  display: flex;
 
  justify-content: space-evenly;
 
}
 

	
 
.membersignature {
 
  height: 2em;
 
  width: 45%;
 
  border-bottom: 1px solid #000;
 
  padding-bottom: 4em;
 
  margin-top: -1em;
 
  position: relative;
 
  float: left;
 
}
 

	
 
.adminsignature {
 
  height: 2em;
 
  width: 45%;
 
  border-top: 1px solid #000;
 
  padding-top: 1px;
 
  margin-top: 5em;
 
  position: relative;
 
  float: left;
 
  margin-left: 2em;
 
  border-bottom: 1px solid #000;
 
  padding-bottom: 4em;
 
}
 

	
 
.bank {
 
  list-style-type: none;
 
  padding: 0;
 
}
 
@@ -102,21 +102,23 @@ footer {
 
.cryptotext li {
 
  word-break: break-all;
 
  overflow-wrap: break-word;
 
}
 

	
 
.cryptoqrcode {
 
  width: 10em;
 
  width: 12em;
 
  margin-bottom: 0em;
 
}
 

	
 
.digicash {
 
  display: flex;
 
  justify-content: space-evenly;
 
}
 

	
 
.digicash img {
 
  width: 10em;
 
  width: 12em;
 
  margin-bottom: 0em;
 
}
 

	
 
a {
 
  text-decoration: none;
 
}
c3l_membership/templates/member.html
Show inline comments
 
@@ -106,19 +106,19 @@
 
        <div><img class="cryptoqrcode" src="{{ qrcode(crypto_url) }}" /></div>
 
      </div>
 
    {% elif form.payment.data == 'digicash' %}
 
      <div class="digicash">
 
        {% set payconiq_url='https://payconiq.com/t/1/62068d4d71445b0006dfbd5d?A={amount}&R=Membership&D={username}'.format(amount=price, username=form.username.data) %}
 
        <div><p>{% trans %}Pay with DigiCash/Payconiq!{% endtrans %}</p></div>
 
        <div><img class="cryptoqrcode" src="{{ qrcode(payconiq_url) }}" /></div>
 
        <div><img src="{{ qrcode(payconiq_url) }}" /></div>
 
      </div>
 
    {% elif form.payment.data == 'satispay' %}
 
      <div class="digicash">
 
        {% set satispay_url='https://www.satispay.com/app/pay/shops/e5ca1df1-1f72-457e-88a2-7691ab630947?amount={amount}'.format(amount=price) %}
 
        <div><p>{% trans %}Pay with Satispay!{% endtrans %}</p></div>
 
        <div><img class="crpytoqrcode" src="{{ qrcode(satispay_url) }}" /></div>
 
        <div><img src="{{ qrcode(satispay_url) }}" /></div>
 
      </div>
 
    {% endif %}
 
    <div class="signature">
 
      <p class="membersignature">{% trans %}Luxembourg, the{% endtrans %}</p>
 
      <p class="adminsignature">
 
        {{ _("Signature of your legal representative") if form.minor_member.data else _("Your signature") }}
0 comments (0 inline, 0 general)