Added search and sort.

This commit is contained in:
sarah committed 2026-09-05 10:26:09 +02:00
1 parent ba27ff9fd7
commit fbc44883d4
7 files changed
+979 -40

No files matched your search

+31
View File
@@ -95,6 +95,37 @@ $PageSection = "Shop";
id="SeedsContent"
class="ShopSectionContent"
>
<div
class="CatalogueControls"
aria-label="Seed search and sorting"
>
<input
id="ShopSeedSearchInput"
type="search"
placeholder="Search plants..."
aria-label="Search plants"
autocomplete="off"
>
<select
id="ShopSeedSortSelect"
aria-label="Sort seeds"
>
<option value="IdAsc">ID</option>
<option value="NameAsc">Name A-Z</option>
<option value="PriceAsc">Price low-high</option>
<option value="PriceDesc">Price high-low</option>
<option value="GrowthAsc">Growth short-long</option>
<option value="GrowthDesc">Growth long-short</option>
<option value="RewardAsc">Reward low-high</option>
<option value="RewardDesc">Reward high-low</option>
<option value="DphDesc">DPH high-low</option>
<option value="DphAsc">DPH low-high</option>
<option value="InventoryDesc">Inventory high-low</option>
<option value="InventoryAsc">Inventory low-high</option>
</select>
</div>
<div
id="ShopSeedList"
class="ShopSeedList"