lingo: use pk-data-table styles for invoices tables (#71407)
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good Details

This commit is contained in:
Thomas Jund 2022-11-17 11:58:26 +01:00
parent 6c47399d87
commit 67ba018b2d
3 changed files with 4 additions and 21 deletions

View File

@ -434,11 +434,7 @@ form ul.errorlist.nonfield {
}
// lingo cells
table.invoices th.invoice-amount {
text-align: right;
padding-right: 0.7em;
}
table.invoices th.invoice-amount,
td.amount {
text-align: right;
}
@ -446,19 +442,6 @@ td.amount {
table.invoices {
width: 100%;
th {
text-align: left;
padding: 0.3em;
}
td {
padding: 0.3em 0.7em;
}
tr:nth-child(even) {
background: #eee;
}
td:last-child {
width: 8em;
line-height: 150%;

View File

@ -11,7 +11,7 @@
<div>
{% if data.factures %}
<table class="invoices">
<table class="invoices pk-data-table pk-table-zebra">
<thead>
<tr><th>N° de facture</th><th>Montant<th></tr>
</thead>

View File

@ -25,7 +25,7 @@
<div class="grid-2-3"><p>{{ facture.reste_a_payer }} €</p></div>
<div class="grid-1-3"><p>État</p></div>
<div class="grid-2-3"><p>{{ facture.etat|upper }}</p></div>
<table class="invoices"><tbody>
<table class="invoices pk-data-table pk-table-zebra"><tbody>
<tr><th>Libellé</th><th>Montant</th></tr>
{% for creance in facture.creances %}
<tr><td>{{ creance.libelle }}</td><td>{{ creance.montant }} €</td></tr>
@ -53,7 +53,7 @@
<input type="hidden" name="error_url" value="{{ cell.page.get_online_url }}">
{% endif %}
<table class="invoices"><tbody>
<table class="invoices pk-data-table pk-table-zebra"><tbody>
<tr>
{% if parameters.paiement_actif %}<th></th>{% endif %}
<th>N° de facture</th>