mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 15:34:36 +01:00
64 lines
3.6 KiB
Plaintext
64 lines
3.6 KiB
Plaintext
@model EpinelPS.Models.Admin.ModUserModel
|
|
|
|
@{
|
|
ViewData["Title"] = "Modify user";
|
|
}
|
|
|
|
<h1>Modify</h1>
|
|
|
|
<h4>User</h4>
|
|
<hr />
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<form asp-action="Modify">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
<div class="form-group">
|
|
<label asp-for="Username" class="control-label col-sm-2"></label>
|
|
<div class="col-sm-10"><input asp-for="Username" class="form-control" /></div>
|
|
<span asp-validation-for="Username" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="IsAdmin" class="control-label">Is Admin: </label>
|
|
<input asp-for="IsAdmin" class="form-check-input" />
|
|
<span asp-validation-for="IsAdmin" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" title="allows for all characters to have equal chances of getting pulled">Disable Gacha System: </label>
|
|
<input asp-for="sickpulls" class="form-check-input" title="allows for all characters to have equal chances of getting pulled"/>
|
|
<span asp-validation-for="sickpulls" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="IsBanned" class="control-label">Banned:</label>
|
|
<input asp-for="IsBanned" class="form-check-input" />
|
|
<span asp-validation-for="IsBanned" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="Nickname" class="control-label col-sm-2"></label>
|
|
<div class="col-sm-10"><input asp-for="Nickname" class="form-control" /></div>
|
|
<span asp-validation-for="Nickname" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="submit" value="Save" class="btn btn-primary" />
|
|
</div>
|
|
</form>
|
|
|
|
<p>Campaign:</p>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('completestage', '@Model.ID', 'Enter chapter number and stage number seperated by -')">Skip stages</button>
|
|
|
|
<p>Characters:</p>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmd('addallcharacters', '@Model.ID')">Add all characters</button>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('AddCharacter', '@Model.ID', 'Enter character ID. Wrong ID may cause game not to boot.')">Add character</button>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('SetLevel', '@Model.ID', 'Enter level (1-999) to apply to all characters')">Set character levels</button>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('SetLevel', '@Model.ID', 'Enter skill level (1-10) to apply to all characters')">Set character skill levels</button>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('finishalltutorials', '@Model.ID', 'core level / 0-3 sets stars')">Set core level</button>
|
|
<p>Inventory:</p>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('addallmaterials', '@Model.ID', 'Enter material amount:')">Add all equipment</button>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmdWithPr('AddItem', '@Model.ID', 'Enter item ID and amount seperated by -')">Add item</button>
|
|
<p>Misc:</p>
|
|
<button class="btn btn-secondary" onclick="runSimpleCmd('finishalltutorials', '@Model.ID')">Finish all tutorials</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<a asp-action="Index">Back to List</a>
|
|
</div> |