145 lines
4.8 KiB
PHP
145 lines
4.8 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<title>Document</title>
|
|
|
|
<style>
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.card-to-print {
|
|
max-width: 3391px; /* 90cm */
|
|
max-height: 1512px; /* 40cm */
|
|
background-color: #fff;
|
|
margin: auto;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
padding: 20px;
|
|
}
|
|
|
|
#circulo {
|
|
width: 20px; /*Largura do círculo */
|
|
height: 20px; /* Altura do círculo */
|
|
background-color: red; /* Cor do círculo */
|
|
border-radius: 50%; /* Faz com que os cantos sejam totalmente arredondados, criando um círculo */
|
|
/* position: absolute; */
|
|
/* top: 100px; */
|
|
/* padding-top: 10px; */
|
|
/* left: 20px; */
|
|
/* top: 30%; */
|
|
/* transform: translateY(50%); */
|
|
}
|
|
|
|
.top {
|
|
/* Estilos para a div top */
|
|
}
|
|
|
|
.custom-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: 10px;
|
|
}
|
|
.col-sm {
|
|
flex: 0 0 auto;
|
|
width: 33.33333%;
|
|
text-align: center;
|
|
}
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="card-to-print">
|
|
<div class="top">
|
|
</div>
|
|
|
|
<div class="custom-row">
|
|
{{-- <div class="col-sm text-center" style="position: relative; background-color: #09255C;">
|
|
<div id="circulo"></div>
|
|
<!-- Restante do seu HTML -->
|
|
</div> --}}
|
|
<div class="col-sm text-center"
|
|
style="display: flex; align-items: center; justify-content: center; background-color: #09255C; position: relative;">
|
|
<div id="circulo"></div>
|
|
{{-- <img style="width:50px;"
|
|
src="{{ asset('img/ispt/4.0/Ispt4.0_Símbolo_Fundo_Azul-Marinho@2x-100.jpg') }}"
|
|
alt="imagem nao encontrada"> --}}
|
|
<div style="line-height: 2.5; color: white;">ISPT 4.0</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="custom-row" style="margin-top: 10px;">
|
|
|
|
<div class="col-sm qrcode-output" style="padding-left: 13px;"
|
|
Qr-Code
|
|
{{-- data-equipment-id="{{ $associatedEquipment->id }}" --}}
|
|
{{-- data-component-tag="{{ $associatedEquipment->component_tag }}"> --}}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="custom-row">
|
|
<div class="col-sm text-center">
|
|
<div style="margin-bottom: 13px;font-size: 1.1rem;color: #00B0EA">
|
|
<b>TAG</b>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Serve para receber o conteudo que tem apos a @ --}}
|
|
<div class="custom-row">
|
|
<div class="col-sm text-center">
|
|
<div style="font-size: 1.1rem;color: #00B0EA">
|
|
{{ $detailsEquipment->equipment_tag }}
|
|
Parte do Equipamento (Corpo)
|
|
{{-- {{ explode('@', $associatedEquipment->component_tag)[1] }} --}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="custom-row">
|
|
<div class="col-sm text-center">
|
|
<h6 style="line-height: 2.5;margin-block-end: 0;color: #00B0EA;">
|
|
Tipo de Equipamento
|
|
{{-- {{ $equipment->equipmentType->equipment_type_name }} --}}
|
|
</h6>
|
|
</div>
|
|
<div class="col-sm text-center">
|
|
<h6 style="line-height: 2.5;margin-block-end: 0; color: #00B0EA;">
|
|
Fabrica
|
|
{{-- {{ $equipment->unit->unit_name }} --}}
|
|
</h6>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Imagens demoram muito a carregar , ver oque da para fazer --}}
|
|
<div class="custom-row" style="margin-top: 10px;">
|
|
<div class="col-sm text-center">
|
|
{{ $detailsEquipment->equipment_tag }}
|
|
Logo ISPT
|
|
{{-- <img style="width: 25px;" src="{{ asset('img/ispt/4.0/galpLogo1.png') }}"
|
|
alt="Imagem nao encontrada galp "> --}}
|
|
</div>
|
|
<div class="col-sm text-center">
|
|
{{ $detailsEquipment->equipment_tag }}
|
|
Logo Empresa
|
|
{{-- <img style="width: 20px;"
|
|
src="{{ asset('img/ispt/4.0/isptLogoVertical.png') }}"
|
|
alt="Imagem nao contrada Ispt"> --}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|