97 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lista General de Armas</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="12" style="text-align: left;">Codigo-D : {{brigada.code}}</td>
<td colspan="5" style="text-align: right;">{{fecha}}</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th colspan="15" style="padding: 10px;">
LISTA DE MUNICIONES ASIGNADAS A LA {{batallones.nombreB}}
</th>
</tr>
</thead>
</table>
<table class="bodertabla">
<thead>
<tr>
<th colspan="4">TIPO MUNICIÓN</th>
<th colspan="3">SERIAL-AG</th>
<th colspan="3">FECHA-AG</th>
<th colspan="2">CANTIDAD-M</th>
<th colspan="3">LOTE</th>
</tr>
</thead>
<tbody>
{% for municion in municion %}
<tr>
<td colspan="4">{{municion.tipoM}}</td>
<td colspan="3">{{municion.serialAG}}</td>
<td colspan="3">{{municion.fechaAG|date:'d/m/Y'}}</td>
<td colspan="2">{{municion.cantidadM}}</td>
<td colspan="3">{{municion.lote}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>