This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
154 lines (128 loc) · 7.92 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
<!DOCTYPE html>
<html lang="en" ng-app="openHealthDataApp" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<META NAME="description" CONTENT="Easily get public health inspection data for eateries near you.">
<meta name="keywords" content="inspection, health inspection, dining, restaurant, cafeteria, open data, open government data, Code for America, Code for America Brigade, cfabrigade, mobile, HTML5, app, open source, Code for Hampton Roads, volunteers, volunteering, civic, civic engagement, public service">
<meta property="og:image" content="img/build/preview.jpg" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="">
<meta name="twitter:title" content="Open Health Inspection">
<meta name="twitter:description" content="Easily get public health inspection data for eateries near you.">
<meta name="twitter:creator" content="">
<meta name="twitter:image:src" content="https://ohi.code4hr.org/img/build/preview.jpg">
<meta name="twitter:domain" content="https://ohi.code4hr.org/">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="img/build/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="img/build/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="img/build/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="img/build/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="img/build/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="img/build/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="img/build/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="img/build/apple-touch-icon-152x152.png" />
<title>Open Health Inspection</title>
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- <link href="css/production.min.css" rel="stylesheet"> -->
<link rel="stylesheet" href="dist/main.css">
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,900,300italic,400italic,700,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Bitter:400,700,400italic' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="dismissScreen" ng-click="toggleCityJump(false)"></div>
<header class="navbar-fixed-top drop-shadow">
<div class="container-fluid">
<div class="row">
<div id="logoWrapper" class="hidden-xs col-sm-7 col-md-8">
<a href="#/" class="clearfix">
<img id="logo" src="img/build/logo.png" height="48px" width="48px" alt="Open Health Inspection Logo">
<h1 class="hidden-xs">Open Health Inspection</h1>
</a>
</div>
<div id="searchbar" class="col-xs-12 col-sm-5 col-md-4 clearfix" ng-controller="searchCtrl">
<section id="search" ng-show="isSearchbarVisible" class="col-xs-12">
<form ng-submit="nameSearch(0)" class=" clearfix" novalidate>
<span id="exitButton" ng-click="toggleSearchField()" class="col-xs-1 glyphicon glyphicon-chevron-left"></span>
<input id="searchField" class="col-xs-9" type="search" ng-model="query" placeholder="Search for a restaurant" focus-me="isSearchbarVisible"/>
<button class="btn btn-info col-xs-2">
<span id="searchButton" class="glyphicon glyphicon-search"/>
</button>
</form>
<section class="clearfix row tray drop-shadow">
<ul class="">
<li class="col-xs-6 searchDescription">
<small>Search in:</small>{{searchAreaText}}</li>
<li class="col-xs-6 moreButton">
<a ng-click="toggleCityJump(true)">
More Cities <i class="fa fa-plus-circle"></i>
</a>
</li>
</ul>
</section>
</section>
<a href="#/" class="visible-xs" class="clearfix">
<img class="logo" src="img/build/logo.png" height="48px" width="48px" alt="logo">
</a>
<button ng-click="toggleSearchField()" class="btn btn-lg btn-transparent">
<span id="searchButton" class="glyphicon glyphicon-search"></span>
</button>
<button ng-click="getLocationButton()" class="btn btn-lg btn-transparent">
<span class="fa fa-crosshairs"></span>
</button>
<button ng-click="goToResults()" class="btn btn-lg btn-transparent" ng-if="isCloseButtonVisible">
<span class="glyphicon glyphicon-remove-circle"></span>
</button>
<section class="clearfix tray drop-shadow" ng-show="isVisible">
<ul>
<li class="col-xs-12">
<small>Displaying results</small>
{{searchQuery}} <span>In</span> {{searchAreaText}}
</li>
</ul>
</section>
</div>
</div>
</div>
</header>
<div id="main" ng-class="{'bump': isSearchbarVisible || isVisible}" class="container ng-cloak" >
<div id="viewContainer" ng-view></div>
<div class="bglogo hidden-md hidden-lg">
<img src="img/build/logo-gray.png" height="70" width="70" alt="logo">
<h1>Open<br>Health<br>Inspection</h1>
</div>
<section id="cityJump" ng-show="isCityJumpVisible" class="col-xs-12 col-sm-5 col-sm-offset-7 col-md-4 col-md-offset-8 cityResults drop-shadow" ng-controller="cityJumpCtrl">
<section>
<ul class="row">
<li class="list-container nearMe">
<a class="city-container" ng-click="cityJump()">Near Me</a></li>
<li class="list-container clearfix" ng-repeat="city in cities">
<a class="city-container" ng-click="cityJump(city)">{{city.name}}</a>
</li>
</ul>
</section>
</section>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular-resource.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular-route.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular-animate.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular-touch.js"></script>
<!-- <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script> -->
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>
<script src="dist/production.js"></script>
<!-- <script src="js/libs/angular-google-maps.min.js"></script> -->
<script src="js/libs/ui-bootstrap-tpls-0.11.0.min.js"></script>
<script src="js/libs/angular-local-storage.js"></script>
<script src="analytics.js"></script>
<script src="https://platform.twitter.com/widgets.js"></script>
</html>