SkirdaElectronLauncher/Callback/index.html

184 lines
5.0 KiB
HTML
Raw Normal View History

2024-01-09 20:09:57 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style type="text/css">
@font-face {
font-family: 'Manrope-Light';
src: url('fonts/Manrope-Light.ttf');
}
@font-face {
font-family: 'Avenir Medium';
src: url('fonts/Manrope-Medium.ttf');
}
body {
2024-01-28 06:36:25 +00:00
background-image: url(../../skirda/skirdaGoBackend/authskirda/templates/callback/img/bg.png);
2024-01-09 20:09:57 +00:00
background-repeat:no-repeat;
background-size: cover;
background-position: center center;
background-attachment: fixed;
font-family: "Manrope-Light";
}
body, html, div {
margin: 0px;
padding: 0px;
}
#main {
height: 100%;
background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
width: 100%;
position: absolute;
z-index: 10;
color: white;
}
#settingsAboutCurrentContainer {
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.25);
border: 1px solid rgba(126, 126, 126, 0.57);
border-radius: 3px;
width: 75%;
margin-bottom: 20px;
}
#settingsAboutCurrentContent {
display: flex;
flex-direction: column;
padding: 15px;
}
/* About header elements. */
#settingsAboutCurrentHeadline {
display: flex;
align-items: center;
padding-bottom: 5px;
border-bottom: 1px solid rgba(126, 126, 126, 0.57);
}
#settingsAboutLogo {
width: 90px;
height: 90px;
padding: 5px;
}
#settingsAboutTitle {
font-size: 23px;
padding-left: 10px;
}
/* Current version container. */
#settingsAboutCurrentVersion {
display: flex;
align-items: center;
padding-top: 10px;
text-align: center;
width: 95%;
padding: 2rem 0 2rem 0;
}
.Centered {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
/* width: 100%; */
}
.Centered > div {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
}
#loginSkirdaAuthorizationWindow {
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgb(83 83 83 / 60%);
border-radius: 3px;
margin-bottom: 20px;
width: 22rem;
}
#loginSkirdaAuthorizationNote {
font-size: 10px;
color: grey;
}
#loginSkirdaAuthorizationRetryButton {
margin-bottom: 0.7rem;
color: rgb(249 249 249);
border: 1px solid rgb(209 209 209);
border-radius: 4px;
transition: 0.25s ease;
font-size: 15px;
cursor: pointer;
outline: none;
background: none;
padding: 0.4rem 1rem 0.4rem 1rem;
}
#loginSkirdaAuthorizationRetryButton:hover {
background: rgb(0 0 0 / 91%);
border: 1px solid rgb(83 83 83 / 42%);
}
#loginSkirdaAuthorizationRetryButton:active {
background: rgb(0 0 0 / 91%);
border: 1px solid rgb(83 83 83 / 42%);
}
#loginSkirdaAuthorizationError {
font-size: 15px;
color: #bfbfbf;
}
</style>
</head>
<body>
<div id="main">
<div id="loginSkirdaDiscordContainer" class="Centered" >
<!--Окно открытия браузера (ожидание ответа)-->
<div id="loginSkirdaAuthorizationWindow" style="display: none;">
<div id="settingsAboutCurrentContent" class="Centered">
<div id="settingsAboutCurrentHeadline">
2024-01-28 06:36:25 +00:00
<img id="settingsAboutLogo" src="../../skirda/skirdaGoBackend/authskirda/templates/callback/img/Logo.png">
2024-01-09 20:09:57 +00:00
<span id="settingsAboutTitle">Авторизация через Discord</span>
</div>
<div id="settingsAboutCurrentVersion">
<span>Успешная авторизация! Для начала игры вам необходимо вернутся в лаунчер.</span>
</div>
</div>
<div id="settingsAboutButtons">
<span id="loginSkirdaAuthorizationNote">Skirda Launcher</span>
</div>
</div>
<!--Ошибка-->
<div id="loginSkirdaAuthorizationWindow" >
<div id="settingsAboutCurrentContent" class="Centered">
<div id="settingsAboutCurrentHeadline">
2024-01-28 06:36:25 +00:00
<img id="settingsAboutLogo" src="../../skirda/skirdaGoBackend/authskirda/templates/callback/img/Logo.png">
2024-01-09 20:09:57 +00:00
<span id="settingsAboutTitle">Авторизация через Discord</span>
</div>
<div id="settingsAboutCurrentVersion" class="Centered">
<span>Ошибка авторизации!</span>
<span id="loginSkirdaAuthorizationError">(Eror Pizda Poezdu)</span>
</div>
</div>
<div id="settingsAboutButtons">
<span id="loginSkirdaAuthorizationNote">Skirda Launcher</span>
</div>
</div>
</div>
</div>
</body>
</html>