19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -9,7 +9,7 @@
<div class="row" id="hash_header">
<div class="col-12">
<br/>
<h2>Hash Integrity Result - <span t-esc="data['printing_date']"/></h2>
<h2>Data Inalterability Check Report - <span t-out="data['printing_date']"/></h2>
<br/>
</div>
</div>
@ -22,29 +22,29 @@
</div>
<div class="row">
<div class="col-12">
<table class="table table-bordered" style="table-layout: fixed" id="hash_config_table">
<table class="table table-borderless" id="hash_config_table">
<thead style="display: table-row-group">
<tr>
<th class="text-center" style="width: 30%" scope="col">Journal</th>
<th class="text-center" style="width: 20%" scope="col">Inalterability check</th>
<th class="text-center" style="width: 50%" scope="col">Coverage</th>
<th style="width: 30%" scope="col">Journal (Sequence Prefix)</th>
<th class="text-center text-nowrap" style="width: 20%" scope="col">Restricted</th>
<th style="width: 50%" scope="col">Check</th>
</tr>
</thead>
<tbody>
<t t-foreach="data['results']" t-as="result">
<tr>
<td>
[<span t-esc="result['journal_code']"/>] <span t-esc="result['journal_name']"/>
<span t-out="result['journal_name']"/>
</td>
<td class="text-center"><span t-esc="result['restricted_by_hash_table']"/></td>
<td><span t-esc="result['msg_cover']"/></td>
<td class="text-center"><span t-out="result['restricted_by_hash_table']"/></td>
<td><span t-out="result['msg_cover']"/></td>
</tr>
</t>
</tbody>
</table>
</div>
</div>
<t t-if="any(result['first_hash'] != 'None' for result in data['results'])">
<t t-if="any(result['status'] == 'verified' for result in data['results'])">
<div class="row" style="page-break-before:always;">
<div class="col-12" id="hash_data_consistency">
<br/>
@ -54,30 +54,30 @@
</div>
<div class="row">
<div class="col-12" id="hash_data_consistency_table">
<table class="table table-bordered" style="table-layout: fixed">
<thead style="display: table-row-group">
<table class="table table-borderless">
<thead style="display: table-row-group; border-bottom: 1px solid black;">
<tr>
<th class="text-center" style="width: 20%" scope="col">Journal</th>
<th class="text-center" style="width: 20%" scope="col">First Hash</th>
<th class="text-center" style="width: 20%" scope="col">First Entry</th>
<th class="text-center" style="width: 20%" scope="col">Last Hash</th>
<th class="text-center" style="width: 20%" scope="col">Last Entry</th>
<th class="text-start fw-bold" style="width: 20%" scope="col">Journal</th>
<th class="text-start fw-bold" style="width: 20%" scope="col">First Hash</th>
<th class="text-start fw-bold" style="width: 20%" scope="col">First Entry</th>
<th class="text-start fw-bold" style="width: 20%" scope="col">Last Hash</th>
<th class="text-start fw-bold" style="width: 20%" scope="col">Last Entry</th>
</tr>
</thead>
<tbody>
<t t-foreach="data['results']" t-as="result">
<t t-if="result['first_hash'] != 'None'">
<tr>
<td><span t-esc="result['journal_code']"/></td>
<td><span t-esc="result['first_hash']"/></td>
<td>
<span t-esc="result['first_move_name']"/> <br/>
<span t-esc="result['first_move_date']"/>
<t t-if="result['status'] == 'verified'">
<tr style="border-bottom: 1px solid lightgrey;">
<td class="align-top"><span t-out="result['journal_name']"/></td>
<td class="align-top text-break"><span t-out="result['first_hash']"/></td>
<td class="align-top">
<span t-out="result['first_move_name']"/> <br/>
<span t-out="result['first_move_date']"/>
</td>
<td><span t-esc="result['last_hash']"/></td>
<td>
<span t-esc="result['last_move_name']"/> <br/>
<span t-esc="result['last_move_date']"/>
<td class="align-top text-break"><span t-out="result['last_hash']"/></td>
<td class="align-top">
<span t-out="result['last_move_name']"/> <br/>
<span t-out="result['last_move_date']"/>
</td>
</tr>
</t>