-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin.html
71 lines (65 loc) · 2.89 KB
/
admin.html
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
<html>
<head>
<title>Admin</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<style>
.container-fluid{
background-color: #c90202;
}
a {
color: white !important;
}
</style>
<script>
function get(name){
if(name=(new RegExp('[?&]'+encodeURIComponent(name)+'=([^&]*)')).exec(location.search))
return decodeURIComponent(name[1]);
}
function init() {
document.getElementById("dept_id").value = get("dept");
}
</script>
</head>
<body onload="init()">
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span> FireLogic</a>
</div>
</div>
</nav>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Add Users</h3>
</div>
<div class="panel-body">
<form action="server/addUser.php" method="post">
<div class="input-group">
<span class="input-group-addon" id="basic-addon1">Username</span>
<input type="text" class="form-control" placeholder="Username" aria-describedby="basic-addon1" name="user_name">
</div>
<input style="display:none" name="department_id" id="dept_id"/><br/>
<div class="input-group">
<span class="input-group-addon" id="basic-addon2">Password</span>
<input type="password" class="form-control" placeholder="Username" aria-describedby="basic-addon2" name="password">
</div><br/>
User Type:
<select name="user_type">
<option value="Fire">Fire</option>
<option value="Chief">Chief / Incident Commander</option>
<option value="EMS">EMS / CERT</option>
</select>
<Br/>
<input type="submit" class="btn"/>
</form>
</div>
</div>
</body>
</html>