init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,225 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
main {
display: block;
}
fieldset {
border-radius: 2px;
border: 1px solid #222222;
margin: 0px 0px 15px 0px;
padding: 5px;
}
fieldset > legend {
font-weight: bold;
}
table {
border-collapse: collapse;
width: 100%;
}
th {
font-family: sans-serif;
}
td {
vertical-align: top;
}
/* Page */
.page {
page-break-before: always;
}
/* Grid */
.row {
display: table;
width: 100%;
}
.col-1 {
display: table-cell;
width: 8.33333%;
}
.col-2 {
display: table-cell;
width: 16.66667%;
}
.col-3 {
display: table-cell;
width: 25%;
}
.col-4 {
display: table-cell;
width: 33.33333%;
}
.col-5 {
display: table-cell;
width: 41.66667%;
}
.col-6 {
display: table-cell;
width: 50%;
}
.col-7 {
display: table-cell;
width: 58.33333%;
}
.col-8 {
display: table-cell;
width: 66.66667%;
}
.col-9 {
display: table-cell;
width: 75%;
}
.col-10 {
display: table-cell;
width: 83.33333%;
}
.col-11 {
display: table-cell;
width: 91.66667%;
}
.col-12 {
display: table-cell;
width: 100%;
}
/* Margins */
.ma-0 {
margin: 0px;
}
.ma-1 {
margin: 15px;
}
.ma-2 {
margin: 30px;
}
.mt-0 {
margin-top: 0px;
}
.mt-1 {
margin-top: 15px;
}
.mt-2 {
margin-top: 30px;
}
.mr-0 {
margin-right: 0px;
}
.mr-1 {
margin-right: 15px;
}
.mr-2 {
margin-right: 30px;
}
.mb-0 {
margin-bottom: 0px;
}
.mb-1 {
margin-bottom: 15px;
}
.mb-2 {
margin-bottom: 30px;
}
.ml-0 {
margin-left: 0px;
}
.ml-1 {
margin-left: 15px;
}
.ml-2 {
margin-left: 30px;
}
/* Padding */
.pa-0 {
padding: 0px;
}
.pa-1 {
padding: 15px;
}
.pa-2 {
padding: 30px;
}
.pt-0 {
padding-top: 0px;
}
.pt-1 {
padding-top: 15px;
}
.pt-2 {
padding-top: 30px;
}
.pr-0 {
padding-right: 0px;
}
.pr-1 {
padding-right: 15px;
}
.pr-2 {
padding-right: 30px;
}
.pb-0 {
padding-bottom: 0px;
}
.pb-1 {
padding-bottom: 15px;
}
.pb-2 {
padding-bottom: 30px;
}
.pl-0 {
padding-left: 0px;
}
.pl-1 {
padding-left: 15px;
}
.pl-2 {
padding-left: 30px;
}
/* Table */
.table {
border: 1px solid #222222;
}
.table td,
.table th {
border: 1px solid #222;
padding: 5px;
vertical-align: middle;
}
.table th {
background: rgba(0,0,0,0.2);
text-align: left;
}
.table thead td {
background: rgba(0,0,0,0.4);
text-align: left;
}
.table tbody tr:nth-child(odd) td {
background: rgba(0,0,0,0.1);
}
/* Others */
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-center {
text-align: center;
}
</style>
</head>
<body>
<main>
@yield('conteudo')
</main>
</body>
</html>

View File

@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
footer {
color: #222222;
display: block;
font-family: Helvetica;
font-size: 14px;
padding-top: 5mm;
}
.footer {
border-top: 2px solid #000000;
width: 100%;
}
.footer-left {
text-align: left;
line-height: 5px;
}
.footer-right {
text-align: right;
line-height: 5px;
}
</style>
</head>
<body>
<footer>
<table class="footer">
<tr>
<td class="footer-left">
<p>{{ $_data['cliente']['sistema']['nome'] }} {{ $_data['cliente']['sistema']['versao'] }}</p>
<p>Página <span id="page"></span> de <span id="topage"></span></p>
</td>
<td class="footer-right">
<p>{{ ($paraAssinar ?? false ) ? 'Gerado' : 'Impresso' }} por: {{ $_data['usuario']['cidadao']['nome'] }}</p>
<p>Data/hora da {{ ($paraAssinar ?? false ) ? 'geração' : 'impressão' }}: {{ $_data['data_impressao'] }}</p>
<p>Página <span id="page"></span> de <span id="topage"></span></p>
</td>
</tr>
</table>
</footer>
<script>
var vars = {};
var x = window.location.search.substring(1).split('&');
for (var i in x) {
var z = x[i].split('=',2);
vars[z[0]] = unescape(z[1]);
}
document.getElementById('page').innerHTML = vars.page;
document.getElementById('topage').innerHTML = vars.topage;
</script>
</body>
</html>

View File

@@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
header {
color: #222222;
display: block;
font-family: Helvetica;
font-size: 16px;
padding-bottom: 5mm;
}
.header {
border-bottom: 2px solid #000000;
width: 100%;
}
.header-left {
text-align: center;
vertical-align: middle;
width: 20%;
}
.header-left img {
width: 80px;
}
.header-right {
line-height: 8px;
vertical-align: top;
font-size:13px;
}
.title {
margin: 5mm 0 0 0;
text-align: center;
}
.title-endereco {
line-height: 4mm;
}
#logotipo {
width: 50px;
}
</style>
</head>
<body>
<header>
<table class="header">
<tr>
<td class="header-left">
@if ($_data['cliente']['logotipo'] && ($paraAssinar ?? false) === false)
<img
alt="Logotipo"
id="logotipo"
src="data:image/png;base64, {{ $_data['cliente']['logotipo'] }}"
/>
@endif
</td>
<td class="header-right">
<p>Prefeitura de {{ $_data['cliente']['nome'] }} - Secretaria Municipal de {{ $_data['cliente']['sistema']['ramo_atividade']['nome'] }}</p>
<p>{{ $_data['infraestrutura']['unidade']['nome_fantasia'] }} - {{ $_data['infraestrutura']['telefone'] }}</p>
</td>
</tr>
</table>
<h2 class="title">{{ $title }}</h2>
</header>
</body>
</html>