174 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>INFORMACIÓN DE PERSONAS CON ARMAS ASIGNADAS</title>
<style>
table {
overflow-x: auto;
border-collapse: collapse;
table-layout: fixed;
width: 50%;
}
table th,
td {
padding: 5px;
max-width: 400px;
word-wrap: break-word;
white-space: inherit;
}
table p {
text-align: center;
font-size: 10px;
font-weight: bold;
margin-bottom: 0px;
margin-top: 0px;
}
.bodertabla {
border: 1px solid black;
}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td colspan="5" style="padding: 10px; text-align:center;"><img src="{{img_uno}}" alt="icon" width="60"
height="80"></td>
<td colspan="8">
<p style="margin-top: 0px;">REPÚPLICA BOLIVARIANA DE VENEZUELA</p>
<p style="margin-top: 0px;">MINISTERIO DEL PODER POPULAR PARA LA DEFENSA</p>
<p style="margin-top: 0px;">EJÉRCITO BOLIVARIANO</p>
<p style="margin-top: 0px;">SERVICIO DE ARMAMENTO</p>
</td>
<td colspan="5" style="padding: 20px;"><img src="{{img_dos}}" width="70"></td>
</tr>
</tbody>
<tbody>
<tr>
<td colspan="4" style="text-align: left;">Codigo-D : {{person.code}}</td>
<td colspan="5" style="text-align: center;">Serial-AG: {{person.serialAG}}</td>
<td colspan="4" style="text-align: center;">Fecha-AG : {{person.fechaAG|date:"d/m/Y"}} </td>
<td colspan="4" style="text-align: right;">{{fecha}}</td>
</tr>
</tbody>
</table>
<table class="bodertabla">
<thead>
<tr>
<th colspan="15" style="padding: 10px; border: 1px solid black">
PERFIL DE LA PERSONA CON ARMAMENTO ASIGNADO
</th>
</tr>
</thead>
<thead>
<tr>
<th colspan="3">GRADO</th>
<th colspan="3">CATEGORIA</th>
<th colspan="3">NOMBRES Y APELLIDOS</th>
<th colspan="3">CEDULA</th>
<th colspan="3">AÑO</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3" style="width: auto; text-align: center;">{{person.grado}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.categoria}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.datos}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.cedula}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.anio}}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="3" style="width: auto;">PROMOCIÓN</th>
<th colspan="3" style="width: auto;">UNIDAD</th>
<th colspan="3" style="width: auto;">DIRECCIÓN</th>
<th colspan="3" style="width: auto;">TELEFONO</th>
<th colspan="3" style="width: auto;">CORREO</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="3" style="width: auto; text-align: center;">{{person.promocion}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.unidad}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.direccion}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.telefono}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.correo}}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="6" style="width: auto;">ARMA ASIGNADAS</th>
<th colspan="3" style="width: auto;">SERIAL</th>
<th colspan="3" style="width: auto;">CARGADORES</th>
<th colspan="3" style="width: auto;">MUNICIONES</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="6" style="width: auto; text-align: center;">{{person.armaA}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.serialA}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.cargadores}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.municiones}}</td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="15" style="padding: 10px;">OTRO ARMAMENTO</th>
</tr>
</thead>
<thead>
<tr>
<th colspan="3" style="width: auto;">ARMA ASIGNADAS</th>
<th colspan="3" style="width: auto;">MODELO</th>
<th colspan="3" style="width: auto;">SERIAL</th>
<th colspan="3" style="width: auto;">CARGADORES</th>
<th colspan="3" style="width: auto;">MUNICIONES</th>
</tr>
</thead>
<tbody>
{% for person in armas %}
<tr>
<td colspan="3" style="width: auto; text-align: center;">{{person.armas}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.modelo}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.serial}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.cargadores}}</td>
<td colspan="3" style="width: auto; text-align: center;">{{person.municiones}}</td>
</tr>
{% endfor %}
</tbody>
</table>
<table>
<tbody>
<tr>
<td colspan="5" style="height: 150px;"></td>
<td colspan="5"></td>
<td colspan="5"></td>
</tr>
</tbody>
<thead>
<tr>
<th colspan="5" style="padding: 10px;">FIRMA1</th>
<th colspan="5" style="padding: 10px;">FIRMA2</th>
<th colspan="5" style="padding: 10px;">FIRMA3</th>
</tr>
</thead>
</table>
</body>
</html>