fix: config change on WebUI causing hot reload in dev mode #297

Merged
Sainan merged 2 commits from config into main 2024-06-14 17:52:45 -07:00
Showing only changes of commit 9203cf297b - Show all commits

View File

@ -204,81 +204,63 @@
</div> </div>
</div> </div>
<div data-route="/webui/settings" data-title="Settings | OpenWF WebUI"> <div data-route="/webui/settings" data-title="Settings | OpenWF WebUI">
<div class="card mb-4"> <form onsubmit="doChangeSettings();return false;">
<h5 class="card-header">Change Settings</h5> <div class="form-check">
<form class="card-body" onsubmit="doChangeSettings();return false;"> <input class="form-check-input" type="checkbox" id="skipStoryModeChoice" />
<div class="form-check"> <label class="form-check-label" for="skipStoryModeChoice">Skip Story Mode Choice</label>
<input class="form-check-input" type="checkbox" value="" id="skipStoryModeChoice" /> </div>
<label label class="form-check-label" for="skipStoryModeChoice" <div class="form-check">
>Skip Story Mode Choice?</label <input class="form-check-input" type="checkbox" id="skipTutorial" />
> <label class="form-check-label" for="skipTutorial">Skip Tutorial</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="skipTutorial" /> <input class="form-check-input" type="checkbox" id="unlockAllScans" />
<label label class="form-check-label" for="skipTutorial">Skip Tutorial?</label> <label class="form-check-label" for="unlockAllScans">Unlock All Scans</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="unlockAllScans" /> <input class="form-check-input" type="checkbox" id="unlockAllMissions" />
<label label class="form-check-label" for="unlockAllScans">Unlock All Scans?</label> <label class="form-check-label" for="unlockAllMissions">Unlock All Missions</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="unlockAllMissions" /> <input class="form-check-input" type="checkbox" id="unlockAllQuests" />
<label label class="form-check-label" for="unlockAllMissions" <label class="form-check-label" for="unlockAllQuests">Unlock All Quests</label>
>Unlock All Missions?</label </div>
> <div class="form-check">
</div> <input class="form-check-input" type="checkbox" id="completeAllQuests" />
<div class="form-check"> <label class="form-check-label" for="completeAllQuests">Complete All Quests</label>
<input class="form-check-input" type="checkbox" value="" id="unlockAllQuests" /> </div>
<label label class="form-check-label" for="unlockAllQuests">Unlock All Quests?</label> <div class="form-check">
</div> <input class="form-check-input" type="checkbox" id="infiniteResources" />
<div class="form-check"> <label class="form-check-label" for="infiniteResources"
<input class="form-check-input" type="checkbox" value="" id="completeAllQuests" /> >Infinite Credits and Platinum</label
<label label class="form-check-label" for="completeAllQuests" >
>Complete All Quests?</label </div>
> <div class="form-check">
</div> <input class="form-check-input" type="checkbox" id="unlockAllShipFeatures" />
<div class="form-check"> <label class="form-check-label" for="unlockAllShipFeatures">Unlock All Ship Features</label>
<input class="form-check-input" type="checkbox" value="" id="infiniteResources" /> </div>
<label label class="form-check-label" for="infiniteResources" <div class="form-check">
>Infinite Credits and Platinum?</label <input class="form-check-input" type="checkbox" id="unlockAllShipDecorations" />
> <label class="form-check-label" for="unlockAllShipDecorations"
</div> >Unlock All Ship Decorations</label
<div class="form-check"> >
<input class="form-check-input" type="checkbox" value="" id="unlockallShipFeatures" /> </div>
<label label class="form-check-label" for="unlockallShipFeatures" <div class="form-check">
>Unlock All Ship Features?</label <input class="form-check-input" type="checkbox" id="unlockAllFlavourItems" />
> <label class="form-check-label" for="unlockAllFlavourItems">Unlock All Accessories</label>
</div> </div>
<div class="form-check"> <div class="form-check">
<input <input class="form-check-input" type="checkbox" id="unlockAllSkins" />
class="form-check-input" <label class="form-check-label" for="unlockAllSkins">Unlock All Skins</label>
type="checkbox" </div>
value="" <div class="form-group">
id="unlockAllShipDecorations" <label class="form-label" for="spoofMasteryRank"
/> >Spoofed Mastery Rank (-1 to disable)</label
<label label class="form-check-label" for="unlockAllShipDecorations" >
>Unlock All Ship Decorations?</label <input class="form-control" id="spoofMasteryRank" type="number" min="-1" />
> </div>
</div> <button class="btn btn-primary mt-3" type="submit">Save Settings</button>
<div class="form-check"> </form>
<input class="form-check-input" type="checkbox" value="" id="unlockAllFlavourItems" />
<label label class="form-check-label" for="unlockAllFlavourItems"
>Unlock All Accessories?</label
>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="unlockAllSkins" />
<label label class="form-check-label" for="unlockAllSkins">Unlock All Skins?</label>
</div>
<div class="form-check">
<label label class="form-check-label" for="spoofMasteryRank"
>Spoofed Mastery Rank (-1 to disable)</label
>
<input class="form-control" id="spoofMasteryRank" type="number" min="-1" value="" />
</div>
<button class="btn btn-primary" type="submit">Save Settings</button>
</form>
</div>
</div> </div>
</div> </div>
</div> </div>