-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
53 lines (48 loc) · 1.75 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="This is a webapp that enables you to create student's report cards without wasting time">
<meta name="keywords" content="report, primary, school, manage, reportcard, easy">
<title>Teacher login form</title>
<link rel="stylesheet" href="grace.css">
<style>
form > label, h1, h2 {
font-size: larger;
color: white;
}
main {
margin-top: 3%;
}
h1 {
font-size:5vw
}
h1 {
border-bottom-style:solid;
border-bottom-color: white;
}
h3 {
color: red;
}
</style>
</head>
<body class="login_page">
<main>
<section class="title">
<h1>GRACE NUR & PRIMARY SCHOOL</h1>
<h2>Teacher login form</h2>
</section>
<form action="databases/login2db.php" method="post">
<?php if (isset($_GET['error'])) { ?>
<h3 class="error"><?php echo $_GET['error']; ?></h3>
<?php } ?>
<label for="username">Username</label><br>
<input type="text" name="username" placeholder="Username you used when regestering"><br><br>
<label for="password">Password:</label><br>
<input type="password" name="password" placeholder="Your login password"><br><br>
<input type="submit" value="login" class="submit">
</form>
</main>
<script src="graceRepo.js"></script>
</body>
</html>