improve pdf generation

This commit is contained in:
phail
2022-04-26 23:25:48 +02:00
parent a2b5b3b253
commit c8081595c4
2 changed files with 80 additions and 76 deletions

View File

@@ -12,25 +12,25 @@
<!-- Header -->
<div class="grid grid-rows-5 grid-cols-12 gap-x-2 bg-slate-200 p-4">
<div class="col-start-11 col-span-2 row-start-1 text-right">23.04.2022 18:18</div>
<div class="col-start-11 col-span-2 row-start-1 text-right">{{ date }}</div>
<div class="col-start-1 row-start-1 text-slate-400 text-right">From</div>
<div class="col-start-2 col-span-8 row-start 1">{{ from }}</div>
<div class="col-start-1 row-start-2 text-slate-400 text-right">Subject</div>
<div class=" col-start-2 col-span-10 row-start 2 font-bold">{{ Subject }}
<div class=" col-start-2 col-span-10 row-start 2 font-bold">{{ subject }}
</div>
<div class="col-start-1 row-start-3 text-slate-400 text-right">To</div>
<div class="col-start-2 col-span-10 row-start 3">{{ To }}
<div class="col-start-2 col-span-10 row-start 3">{{ to }}
</div>
<div class="col-start-1 row-start-4 text-slate-400 text-right">CC</div>
<div class="col-start-2 col-span-10 row-start 4">{{ CC }}
<div class="col-start-2 col-span-10 row-start 4">{{ cc }}
</div>
<div class="col-start-1 row-start-5 text-slate-400 text-right">BCC</div>
<div class="col-start-2 col-span-10 row-start 5">{{ BCC }}
<div class="col-start-2 col-span-10 row-start 5">{{ bcc }}
</div>
</div>