This commit is contained in:
Christoph Cullmann 2025-07-15 22:39:24 +02:00
parent 7979c40554
commit c2189ef133
No known key found for this signature in database
540 changed files with 6036 additions and 29285 deletions

View file

@ -1,12 +0,0 @@
{{ $id := delimit (slice "chart" (partial "functions/uid.html" .)) "-" }}
<div class="chart">
<canvas id="{{ $id }}"></canvas>
<script type="text/javascript">
window.addEventListener("DOMContentLoaded", (event) => {
const ctx = document.getElementById("{{ $id }}");
const chart = new Chart(ctx, {
{{ .Inner | safeJS }}
});
});
</script>
</div>