1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/resources/views/pdf-designs/playful.html

68 lines
2.2 KiB
HTML
Raw Normal View History

2020-07-21 19:00:17 +02:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="stylesheet" href="$css" />
<link
href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
rel="stylesheet"
/>
</head>
<style>
#product-table tbody > tr > td:first-child {
color: #9b2c2c;
}
#product-table tbody > tr > td:last-child {
font-weight: bold;
}
</style>
<body class="$global-margin antialiased bg-white break-words">
<!-- Company logo, entity details -->
<div class="grid grid-cols-12 gap-4">
<div class="col-span-4">
<img
src="$company-logo"
alt="$company-name logo"
class="w-24 col-span-4 sm:w-32"
/>
</div>
<div class="col-span-5 col-start-8 p-5 bg-teal-600 rounded-lg">
<table id="entity-details" class="text-white"></table>
</div>
</div>
<!-- Company details, client details -->
<div class="grid grid-cols-12 gap-12 mt-12">
<div class="col-span-6">
<p class="px-4 font-semibold text-teal-600">$to:</p>
<div
class="p-4 mt-4 border-t-4 border-b-4 border-teal-600 border-dashed"
>
<div id="client-details"></div>
</div>
</div>
<div class="col-span-6">
<p class="px-4 font-semibold text-teal-600">$from:</p>
<div
class="flex p-4 mt-4 space-x-4 border-t-4 border-b-4 border-teal-600 border-dashed"
>
<div id="company-details"></div>
<div id="company-address"></div>
</div>
</div>
</div>
<!-- Product table -->
<table id="product-table" class="w-full mt-10 table-auto"></table>
</body>
</html>