Made print outs bigger

This commit is contained in:
arcbtc 2020-08-10 19:44:55 +01:00
parent c56784340e
commit 97a13526d9
2 changed files with 6 additions and 7 deletions

View file

@ -7,14 +7,13 @@
<page size="A4" id="pdfprint">
<table style="width: 100%;">
{% for threes in page %}
<tr style="height: 37.125mm;">
<tr style="height: 59.4mm;">
{% for one in threes %}
<td style="width: 52.5mm;">
<td style="width: 105mm;">
<center>
<h3 class="q-mb-md"></h3>
<qrcode
:value="theurl + '/lnurlwallet?lightning={{one.lnurl}}'"
:options="{width: 110}"
:options="{width: 150}"
></qrcode>
</center>
</td>
@ -73,7 +72,7 @@
show: true,
data: null
}
};
}
}
})
</script>

View file

@ -31,6 +31,6 @@ def print_qr(link_id):
for x in link.usescsv.split(","):
linkk = get_withdraw_link(link_id, x) or abort(HTTPStatus.NOT_FOUND, "Withdraw link does not exist.")
links.append(linkk)
page_link = list(chunks(links, 4))
linked = list(chunks(page_link, 8))
page_link = list(chunks(links, 2))
linked = list(chunks(page_link, 5))
return render_template("withdraw/print_qr.html", link=linked, unique=True)