impl + button links to ui/files/path/to/pid/RANDOM_UUID

master
Bel LaPointe 2022-02-15 15:05:09 -07:00
parent 2a09ad730c
commit ef49ac71fd
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@
const title=id ? branch.Leaf.Title : "ROOT" const title=id ? branch.Leaf.Title : "ROOT"
return ` return `
<a style="flex-grow: 1;" href="${href}"><button style="width: 100%; text-align: left; outline: none;">${title}</button></a> <a style="flex-grow: 1;" href="${href}"><button style="width: 100%; text-align: left; outline: none;">${title}</button></a>
<button>+</button> <!-- TODO -->
<a href="${href}/${crypto.randomUUID().split("-")[0]}"><button>+</button></a>
` `
} }
function branchesHTML(id, branches) { function branchesHTML(id, branches) {