impl + button links to ui/files/path/to/pid/RANDOM_UUID
parent
2a09ad730c
commit
ef49ac71fd
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue