feat: add finance widget and CSS/template updates
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
16
finance.html
Normal file
16
finance.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ template "widget-base.html" . }}
|
||||
|
||||
{{- define "widget-content" }}
|
||||
<ul class="list list-gap-10">
|
||||
{{- range .Data.items }}
|
||||
<li class="flex items-center justify-between">
|
||||
<div class="flex items-center gap-10">
|
||||
<div class="color-highlight size-h3">{{ index . 0 }}</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<div class="size-h3 text-very-compact color-positive">{{ index . 1 }} <span class="color-subdue size-h5">{{ index . 2 }}</span></div>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user