2020-12-22 02:18:01 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
2023-09-14 07:13:46 +00:00
|
|
|
|
<meta
|
|
|
|
|
http-equiv="Content-Type"
|
|
|
|
|
contentType="text/html; charset=UTF-8"
|
|
|
|
|
/>
|
2023-09-03 09:56:24 +00:00
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<title>OpenFusion: Server Selector</title>
|
2023-09-03 04:03:00 +00:00
|
|
|
|
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<link rel="stylesheet" href="assets/fonts/fontawesome-all.min.css" />
|
|
|
|
|
<link rel="stylesheet" href="assets/css/openfusion.css" />
|
|
|
|
|
<link rel="stylesheet" href="assets/css/styles.css" />
|
|
|
|
|
</head>
|
2020-12-22 02:18:01 +00:00
|
|
|
|
|
2023-09-03 09:56:24 +00:00
|
|
|
|
<body onresize="onResize()">
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<section id="of-serverselector">
|
|
|
|
|
<div class="container" id="serverselector-container">
|
|
|
|
|
<div class="row text-center mt-3" id="of-logoheader">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<img
|
|
|
|
|
class="img-fluid"
|
|
|
|
|
id="of-logo"
|
|
|
|
|
src="assets/img/of-3.png"
|
|
|
|
|
width="256"
|
|
|
|
|
/>
|
|
|
|
|
<p id="of-intro-text">
|
|
|
|
|
Welcome to OpenFusion.<br />Select a server from the
|
|
|
|
|
list below to get started.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="row d-sm-flex d-xl-flex justify-content-center justify-content-sm-center justify-content-xl-center"
|
|
|
|
|
id="of-serverlist"
|
|
|
|
|
>
|
|
|
|
|
<div class="col-8 mb-2">
|
|
|
|
|
<div
|
|
|
|
|
class="table-responsive text-center border rounded border-primary"
|
|
|
|
|
id="server-table"
|
|
|
|
|
>
|
|
|
|
|
<table class="table table-striped table-hover mb-0">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Description</th>
|
|
|
|
|
<th>Game Version</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="server-tablebody">
|
|
|
|
|
<tr id="server-listing-placeholder">
|
|
|
|
|
<td colspan="2">
|
|
|
|
|
No servers added yet... perhaps you
|
|
|
|
|
should find one?
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="row row-cols-2 d-xl-flex justify-content-center justify-content-xl-center"
|
|
|
|
|
id="of-serverbuttons"
|
|
|
|
|
style="padding-bottom: 16px"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="col-4 text-left d-inline-flex justify-content-xl-start"
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-success mr-1"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-addserver-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Add Server"
|
|
|
|
|
data-target="#of-addservermodal"
|
|
|
|
|
onclick="deselectServer()"
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-plus"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary mr-1 disabled"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-editserver-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Edit Server"
|
|
|
|
|
data-target="#of-editservermodal"
|
|
|
|
|
disabled=""
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-edit"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-danger mr-1 disabled"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-deleteserver-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Delete Server"
|
|
|
|
|
data-target="#of-deleteservermodal"
|
|
|
|
|
disabled=""
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-trash-alt"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-4 d-inline-flex justify-content-end">
|
2023-09-18 21:49:31 +00:00
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary mr-1"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-editcache-button"
|
|
|
|
|
type="button"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
title="Edit Game Builds"
|
2023-09-18 21:49:31 +00:00
|
|
|
|
data-target="#of-editcacheconfigmodal"
|
2023-10-21 21:30:35 +00:00
|
|
|
|
onclick="startHashCheck()"
|
2023-09-18 21:49:31 +00:00
|
|
|
|
>
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<i class="fas fa-database"></i>
|
2023-09-18 21:49:31 +00:00
|
|
|
|
</button>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary disabled"
|
|
|
|
|
id="of-connect-button"
|
|
|
|
|
type="button"
|
|
|
|
|
onclick="connectToServer()"
|
|
|
|
|
disabled=""
|
|
|
|
|
>
|
|
|
|
|
Connect <i
|
|
|
|
|
class="fas fa-angle-double-right"
|
|
|
|
|
></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-aboutmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">About OpenFusionClient</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2023-02-09 18:52:57 +00:00
|
|
|
|
<p
|
|
|
|
|
id="of-aboutversionnumber"
|
|
|
|
|
class="text-monospace"
|
|
|
|
|
>
|
|
|
|
|
APP_VERSION_NUMBER
|
|
|
|
|
</p>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<p>
|
2023-02-08 18:44:25 +00:00
|
|
|
|
©2020-2023 OpenFusion Contributors<br />OpenFusion
|
2022-07-26 14:41:07 +00:00
|
|
|
|
is licensed under MIT.<br />
|
|
|
|
|
</p>
|
|
|
|
|
<a
|
|
|
|
|
href="#of-restoreserversmodal"
|
|
|
|
|
onclick="$('#of-aboutmodal').modal('toggle')"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-target="#of-restoreserversmodal"
|
|
|
|
|
>Reset to Default Servers</a
|
|
|
|
|
>
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<a
|
|
|
|
|
href="#of-restoreversionsmodal"
|
|
|
|
|
onclick="$('#of-aboutmodal').modal('toggle')"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-target="#of-restoreversionsmodal"
|
|
|
|
|
>Reset to Default Game Builds</a
|
|
|
|
|
>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<div class="row flex-fill">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary pb-1 pt-1 mr-2 pl-2 pr-2"
|
|
|
|
|
data-toggle="tooltip"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
type="button"
|
|
|
|
|
title="Github Page"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
onclick="window.open('https://github.com/OpenFusionProject/OpenFusion','_blank');"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
>
|
|
|
|
|
<i
|
|
|
|
|
class="fab fa-github"
|
|
|
|
|
style="font-size: 24px"
|
|
|
|
|
></i></button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary pb-1 pt-1 pl-2 pr-2"
|
|
|
|
|
data-toggle="tooltip"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
type="button"
|
|
|
|
|
title="Discord Chat"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
onclick="window.open('https://discord.gg/DYavckB','_blank');"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
>
|
|
|
|
|
<i
|
|
|
|
|
class="fab fa-discord"
|
|
|
|
|
style="
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 1px;
|
|
|
|
|
"
|
|
|
|
|
></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col text-right">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Close
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-addservermodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Add Server</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form id="addserver-form" class="needs-validation">
|
|
|
|
|
<label for="addserver-descinput"
|
|
|
|
|
>Server Description</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="addserver-descinput"
|
|
|
|
|
placeholder="My OpenFusion Server"
|
|
|
|
|
required=""
|
|
|
|
|
minlength="1"
|
|
|
|
|
maxlength="70"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('add')"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
/><label for="addserver-ipinput"
|
|
|
|
|
>Server IP</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="addserver-ipinput"
|
|
|
|
|
placeholder="127.0.0.1:23000"
|
|
|
|
|
required=""
|
|
|
|
|
pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]):[0-9]+$"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('add')"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
/><label for="addserver-versionselect"
|
|
|
|
|
>Game Version: </label
|
|
|
|
|
><select
|
|
|
|
|
class="form-control w-50"
|
|
|
|
|
id="addserver-versionselect"
|
|
|
|
|
required=""
|
|
|
|
|
style="margin-left: -5px"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('add')"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
></select>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="addserver-cancel"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-success border-success"
|
|
|
|
|
id="addserver-savebutton"
|
|
|
|
|
type="submit"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
form="addserver-form"
|
|
|
|
|
onclick="addServer();"
|
|
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-editservermodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Edit Server</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form id="editserver-form" class="needs-validation">
|
|
|
|
|
<label for="editserver-descinput"
|
|
|
|
|
>Server Description</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="editserver-descinput"
|
|
|
|
|
placeholder="My OpenFusion Server"
|
|
|
|
|
required=""
|
|
|
|
|
minlength="1"
|
|
|
|
|
maxlength="70"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('edit')"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
/><label for="editserver-ipinput"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
>Server IP</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="editserver-ipinput"
|
|
|
|
|
placeholder="127.0.0.1:23000"
|
|
|
|
|
required=""
|
|
|
|
|
pattern="^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]):[0-9]+$"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('edit')"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
/><label for="editserver-versionselect"
|
|
|
|
|
>Game Version: </label
|
|
|
|
|
><select
|
|
|
|
|
class="form-control w-50"
|
|
|
|
|
id="editserver-versionselect"
|
|
|
|
|
required=""
|
|
|
|
|
style="margin-left: -5px"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateServerSave('edit')"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
></select>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="editserver-cancel"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-success border-success"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
id="editserver-savebutton"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
type="submit"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
form="editserver-form"
|
|
|
|
|
onclick="editServer();"
|
|
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-deleteservermodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Are you sure?</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p class="lead">
|
|
|
|
|
Do you really want to delete<br />"<a
|
|
|
|
|
id="deleteserver-servername"
|
|
|
|
|
>SERVER_NAME</a
|
|
|
|
|
>"?<br /><br />You could always re-add it later.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="deleteserver-button"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
onclick="deleteServer();"
|
|
|
|
|
>
|
|
|
|
|
Yes, Delete
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-restoreserversmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Are you sure?</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p class="lead">
|
|
|
|
|
Do you really want to restore the default
|
|
|
|
|
servers?
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
id="restoreservers-button"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
onclick="restoreDefaultServers();"
|
|
|
|
|
>
|
|
|
|
|
Yes, Restore
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-09-18 21:49:31 +00:00
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
tabindex="-1"
|
2023-09-18 21:49:31 +00:00
|
|
|
|
id="of-editcacheconfigmodal"
|
|
|
|
|
>
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
|
2023-09-18 21:49:31 +00:00
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Edit Cache Config</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<div
|
|
|
|
|
class="row row-cols-2 d-xl-flex justify-content-center justify-content-xl-start"
|
|
|
|
|
id="of-versionbuttons"
|
|
|
|
|
style="padding-bottom: 16px"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
class="col-4 text-left d-inline-flex justify-content-xl-start"
|
|
|
|
|
id="cache-buttons"
|
|
|
|
|
>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-success mr-1"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-addversion-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Add Version"
|
|
|
|
|
data-target="#of-addversionmodal"
|
|
|
|
|
onclick="deselectVersion()"
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-plus"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary mr-1 disabled"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-editversion-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Edit Version"
|
|
|
|
|
data-target="#of-editversionmodal"
|
|
|
|
|
disabled=""
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-edit"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-danger mr-1 disabled"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-bs-tooltip=""
|
|
|
|
|
data-placement="bottom"
|
|
|
|
|
id="of-deleteversion-button"
|
|
|
|
|
type="button"
|
|
|
|
|
title="Delete Version"
|
|
|
|
|
data-target="#of-deleteversionmodal"
|
|
|
|
|
disabled=""
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-trash-alt"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-09-18 21:49:31 +00:00
|
|
|
|
<div
|
|
|
|
|
class="table-responsive text-center border rounded border-primary"
|
|
|
|
|
id="cache-table"
|
|
|
|
|
>
|
|
|
|
|
<table class="table table-striped table-hover mb-0">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>Game Version</th>
|
|
|
|
|
<th>Game Cache</th>
|
|
|
|
|
<th>Offline Cache</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody id="cache-tablebody">
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-addversionmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Add Server</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<form id="addversion-form" class="needs-validation">
|
|
|
|
|
<label for="addversion-nameinput"
|
|
|
|
|
>Version Name</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="addversion-nameinput"
|
|
|
|
|
placeholder="custom-build-000"
|
|
|
|
|
required=""
|
|
|
|
|
minlength="1"
|
|
|
|
|
maxlength="70"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateVersionSave('add')"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
/><label for="addversion-urlinput"
|
|
|
|
|
>Version URL</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="addversion-urlinput"
|
|
|
|
|
placeholder="http://cdn.dexlabs.systems/custom-build-000/"
|
|
|
|
|
required=""
|
|
|
|
|
pattern="^(https?|file):\/\/\/?([-a-zA-Z0-9@:%._\+~#= ]{1,256}\/){1,64}$"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateVersionSave('add')"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
/>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="addversion-cancel"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-success border-success"
|
|
|
|
|
id="addversion-savebutton"
|
|
|
|
|
type="submit"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
form="addversion-form"
|
|
|
|
|
onclick="addVersion();"
|
|
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-editversionmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Edit Version</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
2023-11-11 20:52:23 +00:00
|
|
|
|
<form id="editversion-form" class="needs-validation">
|
2023-10-22 20:10:10 +00:00
|
|
|
|
<label for="editversion-nameinput"
|
|
|
|
|
>Version Name</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="editversion-nameinput"
|
|
|
|
|
placeholder="custom-build-000"
|
|
|
|
|
required=""
|
|
|
|
|
minlength="1"
|
|
|
|
|
maxlength="70"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateVersionSave('edit')"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
/><label for="editversion-urlinput"
|
|
|
|
|
>Version URL</label
|
|
|
|
|
><input
|
|
|
|
|
class="form-control form-row w-75"
|
|
|
|
|
type="text"
|
|
|
|
|
id="editversion-urlinput"
|
|
|
|
|
placeholder="http://cdn.dexlabs.systems/custom-build-000/"
|
|
|
|
|
required=""
|
|
|
|
|
pattern="^(https?|file):\/\/\/?([-a-zA-Z0-9@:%._\+~#= ]{1,256}\/){1,64}$"
|
2023-11-11 20:52:23 +00:00
|
|
|
|
oninput="validateVersionSave('edit')"
|
2023-10-22 20:10:10 +00:00
|
|
|
|
/>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="editversion-cancel"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-success border-success"
|
|
|
|
|
id="editversion-savebutton"
|
|
|
|
|
type="submit"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
form="editversion-form"
|
|
|
|
|
onclick="editVersion();"
|
|
|
|
|
>
|
|
|
|
|
Save
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-deleteversionmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Are you sure?</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p class="lead">
|
|
|
|
|
Do you really want to delete<br />"<a
|
|
|
|
|
id="deleteversion-versionname"
|
|
|
|
|
>VERSION_NAME</a
|
|
|
|
|
>"?<br /><br />You could always re-add it later.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="deleteversion-button"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
onclick="deleteVersion();"
|
|
|
|
|
>
|
|
|
|
|
Yes, Delete
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="modal fade"
|
|
|
|
|
role="dialog"
|
|
|
|
|
tabindex="-1"
|
|
|
|
|
id="of-restoreversionsmodal"
|
|
|
|
|
>
|
|
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<h4 class="modal-title">Are you sure?</h4>
|
|
|
|
|
<button
|
|
|
|
|
type="button"
|
|
|
|
|
class="close"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
aria-label="Close"
|
|
|
|
|
>
|
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<p class="lead">
|
|
|
|
|
Do you really want to restore the default
|
|
|
|
|
versions?
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button
|
|
|
|
|
class="btn btn-primary border rounded border-primary"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
>
|
|
|
|
|
Cancel</button
|
|
|
|
|
><button
|
|
|
|
|
class="btn btn-primary border rounded border-primary btn-danger border-danger"
|
|
|
|
|
id="restoreversions-button"
|
|
|
|
|
type="button"
|
|
|
|
|
data-dismiss="modal"
|
|
|
|
|
onclick="restoreDefaultVersions();"
|
|
|
|
|
>
|
|
|
|
|
Yes, Restore
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-02-09 11:32:21 +00:00
|
|
|
|
<div id="of-versionnumberdiv">
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<a
|
2023-02-09 11:32:21 +00:00
|
|
|
|
id="of-versionnumber"
|
2022-07-26 14:41:07 +00:00
|
|
|
|
class="text-monospace text-secondary"
|
|
|
|
|
href="#of-aboutmodal"
|
|
|
|
|
data-toggle="modal"
|
|
|
|
|
data-target="#of-aboutmodal"
|
2023-02-09 11:32:21 +00:00
|
|
|
|
>v0</a
|
2022-07-26 14:41:07 +00:00
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
<section>
|
2023-09-03 09:56:24 +00:00
|
|
|
|
<div id="client"></div>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
</section>
|
|
|
|
|
<script
|
|
|
|
|
src="assets/js/jquery.min.js"
|
|
|
|
|
onload="window.$ = window.jQuery = module.exports;"
|
|
|
|
|
></script>
|
2023-09-03 04:03:00 +00:00
|
|
|
|
<script src="assets/js/bootstrap.min.js"></script>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<script src="assets/js/bs-init.js"></script>
|
|
|
|
|
<script src="assets/js/uuidv4.min.js"></script>
|
2023-09-03 09:56:24 +00:00
|
|
|
|
<script src="assets/js/server-selector.js"></script>
|
|
|
|
|
<script src="assets/js/game-client.js"></script>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
<script src="assets/js/snowflakes.min.js"></script>
|
2023-09-03 09:56:24 +00:00
|
|
|
|
<script src="assets/js/easter-eggs.js"></script>
|
2022-07-26 14:41:07 +00:00
|
|
|
|
</body>
|
2021-09-16 09:56:03 +00:00
|
|
|
|
</html>
|