This repository was archived by the owner on Apr 22, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (51 loc) · 2.77 KB
/
index.html
File metadata and controls
53 lines (51 loc) · 2.77 KB
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
<!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">
<meta name="description" content="A quick and easy way to find restaurant health inspection results in CNY">
<meta name="author" content="Mark Headd">
<link rel="icon" href="assets/favicon.ico">
<title>Eat Safe CNY</title>
<link href="https://bootswatch.com/5/united/bootstrap.min.css" rel="stylesheet">
<link href="assets/css/style.css" rel="stylesheet"/>
</head>
<body role="document">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top" role="navigation">
<div class="container">
<a class="navbar-brand" href="/">Eat Safe CNY</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-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" href="/?latest=true">Latest</a></li>
<li class="nav-item"><a class="nav-link" href="/?worst=true">Worst</a></li>
<li class="nav-item"><a class="nav-link" href="about.html">About</a></li>
<li class="nav-item"><a class="nav-link" href="https://health.data.ny.gov/Health/Onondaga-County-Restaurant-Inspections/tbxv-5tbd" target="_blank">Data</a></li>
</ul>
</div>
</div>
</nav>
<div class="container mt-5" role="main">
<div class="middle">
<h3>Food Service Establishment Inspection Results for CNY</h3>
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" id="name" placeholder="Enter name or partial name...">
<button class="btn btn-primary" type="button" id="search">Search</button>
</div>
<div class="alert alert-warning hide" role="alert">
Fetching data...
</div>
<div id="results"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js" integrity="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@4.7.8/dist/handlebars.runtime.min.js"></script>
<script src="assets/js/app.js"></script> <!-- main application logic -->
<script src="assets/js/helpers.js"></script> <!-- helper functions -->
<script src="assets/js/templates.js"></script> <!-- compiled template file -->
</body>
</html>