Bump version
This commit is contained in:
parent
2d1da2886d
commit
c6cbc8fe70
5 changed files with 100 additions and 6 deletions
|
|
@ -12,9 +12,14 @@ KPI tile. One column of a .row-cols-* grid.
|
|||
A tile whose secondary line is itself markup (a timestamp through
|
||||
yksa/ui/_utc.html, say) builds the same three elements inline with the same
|
||||
classes, as with .yksa-empty.
|
||||
|
||||
It is an ordinary .card. It used to be `border-0 bg-white shadow-sm`, which was a
|
||||
raised white panel in a kit whose every other surface is a bordered flat one, and
|
||||
`bg-white` is a hard-coded light-theme colour besides -- wrong in a dark theme on
|
||||
every service. Depth is not a level of hierarchy this kit has.
|
||||
{% endcomment %}
|
||||
<div class="col">
|
||||
<div class="card h-100 border-0 bg-white shadow-sm">
|
||||
<div class="card h-100">
|
||||
<div class="card-body py-2 px-3{% if accent %} border-start border-{{ accent }} border-3{% endif %}">
|
||||
<div class="yksa-label text-truncate">{{ label }}</div>
|
||||
<div class="yksa-readout fs-4">{{ value }}</div>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ here. A conditional chain choosing a colour inside a template is the bug this
|
|||
partial exists to prevent: it is how the same run status ended up green on one
|
||||
page and grey on another.
|
||||
{% endcomment %}{% state state as s %}{% spaceless %}
|
||||
<span class="yksa-state yksa-state-{{ state|default:'unknown' }}"{% if title %} title="{{ title }}"{% endif %}>
|
||||
<span class="yksa-state yksa-state-{{ s.name }}"{% if title %} title="{{ title }}"{% endif %}>
|
||||
<i class="bi bi-{{ s.icon }}" aria-hidden="true"></i>
|
||||
<span>{{ label|default:s.label }}</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue