forked from heavy-cloud/Codeita
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
56 lines (52 loc) · 1.49 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
54
55
56
<?php
include('src/inc/globals.inc');
if(!is_file(CONFIG_FILE)){
header("Location: setup");
}
?><!doctype html>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="src/css/bootstrap/bootstrap-1.0.0.css" />
<link rel="stylesheet" type="text/css" href="src/css/main.css" />
<script type="text/javascript" src="src/js/jquery.js"></script>
</head>
<body>
<div class="content">
<header>
<img class="logo" src="src/img/logo_sm.png" alt="Codeita" />
</header>
<section id="page" class="container">
<div class="row">
<div class="span7 offset1">
<br /><br />
<h1>User Access</h1>
<p>You be logged in to use Codeita. Enter your username and password to continue.</p>
</div>
<div class="span8">
<br /><br />
<form action="src/auth/login.php" method="POST">
<div class="clearfix">
<label for="">Username</label>
<div class="input">
<input required name="username" type="text" />
</div>
</div> <!-- /clearfix -->
<div class="clearfix">
<label for="">Password</label>
<div class="input">
<input required name="password" type="password" />
</div>
</div> <!-- /clearfix -->
<div class="clearfix">
<div class="input">
<input class="btn primary" id="submit" type="submit" value="Log In" />
</div>
</div> <!-- /clearfix -->
</form>
</div>
</div>
</section>
</div>
</body>
</html>