From ced66c5807575cd29f6aa5632e8ad02b38c8448a Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 28 Apr 2024 22:37:30 +0200 Subject: WIP new frontend --- .../src/routes/(main)/(app)/projects/+page.svelte | 118 +++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 code/frontend/src/routes/(main)/(app)/projects/+page.svelte (limited to 'code/frontend/src/routes/(main)/(app)/projects/+page.svelte') diff --git a/code/frontend/src/routes/(main)/(app)/projects/+page.svelte b/code/frontend/src/routes/(main)/(app)/projects/+page.svelte new file mode 100644 index 0000000..2585331 --- /dev/null +++ b/code/frontend/src/routes/(main)/(app)/projects/+page.svelte @@ -0,0 +1,118 @@ + + +
+
+

Projects

+

A list of all the projects in your organsation.

+
+
+ +
+
+
+ + + {#each $headerRows as headerRow (headerRow.id)} + + + {#each headerRow.cells as cell (cell.id)} + + + + {/each} + + + {/each} + + + {#each $rows as row (row.id)} + + + {#each row.cells as cell (cell.id)} + {@const materialisedCell = cell.render()} + + + + {/each} + + + {/each} + +
+
+ + + {#if props.sort.order === "asc"} + + {:else if props.sort.order === "desc"} + + {:else if !props.sort.disabled} + + {/if} + + {#if cell.id === "status"} + + {/if} +
+
+ {#if cell.id === "name"} + + + + {:else if cell.id === "status"} + + {:else} + + {/if} +
+
-- cgit v1.3