mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge branch 'main' of github.com:appwrite/appwrite-console-poc into feedback
This commit is contained in:
commit
ec18583ccb
5 files changed
+25
-12
No files matched your search
+7
@@ -156,6 +156,7 @@
|
||||
<TableCellHead width={100}>Deployment ID</TableCellHead>
|
||||
<TableCellHead width={140}>Created</TableCellHead>
|
||||
<TableCellHead width={100}>Status</TableCellHead>
|
||||
<TableCellHead width={100}>Build Time</TableCellHead>
|
||||
<TableCellHead width={70}>Size</TableCellHead>
|
||||
<TableCellHead width={25} />
|
||||
</TableHeader>
|
||||
@@ -181,6 +182,12 @@
|
||||
</Status>
|
||||
</TableCell>
|
||||
|
||||
<TableCellText title="Build Time">
|
||||
{#if deployment.status === 'ready'}
|
||||
{deployment.buildTime}s
|
||||
{/if}
|
||||
</TableCellText>
|
||||
|
||||
<TableCellText title="Size">
|
||||
{calculateSize(deployment.size)}
|
||||
</TableCellText>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { afterNavigate } from '$app/navigation';
|
||||
import { Code, Modal } from '$lib/components';
|
||||
import { Button } from '$lib/elements/forms';
|
||||
import { InputTextarea, FormList, InputChoice } from '$lib/elements/forms';
|
||||
@@ -13,8 +14,7 @@
|
||||
let showJson = false;
|
||||
let submitting = false;
|
||||
|
||||
const example = `
|
||||
{
|
||||
const example = `{
|
||||
firstName: "hello",
|
||||
lastName:"world",
|
||||
age:"old"
|
||||
@@ -51,6 +51,8 @@
|
||||
selectedFunction = null;
|
||||
show = false;
|
||||
}
|
||||
|
||||
afterNavigate(close);
|
||||
</script>
|
||||
|
||||
<Modal bind:show size="big" on:submit={handleSubmit} on:close={close}>
|
||||
|
||||
@@ -95,7 +95,9 @@
|
||||
</div>
|
||||
|
||||
<div class="grid-item-1-end-end">
|
||||
<div class="text">Databases: XX</div>
|
||||
<div class="text">
|
||||
Databases: {format(last($usage.databases).value)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
@@ -121,7 +123,9 @@
|
||||
</div>
|
||||
|
||||
<div class="grid-item-1-end-end">
|
||||
<div class="text">Buckets: XX</div>
|
||||
<div class="text">
|
||||
Buckets: {format(last($usage.buckets).value)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user