Skip to content

Commit

Permalink
Basic dropdown added
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasinha committed Dec 1, 2023
1 parent c18f304 commit f74a70e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions frontend/src/routes/upload/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@
Label,
Helper,
Textarea,
Dropdown,
DropdownItem,
} from "flowbite-svelte";
import { goto } from "$app/navigation";
import { formatProteinName } from "$lib/format";
import { ChevronDownSolid } from 'flowbite-svelte-icons';
let name: string = "";
let content: string = "";
Expand Down Expand Up @@ -52,6 +55,18 @@
{/if}
</div>

<!--Species dropdown (hardcoded, not hooked up to backend for now)-->
<div>
<Label for="organism-name" class="blcok mb-2">Organism</Label>
<Button>Species... <ChevronDownSolid/></Button>
<Dropdown>
<DropdownItem>Ganaspis hookeri</DropdownItem>
<DropdownItem>Leptopilina boulardi</DropdownItem>
<DropdownItem>Leptopilina heterotoma</DropdownItem>
<DropdownItem>Other</DropdownItem>
</Dropdown>
</div>

<div>
<Label for="content" class="block mb-2">Protein Article</Label>
<Textarea
Expand Down

0 comments on commit f74a70e

Please sign in to comment.