adlerka.space/templates/adminActions.html
2024-02-05 22:54:55 +01:00

25 lines
907 B
HTML

<div id="admin-settings">
<div class="form-container" id="addActivationCodesForm">
<h1>Activation Codes</h1>
<h2>List Activation Codes</h2>
<button type="button" onclick="listActivationCodes()">List Activation Codes</button><br>
<h2>Add Activation Codes</h2>
<label for="activationCodeCount">Activation Code Count:</label>
<input type="text" id="activationCodeCount" name="activationCodeCount" value="1" required><br>
<button type="button" onclick="addActivationCodes()">Add Activation Codes</button>
<br>
<table id="codeListTable"></table>
</div>
<hr>
<div class="form-container" id="listUsersForm">
<h1>List Users</h1>
<button type="button" onclick="listUsers()">List Users</button><br>
<br>
<table id="userListTable"></table>
</div>
</div>
<hr>