mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-24 06:11:04 +00:00
switch from tabs to spaces & set indent size to 4
This commit is contained in:
parent
51a876cf2b
commit
fd92f2de5e
@ -1,7 +1,7 @@
|
||||
{
|
||||
"trailingComma": "es5",
|
||||
"tabWidth": 2,
|
||||
"useTabs": true,
|
||||
"useTabs": false,
|
||||
"tabWidth": 4,
|
||||
"singleQuote": false,
|
||||
"semi": true,
|
||||
"bracketSameLine": false,
|
||||
|
47
index.html
47
index.html
@ -35,8 +35,8 @@
|
||||
width="256"
|
||||
/>
|
||||
<p id="of-intro-text">
|
||||
Welcome to OpenFusion.<br />Select a server from the list below to
|
||||
get started.
|
||||
Welcome to OpenFusion.<br />Select a server from the
|
||||
list below to get started.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -59,7 +59,8 @@
|
||||
<tbody id="server-tablebody">
|
||||
<tr id="server-listing-placeholder">
|
||||
<td colspan="2">
|
||||
No servers added yet... perhaps you should find one?
|
||||
No servers added yet... perhaps you
|
||||
should find one?
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -72,7 +73,9 @@
|
||||
id="of-serverbuttons"
|
||||
style="padding-bottom: 16px"
|
||||
>
|
||||
<div class="col-4 text-left d-inline-flex justify-content-xl-start">
|
||||
<div
|
||||
class="col-4 text-left d-inline-flex justify-content-xl-start"
|
||||
>
|
||||
<button
|
||||
class="btn btn-success mr-1"
|
||||
data-toggle="modal"
|
||||
@ -121,12 +124,19 @@
|
||||
onclick="connectToServer()"
|
||||
disabled=""
|
||||
>
|
||||
Connect <i class="fas fa-angle-double-right"></i>
|
||||
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 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">
|
||||
@ -143,8 +153,8 @@
|
||||
<div class="modal-body">
|
||||
<p class="text-monospace">Version 1.4</p>
|
||||
<p>
|
||||
©2020-2022 OpenFusion Contributors<br />OpenFusion is licensed
|
||||
under MIT.<br />
|
||||
©2020-2022 OpenFusion Contributors<br />OpenFusion
|
||||
is licensed under MIT.<br />
|
||||
</p>
|
||||
<a
|
||||
href="#of-restoreserversmodal"
|
||||
@ -179,7 +189,11 @@
|
||||
>
|
||||
<i
|
||||
class="fab fa-discord"
|
||||
style="font-size: 24px; position: relative; top: 1px"
|
||||
style="
|
||||
font-size: 24px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
"
|
||||
></i>
|
||||
</button>
|
||||
</div>
|
||||
@ -218,7 +232,8 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form id="addserver-form" class="needs-validation">
|
||||
<label for="addserver-descinput">Server Description</label
|
||||
<label for="addserver-descinput"
|
||||
>Server Description</label
|
||||
><input
|
||||
class="form-control form-row w-75"
|
||||
type="text"
|
||||
@ -227,7 +242,8 @@
|
||||
required=""
|
||||
minlength="1"
|
||||
maxlength="70"
|
||||
/><label for="addserver-ipinput">Server IP</label
|
||||
/><label for="addserver-ipinput"
|
||||
>Server IP</label
|
||||
><input
|
||||
class="form-control form-row w-75"
|
||||
type="text"
|
||||
@ -288,7 +304,8 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form id="editserver-form" class="needs-validation">
|
||||
<label for="editserver-descinput">Server Description</label
|
||||
<label for="editserver-descinput"
|
||||
>Server Description</label
|
||||
><input
|
||||
class="form-control form-row w-75"
|
||||
type="text"
|
||||
@ -297,7 +314,8 @@
|
||||
required=""
|
||||
minlength="1"
|
||||
maxlength="70"
|
||||
/><label for="addserver-ipinput">Server IP</label
|
||||
/><label for="addserver-ipinput"
|
||||
>Server IP</label
|
||||
><input
|
||||
class="form-control form-row w-75"
|
||||
type="text"
|
||||
@ -405,7 +423,8 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p class="lead">
|
||||
Do you really want to restore the default servers?
|
||||
Do you really want to restore the default
|
||||
servers?
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
5
index.js
5
index.js
@ -154,7 +154,10 @@ function showMainWindow() {
|
||||
dialog.showErrorBox("Sorry!", errormsg);
|
||||
break;
|
||||
case "https://audience.fusionfall.com/ff/login.do":
|
||||
dialog.showErrorBox("Sorry!", "Account management is not available.");
|
||||
dialog.showErrorBox(
|
||||
"Sorry!",
|
||||
"Account management is not available."
|
||||
);
|
||||
break;
|
||||
case "http://forums.fusionfall.com/":
|
||||
require("shell").openExternal("https://discord.gg/DYavckB");
|
||||
|
@ -23,14 +23,15 @@
|
||||
text-shadow: 1px 1px 8px #4349c4;
|
||||
color: #4a76b7;
|
||||
font-size: 18px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||
'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
|
||||
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
font-family: -apple-system, BlinkMacSystemFont,
|
||||
'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
||||
'Noto Sans', sans-serif, 'Apple Color Emoji',
|
||||
'Segoe UI Emoji', 'Segoe UI Symbol',
|
||||
'Noto Color Emoji';
|
||||
"
|
||||
>
|
||||
OpenFusion is setting up...<br />Please wait - this should take
|
||||
<br />less than a minute.
|
||||
OpenFusion is setting up...<br />Please wait - this
|
||||
should take <br />less than a minute.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user