-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
60 lines (52 loc) · 1.88 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
57
58
59
60
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<title>Requests</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<script src="js/user.js"></script>
<script src="js/bootstrap.min.js"></script>
<style>
.center_fix {
margin: auto;
width: 60%;
height: 100px;
max-width: 500px;
padding: 10px;
/* border: 1px solid #000000; */
}
.innerTable {
width: 500px;
margin: 20px auto;
/* border: 1px solid rgba(0, 0, 0, .1); */
}
</style>
</head>
<!-- Content, Yeah -->
<body>
<div class="center_fix">
<div class="form-group">
<input id="requestInput" type="text" class="form-control" style="width: 100%;" placeholder="...">
</div>
<button class="btn btn-success pull-right" id="addRequest" onclick="addRequest()">Request</button>
</div>
<hr/>
<div id="wrapper">
<div class="innerTable" style="height: 20px; width: 500px;">
<div class="btn-group pull-right">
<button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Filter
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#all" onclick='loadRequests(id=lastID, filter="all")'>All</a></li>
<li class="divider"></li>
<li><a href="#open" onclick='loadRequests(id=lastID, filter="open")'>Open</a></li>
<li><a href="#filled" onclick='loadRequests(id=lastID, filter="filled")'>Filled</a></li>
</ul>
</div>
</div>
<div id="requestsTable"></div>
</div>
</body>
</html>