mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-14 18:50:04 +00:00
217391b95e
* Fix *most* selecting shenanigans in old Electron ver. * Replace input field in add server modal with select * Style select tag similarly to input
104 lines
7.5 KiB
HTML
104 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||
<title>OpenFusion: Server Selector</title>
|
||
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
|
||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap">
|
||
<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>
|
||
|
||
<body style="background: rgb(0,0,0);">
|
||
<div class="container animated fadeIn delay-1s" id="of-server-picker">
|
||
<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>
|
||
<tr>
|
||
<td>OpenFusion Public Server - Original</td>
|
||
<td class="text-monospace">beta-20100104</td>
|
||
</tr>
|
||
<tr>
|
||
<td>OpenFusion Public Server - Academy</td>
|
||
<td class="text-monospace">beta-20111013</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">
|
||
<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"><i class="fas fa-plus"></i></button><button class="btn btn-danger 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"><button class="btn btn-primary disabled" id="of-connect-button" type="button" disabled="">Connect <i class="fas fa-angle-double-right"></i></button></div>
|
||
</div>
|
||
</div>
|
||
<div id="of-versionnumber"><a class="text-monospace text-secondary" href="#of-aboutmodal" data-toggle="modal" data-target="#of-aboutmodal">v1.3</a></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">
|
||
<p class="text-monospace">Version 1.3-GIT_HASH</p>
|
||
<p>©2020 OpenFusion Contributors<br>OpenFusion is licensed under MIT.<br></p>
|
||
</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" onclick="openGithubPage();"><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" onclick="openDiscordPage();"><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">
|
||
<fieldset class="text-left" name="of-addserver-fields"><label>Server Description<input type="text" class="form-row" name="of-serverdesc-field" placeholder="My OpenFusion Server" pattern=".*/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+):([0-9]+)" required="" size="50"></label><label>Server IP<input type="text" class="form-row" name="of-serverip-field" placeholder="127.0.0.1:23000" size="50"></label></fieldset><label>Game Version: <select><option value="12" selected="">beta-20100104</option><option value="13">beta-20100728</option><option value="14">beta-20111013</option></select></label></div>
|
||
<div
|
||
class="modal-footer"><button class="btn btn-primary border rounded border-primary btn-danger border-danger" type="button" data-dismiss="modal">Cancel</button><button class="btn btn-primary disabled border rounded border-primary btn-success border-success"
|
||
type="button" data-dismiss="modal" disabled="">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 SERVER_NAME?<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" type="button" data-dismiss="modal">Yes, Delete</button></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script src="assets/js/jquery.min.js" onload="window.$ = window.jQuery = module.exports;"></script>
|
||
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
||
<script src="assets/js/bs-init.js"></script>
|
||
</body>
|
||
|
||
</html> |