-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.php
57 lines (57 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
53
54
55
56
57
<?php
Include 'common-code/login.php';
login();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="css/sb-admin.css" rel="stylesheet">
<style>
.form-control,.btn,.panel{
border-radius: 0;
}
.form-control:focus{
box-shadow: none;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="login-panel panel panel-default">
<div class="panel-heading">
<h3 class="panel-title text-center">Please Sign In</h3>
</div>
<div class="panel-body">
<form role="form" method="POST" action="">
<fieldset>
<div class="form-group">
<input class="form-control" placeholder="Username" name="username" type="text" autofocus required>
</div>
<div class="form-group">
<input class="form-control" placeholder="Password" name="password" type="password" value="" required>
</div>
<div class="form-group">
<input type="submit" class="btn btn-lg btn-success btn-block" value="Login">
</div>
<p class="text-danger text-center"><?php echo $flashData; ?></p>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<?php clearFlashData() ?>
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/sb-admin.js"></script>
</body>
</html>