From 129e3af4712588dc9c46225ad0d33a56b8d2e2ef Mon Sep 17 00:00:00 2001 From: lexx Date: Sun, 8 Oct 2023 13:46:05 +0300 Subject: [PATCH] build fixes --- front/js/svelte/build/Report.svelte | 56 ++++++++++++++++++------ front/js/svelte/content/Table.svelte | 64 +++++++++++++++------------- 2 files changed, 77 insertions(+), 43 deletions(-) diff --git a/front/js/svelte/build/Report.svelte b/front/js/svelte/build/Report.svelte index 99fbb20..1a33d13 100644 --- a/front/js/svelte/build/Report.svelte +++ b/front/js/svelte/build/Report.svelte @@ -1,5 +1,5 @@
@@ -37,9 +50,26 @@

{title}

- + -
{date}
+ + +
+ {#if inProgress} + + Build in progress + + {/if} + {#if !inProgress && logs} + + Build completed at + + {/if} + {date} + + +
{logs}
diff --git a/front/js/svelte/content/Table.svelte b/front/js/svelte/content/Table.svelte index 72ea7ab..595e76e 100644 --- a/front/js/svelte/content/Table.svelte +++ b/front/js/svelte/content/Table.svelte @@ -46,24 +46,24 @@ 0 && + on:change|preventDefault={toggleAll} + indeterminate={selected.length > 0 && selected.length < records.length} - checked={selected.length == records.length} - class="form-check-input" - type="checkbox" + checked={selected.length == records.length} + class="form-check-input" + type="checkbox" /> {#each visibleColumns as field} {field.label}{field.label} {/each} {#each systemFields.filter(c => schema.visible.includes(c.name)) as sysField} @@ -76,50 +76,54 @@
+ on:change={(e) => selectRecord(e, record)} - class="form-check-input " - type="checkbox" - checked={selected.find( + class="form-check-input " + type="checkbox" + checked={selected.find( (r) => r.id === record.id )} - value={record} + value={record} />
{previewTitle(channel.schemas, record, graph)}
{/each}