mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Added search and sort.
This commit is contained in:
1 parent
ba27ff9fd7
commit
fbc44883d4
7 files changed
+979
-40
No files matched your search
@@ -25,6 +25,31 @@ $PageSection = "Mutations";
|
||||
currently capable of discovering.
|
||||
</p>
|
||||
|
||||
<div
|
||||
class="CatalogueControls"
|
||||
aria-label="Mutation search and sorting"
|
||||
>
|
||||
<input
|
||||
id="MutationEncyclopediaSearchInput"
|
||||
type="search"
|
||||
placeholder="Search mutations..."
|
||||
aria-label="Search mutations"
|
||||
autocomplete="off"
|
||||
>
|
||||
|
||||
<select
|
||||
id="MutationEncyclopediaSortSelect"
|
||||
aria-label="Sort mutations"
|
||||
>
|
||||
<option value="IdAsc">ID</option>
|
||||
<option value="NameAsc">Name A-Z</option>
|
||||
<option value="ChanceDesc">Chance high-low</option>
|
||||
<option value="ChanceAsc">Chance low-high</option>
|
||||
<option value="CooldownAsc">Cooldown short-long</option>
|
||||
<option value="CooldownDesc">Cooldown long-short</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="MutationEncyclopediaList"
|
||||
class="MutationEncyclopediaList"
|
||||
|
||||
@@ -23,6 +23,33 @@ $PageSection = "Plants";
|
||||
them in your Garden.
|
||||
</p>
|
||||
|
||||
<div
|
||||
class="CatalogueControls"
|
||||
aria-label="Plant search and sorting"
|
||||
>
|
||||
<input
|
||||
id="PlantEncyclopediaSearchInput"
|
||||
type="search"
|
||||
placeholder="Search plants..."
|
||||
aria-label="Search plants"
|
||||
autocomplete="off"
|
||||
>
|
||||
|
||||
<select
|
||||
id="PlantEncyclopediaSortSelect"
|
||||
aria-label="Sort plants"
|
||||
>
|
||||
<option value="IdAsc">ID</option>
|
||||
<option value="NameAsc">Name A-Z</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>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div
|
||||
id="PlantEncyclopediaList"
|
||||
class="PlantEncyclopediaList"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user