Added admn QOL stuff andalso made shop a bit easier to navigate with

collapsible sections.
This commit is contained in:
sarah committed 2026-09-03 21:27:19 +02:00
1 parent a055a74148
commit afb9dae47a
5 files changed
+379 -17

No files matched your search

+14
View File
@@ -48,6 +48,20 @@ $PageSection = "Admin";
>
New plant
</button>
<label for="AdminPlantDuplicateSelect">
Duplicate existing
</label>
<select id="AdminPlantDuplicateSelect"></select>
<button
id="AdminPlantDuplicateButton"
class="ActionButton AdminInlineButton"
type="button"
>
Duplicate
</button>
</div>
<form
+46 -13
View File
@@ -44,29 +44,62 @@ $PageSection = "Shop";
id="PermanentUpgrades"
class="ShopSection"
>
<h2>Permanent upgrades</h2>
<p>
Expand your active Garden, buy additional Gardens,
or unlock information and quality-of-life features.
</p>
<h2 class="ShopSectionHeading">
<button
id="PermanentUpgradesToggle"
class="ShopSectionToggle"
type="button"
aria-expanded="false"
aria-controls="PermanentUpgradesContent"
>
<span class="ShopSectionArrow" aria-hidden="true">&gt;</span>
<span>Permanent upgrades</span>
</button>
</h2>
<div
id="ShopGardenUpgradeList"
class="ShopSeedList"
></div>
id="PermanentUpgradesContent"
class="ShopSectionContent"
hidden
>
<p>
Expand your active Garden, buy additional Gardens,
or unlock information and quality-of-life features.
</p>
<div
id="ShopGardenUpgradeList"
class="ShopSeedList"
></div>
</div>
</section>
<section
id="Seeds"
class="ShopSection"
>
<h2>Seeds</h2>
<h2 class="ShopSectionHeading">
<button
id="SeedsToggle"
class="ShopSectionToggle"
type="button"
aria-expanded="true"
aria-controls="SeedsContent"
>
<span class="ShopSectionArrow" aria-hidden="true">&gt;</span>
<span>Seeds</span>
</button>
</h2>
<div
id="ShopSeedList"
class="ShopSeedList"
></div>
id="SeedsContent"
class="ShopSectionContent"
>
<div
id="ShopSeedList"
class="ShopSeedList"
></div>
</div>
</section>
<p id="ShopMessage" class="PageMessage">