Update dates

This commit is contained in:
Edgar P. Burkhart 2023-04-17 18:22:16 +02:00
parent 65df9aae18
commit 93a800bf79
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 5 additions and 3 deletions

View file

@ -36,7 +36,7 @@
--border: .5em;
--radius: .25em;
--num: "tnum", "ss01", "case";
--num: "tnum", "ss01", "ss02", "case";
}
body {

View file

@ -32,8 +32,10 @@
.plot td.m {
text-align: right;
}
.plot tbody th {
font-feature-settings: var(--num);
}
.plot td.value {
padding: 0 var(--gap);
font-feature-settings: var(--num);
text-align: right;
}

View file

@ -13,7 +13,7 @@
{% spaceless %}
{% for date in history.data %}
<tr>
<th scope="row">{{ date.month|date:"M y" }}</th>
<th scope="row">{{ date.month|date:"Y-m" }}</th>
<td class="value">{{ date.sum_m|pmrvalue }}</td>
<td class="bar m">
<div style="width: {% widthratio date.sum_m history.max -100 %}%"></div>