Upload files to IndexedDB
This commit is contained in:
parent
5bd5ef1f02
commit
8b421ea59e
15 changed files with 539 additions and 99 deletions
|
|
@ -14,7 +14,7 @@
|
|||
"checklist": "/js/{{ .VERSION }}/checklist.mjs",
|
||||
"crypto": "/js/{{ .VERSION }}/crypto.mjs",
|
||||
"node_store": "/js/{{ .VERSION }}/node_store.mjs",
|
||||
"node": "/js/{{ .VERSION }}/node.mjs",
|
||||
"node": "/js/{{ .VERSION }}/page_node.mjs",
|
||||
"tree": "/js/{{ .VERSION }}/tree.mjs"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,18 +1,34 @@
|
|||
{{ define "page" }}
|
||||
<div id="notes2">
|
||||
<div id="tree" tabindex=0></div>
|
||||
<div id="crumbs"></div>
|
||||
<n2-syncprogress></n2-syncprogress>
|
||||
<n2-nodeui id="note"></n2-nodeui>
|
||||
|
||||
<div id="main-page">
|
||||
<!-- Storage stats -->
|
||||
<div id="page-storage">
|
||||
<n2-pagestorage></n2-pagestorage>
|
||||
</div>
|
||||
|
||||
<!-- Node editing -->
|
||||
<div id="page-node">
|
||||
<div id="crumbs"></div>
|
||||
<n2-syncprogress></n2-syncprogress>
|
||||
<n2-nodeui id="note"></n2-nodeui>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/notes2.css">
|
||||
|
||||
<script type="module">
|
||||
import {NodeStore} from 'node_store'
|
||||
|
||||
|
||||
import {NodeStore} from '/js/{{ .VERSION }}/node_store.mjs'
|
||||
|
||||
import {App} from "/js/{{ .VERSION }}/app.mjs"
|
||||
import {API} from 'api'
|
||||
import {Sync} from 'sync'
|
||||
import { } from '/js/{{ .VERSION }}/page_storage.mjs'
|
||||
import { } from '/js/{{ .VERSION }}/file.mjs'
|
||||
|
||||
window.Sync = Sync
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue