-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
52 lines (47 loc) · 2.25 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
<?php include('server.php') ?>
<!DOCTYPE html>
<html>
<head>
<title>Login</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Jura" />
</head>
<body>
<div style="opacity: 0.8;">
<div class="jumbotron" style="height: auto; width: 100%; margin-top: 10px; padding: 2rem 2rem;">
<h2>Task Scheduler</h2>
<p>A website that helps you prioritize your tasks.</p>
</div>
<div class="header">
<h2>Login</h2>
</div>
<form method="post" action="login.php">
<?php include('errors.php'); ?>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1"><img src="https://image.flaticon.com/icons/png/512/44/44948.png"></span>
</div>
<input style="border-top-left-radius: 5px; border-bottom-left-radius: 5px; height: auto;" type="text" name="username" placeholder=" Username " class="form-control" aria-label="Username" aria-describedby="basic-addon1" required>
</div>
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1"><img src="https://image.flaticon.com/icons/png/512/52/52840.png"></span>
</div>
<input style="border-top-left-radius: 5px; border-bottom-left-radius: 5px; height: auto;" type="password" name="password" placeholder=" Password " class="form-control" aria-label="Username" aria-describedby="basic-addon1" required>
</div>
<div class="input-group">
<button type="submit" class="btn btn-primary" name="login_user">Login</button>
</div>
<p>
Not yet a member? <a href="register.php">Sign up</a>
</p>
</form>
</div>
</body>
</html>