[+] Local testing successful

This commit is contained in:
Charles Le Maux 2024-09-11 04:16:26 +02:00
parent 984a2a9acd
commit 142dff547f

View File

@ -81,6 +81,7 @@
<button type="button" class="actionButton" data-action="FetchServers">Fetch Servers</button> <button type="button" class="actionButton" data-action="FetchServers">Fetch Servers</button>
<button type="button" class="actionButton" data-action="FetchLogs">Fetch Logs</button> <button type="button" class="actionButton" data-action="FetchLogs">Fetch Logs</button>
<button type="button" class="actionButton" data-action="FetchPlayersStatus">Fetch Players Status</button> <button type="button" class="actionButton" data-action="FetchPlayersStatus">Fetch Players Status</button>
<button type="button" class="actionButton" data-action="FetchDirContent">Fetch Directory Content</button>
</form> </form>
<h2>Update Property</h2> <h2>Update Property</h2>
@ -105,10 +106,6 @@
<script> <script>
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
const uploadForm = document.getElementById('uploadForm'); const uploadForm = document.getElementById('uploadForm');
const genericForm = document.getElementById('genericForm');
const updatePropertyForm = document.getElementById('updatePropertyForm');
const sendCommandForm = document.getElementById('sendCommandForm');
const setSubdomainForm = document.getElementById('setSubdomainForm');
const messageDiv = document.getElementById('message'); const messageDiv = document.getElementById('message');
// File Upload functionality // File Upload functionality
@ -183,6 +180,9 @@ document.addEventListener('DOMContentLoaded', () => {
case 'FetchPlayersStatus': case 'FetchPlayersStatus':
data = {token, name}; data = {token, name};
break; break;
case 'FetchDirContent':
data = {token, name};
break;
case 'AccountCreate': case 'AccountCreate':
data = {email, port, token}; data = {email, port, token};
break; break;