diff --git a/frontend/static/schoollist.txt b/frontend/src/lib/assets/schoollist.txt similarity index 100% rename from frontend/static/schoollist.txt rename to frontend/src/lib/assets/schoollist.txt diff --git a/frontend/src/lib/components/select/SchoolSelect.svelte b/frontend/src/lib/components/select/SchoolSelect.svelte deleted file mode 100644 index 93b31a7..0000000 --- a/frontend/src/lib/components/select/SchoolSelect.svelte +++ /dev/null @@ -1,36 +0,0 @@ - - -
-
- - {$LL.input.selectedSchool()}: {selectedSchool.name} - - - - -
-
- {$LL.input.fieldOfStudy()}: - -
-
diff --git a/frontend/src/lib/components/select/SchoolSelect/School.svelte b/frontend/src/lib/components/select/SchoolSelect/School.svelte new file mode 100644 index 0000000..2153e34 --- /dev/null +++ b/frontend/src/lib/components/select/SchoolSelect/School.svelte @@ -0,0 +1,41 @@ + + +
  • + {@html itemLabel} +
  • + + diff --git a/frontend/src/lib/components/select/SchoolSelect/SchoolSelect.svelte b/frontend/src/lib/components/select/SchoolSelect/SchoolSelect.svelte new file mode 100644 index 0000000..374a244 --- /dev/null +++ b/frontend/src/lib/components/select/SchoolSelect/SchoolSelect.svelte @@ -0,0 +1,136 @@ + + + + +
    +
    + + +
    + {#if filteredSchools.length > 0} + + {/if} +
    + +