Move login HTML to login.js GUI script

This commit is contained in:
Vortrex
2022-03-16 20:42:17 -05:00
parent 787983a84b
commit c8d0f9d567

View File

@@ -20,6 +20,28 @@ let login = {
// ===========================================================================
let loginHTML =
`<html>
<head>
<title>Connected RP: Login</title>
<style type="text/css" rel="stylesheet">
.input-box
{
font-family: "Roboto";
font-size: 14px;
border-style: solid;
border-colour: #0066AA;
border-radius: 2px;
color: #0066AA;
};
</style>
</head>
<body>
</body>
</html>`;
// ===========================================================================
function initLoginGUI() {
logToConsole(LOG_DEBUG, `[VRR.GUI] Creating login GUI ...`);
login.window = mexui.window(game.width/2-150, game.height/2-135, 300, 275, 'LOGIN', {