This commit is contained in:
jakani24
2024-04-27 14:10:01 +02:00
parent 0410e59b8d
commit fdff4736ff
2 changed files with 107 additions and 97 deletions

View File

@@ -11,6 +11,14 @@ if(isset($_SESSION["login"])){
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<title>Cyberhex login page</title>
<style>
.bg-image {
background-image: url('/logo.png');
background-size: cover;
background-position: center;
height: 100vh; /* Set height to viewport height */
}
</style>
</head>
<body>
<script>
@@ -218,7 +226,8 @@ async function checkRegistration() {
}
</script>
<div class="container mt-5">
<div class="container-fluid bg-image">
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card">
@@ -323,6 +332,7 @@ async function checkRegistration() {
</div>
</div>
</div>
</div>
</div>
</body>
</html>

BIN
src/server/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB