mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[+] Local testing successful
This commit is contained in:
parent
984a2a9acd
commit
142dff547f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user