78 lines
1.3 KiB
HTML
78 lines
1.3 KiB
HTML
<html>
|
|
<head>
|
|
|
|
<style>
|
|
@page {
|
|
margin: 0cm;
|
|
size: 4in 6in;
|
|
}
|
|
|
|
html, body {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: "Noto Mono", monospace;
|
|
font-size: 16pt;
|
|
background: #eee;
|
|
}
|
|
|
|
.container {
|
|
background: white;
|
|
overflow: hidden;
|
|
transform-origin: top left;
|
|
transform: rotate(90deg) translate(0, -100%);
|
|
/* transform: rotate(-90deg) translate(-100%, 0); */
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 6in;
|
|
height: 4in;
|
|
}
|
|
|
|
.line {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
width: 14.5cm;
|
|
padding: 0.5cm;
|
|
}
|
|
|
|
.mark {
|
|
border: 2pt dashed #000;
|
|
}
|
|
|
|
.idline {
|
|
font-size: 35pt;
|
|
}
|
|
|
|
.idline small {
|
|
color: #555;
|
|
display: block;
|
|
font-size: 9pt;
|
|
}
|
|
|
|
.address {
|
|
padding-top: 10pt;
|
|
color: #555;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="line idline">
|
|
<small>Warszawski Hackerspace / <u>https://covid.hackerspace.pl</u></small>
|
|
{{ model.faceshield_full_delivered }} <b>#{{ model.id }}</b>
|
|
</div>
|
|
<div class="line mark">
|
|
{{ model.entity_info }}<br />
|
|
<div class="address">
|
|
{{ model.shipping_street }}<br />{{ model.shipping_postalcode }} {{ model.shipping_city }}
|
|
</div>
|
|
</div>
|
|
<div class="line">
|
|
{{ model.full_name }} {{ model.phone_number }}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|