This commit is contained in:
Cayo Puigdefabregas 2023-02-23 17:07:00 +01:00
parent 80013bcc90
commit 26f8d191fb
1 changed files with 24 additions and 21 deletions

View File

@ -36,6 +36,11 @@
header { header {
position: running(header); position: running(header);
/*height: 100px;*/ /*height: 100px;*/
font-size: 12px;
/* color: #000; */
font-family: Arial;
width: 100%;
/* position: relative;*/
} }
footer { footer {
@ -150,7 +155,7 @@
<tbody> <tbody>
<tr style="padding-top:5px;"> <tr style="padding-top:5px;">
<td style="width:20%;"> <td style="width:20%;">
<span>N&deg; of devices:</span> <span>N&deg; of computers:</span>
</td> </td>
<td style="width:80%;"> <td style="width:80%;">
<span>16</span> <span>16</span>
@ -245,34 +250,32 @@
</div> </div>
<div class="row mt-3"> <div class="row mt-3">
<div class="col"> <div class="col">
<table class="table text-center"> <table class="table" style="width: 100%; text-align: center;">
<thead class="border-bottom border-dark"> <thead style="border-bottom: 1px solid #000;">
<tr> <tr>
<th scope="col">SN Device</th>
<th scope="col">SN Storage</th> <th scope="col">SN Storage</th>
<th scope="col">Tag Customer</th>
<th scope="col">Method</th> <th scope="col">Method</th>
<th scope="col">Result</th> <th scope="col">Result</th>
<th scope="col">Date</th> <th scope="col">Date</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> {% for erasure in erasures %}
<td>S1...</td> <tr style="border-bottom: 1px dashed #000;">
<td>S2...</td> <td>
<td>ACME1</td> {{ erasure.device.serial_number.upper() }}
<td>Basic</td> </td>
<td>Failed</td> <td>
<td>2022-12-20 11:26:24</td> {{ erasure.type }}
</tr> </td>
<tr> <td>
<td>S1...</td> {{ erasure.severity }}
<td>1927E18B43F4</td> </td>
<td>ACME1</td> <td>
<td>Basic</td> {{ erasure.date_str }}
<td>Failed</td> </td>
<td>2022-12-20 11:26:24</td>
</tr> </tr>
{% endfor %}
</tbody> </tbody>
</table> </table>
</div> </div>