{#if cancellable} {/if}
{#if isDesktop}
{#if isWindows} {/if}
{/if}

Onyx

{#if mode === null}

How would you like to store your tasks?

{:else if mode === "local"}

Create a new workspace or open an existing one.

or
{#if !isMobile} {/if} {:else if webdavStep === "connect"}

Connect to a WebDAV server.

{#if testStatus === "fail"}

Connection failed. Check your URL and credentials.

{/if} {#if !isMobile} {/if} {:else if webdavStep === "browse"}

Pick a folder or create a new workspace.

{#if browsePath.length > 0} {/if} /{currentBrowsePath}
{#if browseLoading}
Loading...
{:else if browseError}
{browseError}
{:else if browseEntries.length === 0}
No folders found.
{:else} {#each browseEntries as entry} {/each} {/if}
{:else if webdavStep === "preview"}

{previewName}

{#if previewLoading}
Loading workspace...
{:else if previewLists.length === 0}

No lists in this workspace yet.

{:else}
{#each previewLists as list}
{list.name} {list.task_count} {list.task_count === 1 ? "task" : "tasks"}
{/each}
{/if} {:else if webdavStep === "create"}

New Workspace

Creating in: /{currentBrowsePath}

{#if browseError}

{browseError}

{/if} {/if}