1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 14:42:42 +01:00
invoiceninja/resources/views/pdf-designs/creative.html

78 lines
2.3 KiB
HTML
Raw Normal View History

2020-07-21 18:29:20 +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" />
2020-08-12 19:14:22 +02:00
<link rel="stylesheet" href="$app_url/css/tailwindcss@1.4.6.css" />
2020-07-21 18:29:20 +02:00
</head>
<style>
#product-table tbody > tr:nth-child(even) {
background-color: #edf2f7;
}
2020-07-21 19:00:17 +02:00
#product-table tbody > tr:nth-child(odd) {
2020-07-21 18:29:20 +02:00
background-color: #f7fafc;
}
/** Required for proper margins on print **/
@page {
margin-top: 8.5mm;
margin-bottom: 8.5mm;
}
/** Custom CSS goes here.. */
2020-07-21 18:29:20 +02:00
</style>
<body class="$global-margin antialiased bg-white break-words">
<!-- Client details, company details, company logo -->
2020-08-26 12:51:54 +02:00
<div class="grid grid-cols-12 gap-4" id="header">
2020-07-21 18:29:20 +02:00
<!-- Client details -->
<div class="col-span-4">
<div id="client-details"></div>
</div>
<!-- Company details -->
<div class="flex flex-col col-span-4 space-y-4">
<div id="company-details"></div>
<div id="company-address"></div>
</div>
<!-- Logo -->
<div class="flex flex-col items-end col-span-4">
<img
2020-08-05 14:34:22 +02:00
src="$company.logo"
alt="$company.name logo"
2020-07-21 18:29:20 +02:00
class="w-24 col-span-4 sm:w-32"
/>
</div>
</div>
<!-- Entity label, entity details -->
<div class="grid grid-cols-12 mt-10">
<!-- Entity number -->
<div class="col-span-4 text-3xl font-semibold uppercase">
2020-08-07 17:47:17 +02:00
<span>$entity_label</span>
<i class="text-pink-700">#$entity_number</i>
2020-07-21 18:29:20 +02:00
</div>
<!-- Entity labels -->
<div class="flex flex-col items-end col-span-8">
<table id="entity-details"></table>
</div>
</div>
<table
id="product-table"
class="w-full mt-10 border-t-4 border-pink-700 table-auto $table-padding"
2020-07-21 18:29:20 +02:00
></table>
</body>
<footer id="footer"></footer>
2020-07-21 18:29:20 +02:00
</html>