146 lines
No EOL
3.4 KiB
PHP
146 lines
No EOL
3.4 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<base href="{{ url('/') }}">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>STERN TOURS</title>
|
|
<style>
|
|
|
|
/*DIN LANG*/
|
|
@font-face {
|
|
font-family: "Source Sans 3";
|
|
src: url("fonts/source-sans-3-v15-latin-regular.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url('fonts/source-sans-3-v15-latin-500.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('fonts/source-sans-3-v15-latin-600.ttf') format('truetype');
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Sans 3';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('fonts/source-sans-3-v15-latin-700.ttf') format('truetype');
|
|
}
|
|
html {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
color: #000;
|
|
font-size: 9pt;
|
|
line-height: 1.1em;
|
|
font-weight: 400 ;
|
|
font-family: "Source Sans 3", serif;
|
|
}
|
|
table {
|
|
border: none;
|
|
}
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
u {
|
|
text-decoration: none;
|
|
}
|
|
@page {
|
|
margin: 20mm 15mm 22mm 15mm;
|
|
color:#000;
|
|
}
|
|
|
|
|
|
header {
|
|
position: fixed;
|
|
top:-20mm;
|
|
right: 0mm;
|
|
width: 100mm;
|
|
height: 20mm;
|
|
text-align: right;
|
|
}
|
|
header img {
|
|
padding-top: 6mm;
|
|
height: 10mm;
|
|
}
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: -16mm;
|
|
left: 0;
|
|
right: 0;
|
|
height: 10mm;
|
|
padding-top: 2mm;
|
|
border-top: 0.25pt solid #000;
|
|
font-size: 8.5pt;
|
|
line-height: 1em;
|
|
|
|
/** Extra personal styles **/
|
|
}
|
|
|
|
footer table {
|
|
width: 100%;
|
|
}
|
|
|
|
footer table td {
|
|
vertical-align: top;
|
|
width: 33.33%;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.page_break { page-break-before: always; }
|
|
|
|
#pdf-page {
|
|
position: relative;
|
|
}
|
|
|
|
a {
|
|
color: #648859 !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<script type="text/php">
|
|
if (isset($pdf)) {
|
|
$font = null;
|
|
$size = 8;
|
|
$color = array(0,0,0);
|
|
$word_space = 0.0; // default
|
|
$char_space = 0.0; // default
|
|
$angle = 0.0; // default
|
|
$text = "{PAGE_NUM} / {PAGE_COUNT}";
|
|
$y = $pdf->get_height() - 65;
|
|
$x = $pdf->get_width() - 60;
|
|
$pdf->page_text($x, $y, $text, $font, $size, $color, $word_space, $char_space, $angle);
|
|
}
|
|
</script>
|
|
<header>
|
|
</header>
|
|
<footer>
|
|
|
|
</footer>
|
|
<main>
|
|
<div id="pdf-page">
|
|
@yield('content')
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html> |