2024-09-22 14:27:13 +01:00
|
|
|
{{ partial "table.html" }}
|
2024-09-23 20:11:25 +01:00
|
|
|
<div id = '{{ .Get "id" }}--container'>
|
2024-09-10 09:15:00 +01:00
|
|
|
<script>
|
2024-09-22 14:27:13 +01:00
|
|
|
document.addEventListener("DOMContentLoaded", function () {
|
2024-11-07 21:40:07 +00:00
|
|
|
createTable({{ .Get "endpoint" }}, {{ .Get "id" }}, {{ .Get "headers" | safeJS }}, {{ .Get "maxHeight" }}, {{ .Get "sortable" }}, {{ .Get "valueId" }}, {{ .Get "selectableRows" }}, '{{ .Get "targets" }}'.split(" "), {{ .Get "defaultFirstSelected" | safeJS }})
|
2024-09-22 14:27:13 +01:00
|
|
|
});
|
2024-09-10 09:15:00 +01:00
|
|
|
</script>
|
2024-09-22 14:27:13 +01:00
|
|
|
</div>
|