Cofem/templates/adminActions.html

25 lines
907 B
HTML
Raw Normal View History

2024-02-05 22:54:55 +01:00
<div id="admin-settings">
2024-02-05 22:52:44 +01:00
<div class="form-container" id="addActivationCodesForm">
<h1>Activation Codes</h1>
2024-02-04 09:50:04 +01:00
2024-02-05 22:52:44 +01:00
<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>
2024-02-04 09:53:18 +01:00
2024-02-05 22:52:44 +01:00
</div>
2024-02-03 16:08:26 +01:00
2024-02-05 22:52:44 +01:00
<hr>
2024-02-04 09:50:04 +01:00
2024-02-05 22:52:44 +01:00
<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>
2024-02-03 16:08:26 +01:00
</div>
2024-02-04 09:50:04 +01:00
<hr>