Update ProjectLighthouse.Servers.Website/Pages/SlotSettingsPage.cshtml

Co-authored-by: Josh <josh@slendy.pw>
This commit is contained in:
FeTetra 2024-10-05 13:59:26 -04:00 committed by GitHub
commit 2967fc7f48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,19 +61,19 @@ function onSubmit(){
<textarea name="description" id="description" spellcheck="false" placeholder="Description">@HttpUtility.HtmlDecode(Model.Slot.Description)</textarea>
</div>
<div class="ui divider"></div>
<label class="ui button label" id="labelInitiallyLocked" for="checkboxInitiallyLocked">
<label class="ui button @(Model.Slot.InitiallyLocked ? "selected" : "")" for="checkboxInitiallyLocked">
<i class="lock icon"></i>
Locked
<input type="checkbox" name="initiallyLocked" id="checkboxInitiallyLocked" style="margin-left: 5px;" onchange="onCheckboxChange(this)" @(Model.Slot.InitiallyLocked ? "checked" : "") value="true">
</label>
<label class="ui button label" id="labelShareable" for="checkboxShareable">
<label class="ui button @(Model.Slot.Shareable == 1 ? "selected" : "")" for="checkboxShareable">
<i class="check icon"></i>
Copyable
<input type="checkbox" name="shareable" id="checkboxShareable" style="margin-left: 5px;" onchange="onCheckboxChange(this)" @(Model.Slot.Shareable == 1 ? "checked" : "") value="1">
</label>
@if (Model.Slot.GameVersion != GameVersion.LittleBigPlanet1)
{
<label class="ui button label" id="labelSubLevel" for="checkboxSubLevel">
<label class="ui button @(Model.Slot.SubLevel ? "selected" : """ for="checkboxSubLevel">
<i class="arrow circle down icon"></i>
Sub Level
<input type="checkbox" name="subLevel" id="checkboxSubLevel" style="margin-left: 5px;" onchange="onCheckboxChange(this)" @(Model.Slot.SubLevel ? "checked" : "") value="true">
@ -81,7 +81,7 @@ function onSubmit(){
}
else
{
<label class="ui button label" id="labelLbp1Only" for="checkboxLbp1Only">
<label class="ui button @(Model.Slot.Lbp1Only ? "selected" : "")" for="checkboxLbp1Only">
<i class="eye icon"></i>
LBP1 Only
<input type="checkbox" name="lbp1Only" id="checkboxLbp1Only" style="margin-left: 5px;" onchange="onCheckboxChange(this)" @(Model.Slot.Lbp1Only ? "checked" : "") value="true">