diff --git a/site/src/lib/ApplicationSearchBar.svelte b/site/src/lib/ApplicationSearchBar.svelte new file mode 100644 index 0000000..fc28c62 --- /dev/null +++ b/site/src/lib/ApplicationSearchBar.svelte @@ -0,0 +1,210 @@ + + +
+
+ + +
+ {result.length} +
+
+ {#if advFilters} +
+ + {#snippet buttonChildren()} + Status + {/snippet} +
+ {#each statusStore.nodes.filter((a) => !filterStatus.includes(a.id)) as node} + + {/each} +
+
+ + {#snippet buttonChildren()} + Job Level + {/snippet} +
+ {#each JobLevels.filter((a) => !jobLevels.includes(a)) as jobLevel} + + {/each} +
+
+
+

Filters

+
+ {#each statusStore.nodes.filter((a) => filterStatus.includes(a.id)) as node} + + {/each} + {#each jobLevels.filter((a) => jobLevels.includes(a)) as jobLevel} + + {/each} + {#each extraFiltersToDisplay as filter} + {#if filter.type === 'name'} + + Name ~ /{filter.text}/ + + {:else if filter.type === 'company'} + + Company ~ /{filter.text}/ + + {:else if filter.type === 'query'} + + Query ~ /{filter.text}/ + + {/if} + {/each} +
+ {/if} +
diff --git a/site/src/routes/work-area/LinkApplication.svelte b/site/src/routes/work-area/LinkApplication.svelte index a2df991..415a33f 100644 --- a/site/src/routes/work-area/LinkApplication.svelte +++ b/site/src/routes/work-area/LinkApplication.svelte @@ -1,4 +1,5 @@ -
- -
- {internal.length} -
-
+
{#each internal as item}
diff --git a/site/src/routes/work-area/SearchApplication.svelte b/site/src/routes/work-area/SearchApplication.svelte index 85a1444..83bb91d 100644 --- a/site/src/routes/work-area/SearchApplication.svelte +++ b/site/src/routes/work-area/SearchApplication.svelte @@ -1,6 +1,6 @@ -
-
- - -
- {internal.length} -
-
- {#if advFilters} -
- - {#snippet buttonChildren()} - Status - {/snippet} -
- {#each statusStore.nodes.filter((a) => !filterStatus.includes(a.id)) as node} - - {/each} -
-
- - {#snippet buttonChildren()} - Job Level - {/snippet} -
- {#each JobLevels.filter((a) => !jobLevels.includes(a)) as jobLevel} - - {/each} -
-
-
-

Filters

-
- {#each statusStore.nodes.filter((a) => filterStatus.includes(a.id)) as node} - - {/each} - {#each jobLevels.filter((a) => jobLevels.includes(a)) as jobLevel} - - {/each} - {#each extraFiltersToDisplay as filter} - {#if filter.type === 'name'} - - Name ~ /{filter.text}/ - - {:else if filter.type === 'company'} - - Company ~ /{filter.text}/ - - {:else if filter.type === 'query'} - - Query ~ /{filter.text}/ - - {/if} - {/each} -
- {/if} -
+
{#each internal as item}