2022-10-16 13:54:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>EZPPLauncher</title>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2022-10-16 19:13:30 +00:00
|
|
|
<link rel="icon" type="image/png" href="../assets/logo.png" />
|
2022-10-16 13:54:29 +00:00
|
|
|
<link href="../assets/mdb.min.css" rel="stylesheet" />
|
2022-10-17 10:47:47 +00:00
|
|
|
<link href="../assets/launcher.css" rel="stylesheet" />
|
2022-10-27 12:30:46 +00:00
|
|
|
<link href="../assets/checkbox.css" rel="stylesheet" />
|
2022-10-16 14:06:20 +00:00
|
|
|
<style>
|
|
|
|
* {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
}
|
|
|
|
</style>
|
2022-10-16 13:54:29 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body class="fixed-sn mdb-skin-custom" data-spy="scroll" data-target="#scrollspy" data-offset="15"
|
|
|
|
oncontextmenu="return false;">
|
2022-10-16 19:13:30 +00:00
|
|
|
<main>
|
2022-10-16 13:54:29 +00:00
|
|
|
<div class="noselect">
|
2022-10-17 10:47:47 +00:00
|
|
|
<div class="position-relative overflow-hidden p-1 w-100 text-center text-lg-end d-flex align-items-center justify-content-center"
|
2022-10-16 13:54:29 +00:00
|
|
|
style="border-radius: 0.5em;">
|
2022-10-17 10:47:47 +00:00
|
|
|
<div class="launcher-window position-relative overflow-hidden">
|
|
|
|
<div class="container px-1 py-2 w-100 mw-100 h-100">
|
2022-10-16 13:54:29 +00:00
|
|
|
<div class="row d-flex justify-content-center align-items-center h-100">
|
2022-10-27 12:35:51 +00:00
|
|
|
<div id="loading-page" class="sections col col-xl-10">
|
2022-10-17 14:37:12 +00:00
|
|
|
<div class="launch-section flex-row">
|
|
|
|
<div class="server-logo">
|
|
|
|
<img src="../assets/logo.png" height="120">
|
|
|
|
</div>
|
|
|
|
<div class="app-name">EZPPLauncher</div>
|
|
|
|
</div>
|
|
|
|
<div class="loading-section">
|
|
|
|
<div class="loading-indicator">
|
|
|
|
<div class="loader">
|
|
|
|
<svg class="circular-loader" viewBox="25 25 50 50">
|
|
|
|
<circle class="loader-path" cx="50" cy="50" r="20" fill="none"
|
|
|
|
stroke="#fff" stroke-width="2" />
|
|
|
|
</svg>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="loading-indicator-text">Loading... Please wait</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-27 12:35:51 +00:00
|
|
|
<div id="launch-page" class="sections col col-xl-10" style="display: none;">
|
2022-10-17 10:47:47 +00:00
|
|
|
<div class="account-section">
|
|
|
|
<div class="user-image">
|
|
|
|
</div>
|
|
|
|
<div class="user-info">
|
|
|
|
<div class="welcome-text" id="welcome-text">
|
|
|
|
Nice to see you!
|
|
|
|
</div>
|
|
|
|
<div class="account-action" id="account-action">
|
|
|
|
Click to login
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="launch-section">
|
|
|
|
<div class="server-logo">
|
2022-10-17 18:19:22 +00:00
|
|
|
<img src="../assets/logo.png" height="150">
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
2022-10-27 12:30:46 +00:00
|
|
|
<div class="launch-button-section">
|
2022-10-17 23:46:04 +00:00
|
|
|
<button class="btn btn-lg btn-launch btn-accent" id="launch-btn">Launch</button>
|
2023-05-04 19:05:01 +00:00
|
|
|
<div class="patch-checkbox" style="display: none;">
|
2023-05-04 19:23:22 +00:00
|
|
|
<input type="checkbox" id="enablePatching" disabled />
|
|
|
|
<label for="enablePatching" style="display: initial;">enable
|
|
|
|
Patching</label>
|
2022-10-27 12:30:46 +00:00
|
|
|
</div>
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="folder-section">
|
|
|
|
<div class="folder-location">
|
2022-10-17 23:46:04 +00:00
|
|
|
Current osu! directory: <span id="currentOsuPath"></span>
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
2022-10-17 23:46:04 +00:00
|
|
|
<div class="folder-action" id="change-folder-btn">
|
2022-10-23 15:31:32 +00:00
|
|
|
Not correct?
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="login-page" class="sections col col-xl-10" style="display: none;">
|
|
|
|
<div class="launch-section flex-row">
|
|
|
|
<div class="server-logo">
|
|
|
|
<img src="../assets/logo.png" height="120">
|
|
|
|
</div>
|
|
|
|
<div class="app-name">EZPPLauncher</div>
|
|
|
|
</div>
|
|
|
|
<div class="login-section">
|
|
|
|
<div class="form-outline mb-3 w-50">
|
2022-10-17 23:46:04 +00:00
|
|
|
<input type="text" id="login-username" class="form-control form-control-lg" />
|
|
|
|
<label class="form-label" for="login-username">Username</label>
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-outline mb-3 w-50">
|
2022-10-27 12:30:46 +00:00
|
|
|
<input type="password" id="login-password"
|
|
|
|
class="form-control form-control-lg" />
|
2022-10-17 23:46:04 +00:00
|
|
|
<label class="form-label" for="login-password">Password</label>
|
2022-10-17 10:47:47 +00:00
|
|
|
</div>
|
|
|
|
<div class="pt-1 mb-4">
|
|
|
|
<div class="btn-grouped">
|
|
|
|
<button id="action-cancel" class="btn btn-grey btn-lg"
|
|
|
|
type="button">Cancel</button>
|
2022-10-17 23:46:04 +00:00
|
|
|
<button id="action-login" class="btn btn-accent btn-lg"
|
2022-10-17 10:47:47 +00:00
|
|
|
type="button">Login</button>
|
2022-10-16 13:54:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-17 10:47:47 +00:00
|
|
|
<p class="text-muted clickable" id="register">Don't have an account?</p>
|
2022-10-16 13:54:29 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</body>
|
|
|
|
<script type="text/javascript" src="../assets/mdb.min.js"></script>
|
2023-05-04 19:23:22 +00:00
|
|
|
<script>
|
|
|
|
function createElement(type, callback) {
|
|
|
|
var element = document.createElement(type);
|
|
|
|
callback(element);
|
|
|
|
return element;
|
|
|
|
}
|
|
|
|
|
|
|
|
function freezeGif(img) {
|
|
|
|
var width = img.width,
|
|
|
|
height = img.height,
|
|
|
|
canvas = createElement('canvas', function (clone) {
|
|
|
|
clone.width = width;
|
|
|
|
clone.height = height;
|
|
|
|
}),
|
|
|
|
attr,
|
|
|
|
i = 0;
|
|
|
|
|
|
|
|
var freeze = function () {
|
|
|
|
canvas.getContext('2d').drawImage(img, 0, 0, width, height);
|
|
|
|
|
|
|
|
for (i = 0; i < img.attributes.length; i++) {
|
|
|
|
attr = img.attributes[i];
|
|
|
|
|
|
|
|
if (attr.name !== '"') {
|
|
|
|
canvas.setAttribute(attr.name, attr.value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas.style.position = 'absolute';
|
|
|
|
|
|
|
|
img.parentNode.insertBefore(canvas, img);
|
|
|
|
img.style.opacity = 0;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
</script>
|
2022-10-16 13:54:29 +00:00
|
|
|
|
|
|
|
</html>
|