Templating

This commit is contained in:
2025-08-08 00:04:07 +02:00
parent e26e85b069
commit 20e3466f2f
9 changed files with 407 additions and 393 deletions

View File

@@ -0,0 +1,16 @@
{{define "storage-info"}}
<div class="storage-info">
<h3>💾 Todays storage usage</h3>
<p>
<small>This resets after 24h</small>
</p>
<div class="progress-bar">
<div class="progress-fill" id="progress-fill" style="width: 0%"></div>
</div>
<div class="storage-stats">
<span id="storage-used">Loading...</span>
<span id="storage-percent">Loading...</span>
<span id="storage-total">Loading...</span>
</div>
</div>
{{end}}