Ziyang Hu 2 years ago
parent 9ff4f06cd3
commit 127367fe54

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 63 KiB

@ -101,8 +101,8 @@
</script>
<main>
{#if db_opened}
<div id="main">
<div id="main">
{#if db_opened}
<div id="upper">
<TextArea bind:value={queryText} labelText={`Using database ${db_opened}`} rows={10}
id="query-area"></TextArea>
@ -129,23 +129,23 @@
<DataTable headers={queryResults.headers} rows={queryResults.rows} zebra
size="compact"></DataTable>
{/if}
</div>
{:else}
<div style="padding: 0.5em 0.5em 1em">
<h1 style="padding-bottom: 0.5em">Start</h1>
<Button size="xl" icon={Folder} on:click={handleOpen}>Open existing</Button>
<Button size="xl" icon={FolderAdd} on:click={handleCreate}>Create new</Button>
{#if recent.length}
<div style="padding-top: 1em; padding-left: 0.5em">
{#each recent as dbPath}
<Link style="cursor: pointer" on:click={() => handleOpenRecent(dbPath)}>{dbPath}</Link>
{/each}
</div>
{/if}
{:else}
<div style="padding: 0.5em 0.5em 1em">
<h1 style="padding-bottom: 0.5em">Start</h1>
<Button size="xl" icon={Folder} on:click={handleOpen}>Open existing</Button>
<Button size="xl" icon={FolderAdd} on:click={handleCreate}>Create new</Button>
{#if recent.length}
<div style="padding-top: 1em; padding-left: 0.5em">
{#each recent as dbPath}
<Link style="cursor: pointer" on:click={() => handleOpenRecent(dbPath)}>{dbPath}</Link>
{/each}
</div>
{/if}
</div>
{/if}
</div>
{/if}
</div>
</main>
<style>

Loading…
Cancel
Save