Notes2/views/pages/sync.gotmpl
Magnus Åhall 04c101982f wip
2024-12-03 13:56:38 +01:00

16 lines
309 B
Go Template

{{ define "page" }}
<div style="margin: 32px">
<h1>Sync</h1>
<script type="module">
import { NodeStore } from 'node_store'
import { Sync } from 'sync'
window.Sync = Sync
window.nodeStore = new NodeStore()
window.nodeStore.initializeDB().then(()=>{
Sync.tree()
})
</script>
</div>
{{ end }}