mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 04:46:18 +02:00
Made print outs bigger
This commit is contained in:
@@ -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>
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user