-
Notifications
You must be signed in to change notification settings - Fork 2
/
data.html
executable file
·132 lines (106 loc) · 5.57 KB
/
data.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Crime Dashboards</title>
<!-- Our Custom CSS -->
<link rel="stylesheet" href="./css/styles.css">
<!-- Font Awesome JS -->
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/solid.js" integrity="sha384-tzzSw1/Vo+0N5UhStP3bvwWPq+uvzCMfrN1fEFe+xBmv1C/AtVX5K0uZtmcHitFZ" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.13/js/fontawesome.js" integrity="sha384-6OIrr52G08NpOFSZdxxz1xdNSndlD4vdcf/q2myIUVO0VsqaGHJsB0RaBE01VTOY" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.2/css/jquery.dataTables.min.css"></style>
<script type="text/javascript" src="https://cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
</head>
<body>
<div class="wrapper">
<!-- Sidebar -->
<nav id="sidebar">
<div class="sidebar-header">
<h3>Crime Dashboard</h3>
</div>
<ul class="list-unstyled components">
<label for="group"><b>Offence Group</b></label>
<select id="crimeType" name="crimeType" class="form-control" ><option value="All" selected="selected"> -- ALL --</option>
</select>
<label for="startDate"><b>Start Date</b></label>
<input autocomplete="off" type='text' class="form-control" id="startDate" name="startDate" value="2019-01-08" >
<label for="endDate"><b>End Date</b></label>
<input autocomplete="off" type='text' class="form-control" id="endDate" name="endDate" value="2019-07-08">
<label for="group"><b>Arrest</b></label>
<select id="arrest" class="form-control"><option value="All" selected="selected"> -- ALL --</option>
</select>
<label for="group"><b>Domestic</b></label>
<select id="domestic" class="form-control"><option value="All" selected="selected" > -- ALL --</option>
</select>
</ul>
<ul class="list-unstyled" style="margin-left: 10px">
<img src="images/spacetimelab_logo.png">
</ul>
</nav>
<!-- Page Content -->
<div id="content">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<button type="button" id="sidebarCollapse" class="btn btn-info">
<i class="fas fa-align-left"></i>
<span>Toggle Sidebar</span>
</button>
<button class="btn btn-dark d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-align-justify"></i>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="nav navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link py-0" href="index.html">MAIN</a>
</li>
<li class="nav-item">
<a class="nav-link py-0" href="analysis.html">ANALYSIS</a>
</li>
<li class="nav-item active">
<a class="nav-link active py-0" href="data.html">DATA</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid" >
<div class="row" style="margin-left: 5px">
<table id="myTable" class="display" style="width:100%">
<thead>
<tr>
<th >Crime Type</th>
<th >Description</th>
<th>Location</th>
<th>Date</th>
<th>Arrest</th>
<th>Domestic</th>
<th>Community Area</th>
<th>Latitude</th>
<th>Longitude</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
<script src="js/tableData.js"></script>
<script src="js/filters.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#sidebarCollapse').on('click', function () {
$('#sidebar').toggleClass('active');
});
});
</script>
</body>
</html>