Update dates
This commit is contained in:
parent
65df9aae18
commit
93a800bf79
3 changed files with 5 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
||||||
--border: .5em;
|
--border: .5em;
|
||||||
--radius: .25em;
|
--radius: .25em;
|
||||||
|
|
||||||
--num: "tnum", "ss01", "case";
|
--num: "tnum", "ss01", "ss02", "case";
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
@ -32,8 +32,10 @@
|
||||||
.plot td.m {
|
.plot td.m {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.plot tbody th {
|
||||||
|
font-feature-settings: var(--num);
|
||||||
|
}
|
||||||
.plot td.value {
|
.plot td.value {
|
||||||
padding: 0 var(--gap);
|
|
||||||
font-feature-settings: var(--num);
|
font-feature-settings: var(--num);
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{% spaceless %}
|
{% spaceless %}
|
||||||
{% for date in history.data %}
|
{% for date in history.data %}
|
||||||
<tr>
|
<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="value">{{ date.sum_m|pmrvalue }}</td>
|
||||||
<td class="bar m">
|
<td class="bar m">
|
||||||
<div style="width: {% widthratio date.sum_m history.max -100 %}%"></div>
|
<div style="width: {% widthratio date.sum_m history.max -100 %}%"></div>
|
||||||
|
|
Loading…
Reference in a new issue