-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
63 lines (58 loc) · 1.55 KB
/
login.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login | X</title>
<link rel="stylesheet" href="./css/loginregister.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</head>
<style>
.swal2-confirm {
background-color: #007bff;
color: #fff;
border: none;
font-weight: bold;
box-shadow: none;
}
.swal2-cancel {
background-color: #dc3545;
color: #fff;
border: none;
font-weight: bold;
box-shadow: none;
}
</style>
<body>
<div class="bg"></div>
<div class="star"></div>
<div class="container">
<h1>Login | X</h1>
<a href='./register'></a>
<form id="login-form">
<input type="text" id="username" placeholder="Username" required>
<input type="password" id="password" placeholder="Password" required>
<input type="submit" value="Login">
</form>
<br>
<p>
<span class='loginspan'>
Doesn't Have an Account?
</span>
<br>
<a class='loginlink' href="./register">
<strong class='loginstrong'>Register</strong>
</a>
</p>
</div>
</body>
</html>
<script src="../inc/js/login.js"></script>
<script src="../inc/js/config.js"></script>
<script src="../inc/js/dash.js"></script>