stylehub/templates/adminActions.html

24 lines
803 B
HTML
Raw Normal View History

2024-02-03 16:08:26 +01:00
<div class="form-container" id="addActivationCodesForm">
2024-02-04 09:50:04 +01:00
<h1>Activation Codes</h1>
<h2>List Activation Codes</h2>
2024-02-04 09:53:18 +01:00
<button type="button" onclick="listActivationCodes()">List Activation Codes</button><br>
2024-02-04 09:50:04 +01:00
<h2>Add Activation Codes</h2>
2024-02-03 16:08:26 +01:00
<label for="activationCodeCount">Activation Code Count:</label>
2024-02-04 10:03:55 +01:00
<input type="text" id="activationCodeCount" name="activationCodeCount" value="1" required><br>
2024-02-03 16:08:26 +01:00
<button type="button" onclick="addActivationCodes()">Add Activation Codes</button>
2024-02-04 09:53:18 +01:00
<br>
<table id="codeListTable"></table>
2024-02-03 16:08:26 +01:00
</div>
2024-02-04 09:50:04 +01:00
<hr>
2024-02-03 16:08:26 +01:00
<div class="form-container" id="listUsersForm">
<h1>List Users</h1>
2024-02-04 09:50:04 +01:00
<button type="button" onclick="listUsers()">List Users</button><br>
2024-02-04 09:53:18 +01:00
<br>
2024-02-04 09:50:04 +01:00
<table id="userListTable"></table>
2024-02-03 16:08:26 +01:00
</div>
2024-02-04 09:50:04 +01:00
<hr>