-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
206 lines (203 loc) · 7.16 KB
/
index.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./style.css" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
/>
<title>Census Survey Explorer</title>
</head>
<body>
<!---NAVIGATION-->
<nav class="navbar navbar-expand-lg navbar-dark">
<img
src="./assets/logo.jpg"
width="100"
class="mr-5 d-inline-block align-top"
alt="U.S. Census Bureau"
/>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="index.html"
>Home <span class="sr-only">(current)</span></a
>
</li>
<li class="nav-item">
<a class="nav-link" href="./geo.html">Geographies</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./freq.html">Frequencies</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./topics.html">Topics & Subtopics</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./help.html">Help</a>
</li>
</ul>
</div>
</nav>
<!---NAVIGATION-->
<!---HERO-->
<div class="jumbotron hero jumbotron-fluid mb-4">
<div class="container">
<h1>Census Survey Explorer</h1>
<h5>
Discover U.S. Census Bureau surveys or censuses by filtering and
searching by geography, frequency, topics, and subtopics.
</h5>
<!---FILTERING TOOLS-->
<div class="row no-gutters">
<!---SEARCHBAR-->
<div class="py-1 mr-2">
<input
id="quicksearch"
placeholder="Search by name or keyword"
type="text"
/>
</div>
<!---DROPDOWNS-->
<div>
<div id="filterCards">
<div class="btn-group py-1">
<button
class="btn btn-primary btn-sm dropdown-toggle"
type="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Geographies
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="./geo.html">Learn More</a>
<div class="dropdown-divider"></div>
<ul id="geographyFilters"></ul>
</div>
</div>
<div class="btn-group py-1">
<button
class="btn btn-primary btn-sm dropdown-toggle"
type="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Frequencies
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="./freq.html">Learn More</a>
<div class="dropdown-divider"></div>
<ul id="frequencyFilters"></ul>
</div>
</div>
<div class="btn-group py-1">
<button
class="btn btn-primary btn-sm dropdown-toggle"
type="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Topics
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="./topics.html">Learn More</a>
<div class="dropdown-divider"></div>
<ul id="topicFilters"></ul>
</div>
</div>
<div class="btn-group py-1">
<button
class="btn btn-primary btn-sm dropdown-toggle"
type="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
Subtopics
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="./topics.html">Learn More</a>
<div class="dropdown-divider"></div>
<input
type="text"
class="m-1 me-2"
id="topicsInput"
placeholder="Search subtopics"
title="Type in a name"
/>
<div id="subtopics">
<ul id="subtopicsFilters"></ul>
</div>
</div>
</div>
</div>
<!---SPECIAL BUTTONS-->
<button class="btn btn-outline-secondary btn-sm" id="uncheckAll">
Reset Search
</button>
<button class="btn btn-outline-secondary btn-sm" id="viewChange">
Change Layout
</button>
</div>
</div>
<!---FILTERING TOOLS-->
</div>
</div>
<!---HERO-->
<!---MAIN CONTAINER-->
<div class="container mx-auto">
<!---FILTER PILLS-->
<div id="filterPills" class="d-inline-block pb-1">
<!---Written using javascript function in filters.js based on selected checkboxes-->
</div>
<!---CLOSABLE ALERT & INSTRUCTIONS-->
<div class="alert alert-primary alert-dismissible fade show" role="alert">
Use the geography, frequency, topic, and subtopic filters above to
discover surveys relevant to your needs.
<br />Use the tabs across the top of this page to learn more and obtain
guidance for using this tool. <br />For more details about a survey or
to learn about data sources for a survey, click on the survey name to go
to the survey’s webpage.
<button
type="button"
class="close"
data-dismiss="alert"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<!---SURVEY CARDS-->
<div id="cards" class="card-columns">
<!---Written using Airtable API in scripts.js-->
</div>
</div>
<!--JQUERY-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- BOOTSTRAP-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="assets/filters.js"></script>
<!--General Functions-->
<script src="assets/script.js"></script>
<!--Airtable API Functions-->
</body>
</html>