Changeset - c289280dd5fd
[Not reviewed]
default
0 2 0
Dennis Fink - 3 years ago 2022-02-25 22:45:07
dennis.fink@c3l.lu
Fix layout
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
c3l_membership/static/pdf.css
Show inline comments
 
@page {
 
  size: A4;
 
  margin-top: 1cm;
 
  margin-top: 0.5cm;
 
  margin-left: 2cm;
 
  margin-right: 2cm;
 
  margin-bottom: 1cm;
 
  margin-bottom: 0.5cm;
 
}
 

	
 
body {
 
  font-size: 1em;
 
}
 

	
 
img {
 
  width: 250px;
 
  display: block;
 
  margin-bottom: 1.5em;
 
  margin-bottom: 1em;
 
}
 

	
 
h1 {
 
  text-decoration: underline;
 
  font-size: 1.2em;
 
}
 

	
 
p {
 
  text-align: justify;
 
  margin-bottom: 1em;
 
}
 

	
 
.logos {
 
  display: flex;
 
  justify-content: space-between;
 
  align-items: center;
 
}
 

	
 
.data {
 
  margin-top: 0;
 
  margin-bottom: 1em;
 
  display: flex;
 
  justify-content: space-between;
 
  flex-direction: column;
 
}
 

	
 
.data > div {
 
  display: flex;
 
  justify-content: space-between;
 
}
 

	
 
.data > div > div:first-child {
 
  font-weight: 700;
 
}
 

	
 
footer {
 
  position: fixed;
 
  bottom: 0;
 
  font-size: 0.75em;
 
  text-align: center;
 
  width: 100%;
 
}
 

	
 
.signature {
 
  padding-top: 1em;
 
  padding-top: 0.5em;
 
}
 

	
 
.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;
 
}
 

	
 
.bank {
c3l_membership/templates/member.html
Show inline comments
 
@@ -106,29 +106,29 @@
 
        <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>
 
    {% 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>
 
    {% 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") }}
 
      </p>
 
    </div>
 
    <footer>
 
      <hr />
 
      <b>C</b>haos <b>C</b>omputer <b>C</b>lub <b>L</b>ëtzebuerg A.S.B.L.<br />
 
      Halle Victor Hugo - 60 Avenue Victor Hugo L-1750 Luxembourg (Europe)<br />
 
      Halle Victor Hugo - 60 Avenue Victor Hugo L-1750 Luxembourg<br />
 
      info@c3l.lu - <a href="https://c3l.lu">http://c3l.lu</a>
 
    </footer>
 
  </body>
 
</html>
0 comments (0 inline, 0 general)