-
Notifications
You must be signed in to change notification settings - Fork 2
/
admin.php
86 lines (77 loc) · 2.75 KB
/
admin.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
session_start();
if (isset($_SESSION['logged_in'])) {
header("Location: panel.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
<title>LAHS Hack Club | Admin</title>
<!-- CSS -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection"/>
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection"/>
</head>
<body>
<nav class="blue darken-3" role="navigation">
<div class="nav-wrapper container"><a id="logo-container" href="." class="brand-logo">LAHS Hack Club</a>
<ul class="right hide-on-med-and-down">
<li><a href=".">Home</a></li>
</ul>
<ul id="nav-mobile" class="side-nav">
<li><a href=".">Home</a></li>
</ul>
<a href="#" data-activates="nav-mobile" class="button-collapse"><i class="material-icons">menu</i></a>
</div>
</nav>
<br />
<div class="row">
<div class="col s12 l4 z-depth-4 card-panel push-l4">
<form class="login-form">
<div class="row">
<div class="input-field col s12 center">
<h3 class="center">Please Log In!</h3>
</div>
</div>
<div class="row margin">
<div class="input-field col s12">
<i class="material-icons prefix">account_circle</i>
<input id="username" type="text" id="username">
<label for="username" class="center-align">Username</label>
</div>
</div>
<div class="row margin">
<div class="input-field col s12">
<i class="material-icons prefix">lock</i>
<input id="password" type="password" id="password">
<label for="password">Password</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<a class="btn waves-effect waves-light col s12 blue darken-3" id="login-button">Login</a>
</div>
</div>
</form>
</div>
</div>
<div id="login-form-modal" class="modal">
<div class="modal-content">
<h4 id="login-form-header"></h4>
<p id="login-form-content"></p>
</div>
<div class="modal-footer">
<a class="modal-action modal-close waves-effect waves-green btn-flat">Dismiss</a>
</div>
</div>
<?php require_once("templates/footer.php"); ?>
<!-- Scripts-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="js/materialize.js"></script>
<script src="js/init.js"></script>
<script src="js/admin.js"></script>
</body>
</html>