improved gui

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-01 18:41:20 +02:00
parent 3248847f9c
commit 4ed0f80345
3 changed files with 7 additions and 2 deletions

View File

@@ -123,7 +123,7 @@
</script>
<h1>{t('files')} {children?.title}</h1>
parent: {parent}
<ul>
{#if parent}
<li class="dir parent">
@@ -136,6 +136,7 @@ parent: {parent}
<li class="dir">
<span class="symbol"></span>
<a href={'/files'+k} {onclick}>{v}</a>
<button class="symbol">x</button>
</li>
{/each}
{/if}
@@ -144,7 +145,7 @@ parent: {parent}
<form onsubmit={create_dir} >
<span class="symbol">+</span>
<input type="text" bind:value={new_dir} />
<button type="submit" disabled={!available} >{t('create_directory')}</button>
<button type="submit" disabled={!available} >{t('create_new_object',{object:t('directory')})}</button>
</form>
</li>
{/if}