-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (102 loc) · 4.75 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<title>Just Vote</title>
<meta name="description" content="give address to prove voting information">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Vineeth Sai">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="icon" type="image/png" href="img/vote.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
<!-- fonts-->
<link href="https://fonts.googleapis.com/css?family=Encode+Sans" rel="stylesheet">
<!--my CSS-->
<link rel="stylesheet" href="css/index.css">
<!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<script src="https://apis.google.com/js/client.js?onload=load"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD7zJVtw_WpAd6gEV2rlPpjFhEykWV8zkw&libraries=places&callback=initMap" async defer></script>
</head>
<body>
<header>
<a href="#" id="logo"></a>
<nav>
<a href="#" id="menu-icon"></a>
<ul>
<li><a href="#" class="current">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<main>
<section>
<div class="cent text-center centered">
<h1>Just Vote</h1>
<p>
Enter your address to find and contact your federal, state, county and local elected representatives
</p>
</div>
<div class="row centered">
<div class="container-fluid centered">
<div class="cent input-group input-group-lg col-sm-8 col-sm-offset-2 centered">
<input type="text" class="form-control" placeholder="Enter your address to find who represents you" id="address" name="address">
<span class="input-group-btn">
<button class="btn btn-primary" type="submit" id="address-search"><i class='fa fa-search'></i>Search</button>
</span>
</div>
<div class='cent col-sm-8 col-sm-offset-2 filter_level'>
<br />
<form class='text-center' id="checkbox">
Show level of government:
<label>
<input type="checkbox" id="show_local_results"> Local
</label>
<label>
<input type="checkbox" id="show_county_results"> County
</label>
<label>
<input type="checkbox" id="show_state_results"> State
</label>
<label>
<input type="checkbox" id="show_federal_results"> Federal
</label>
<br>
<!-- <label>
<input type="checkbox" id="all" > Check All
</label> -->
</form>
</div>
<br />
</div>
</div>
<table id="local-results" class="table">
<thead>
<tr>
<th>Official</th>
<th>Photo</th>
<th>Office</th>
<th>Party</th>
<th>Website</th>
</tr>
</thead>
<tbody id="body">
</tbody>
</table>
</section>
</main>
<!-- Load jQuery library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.3/fetch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.1.1/es6-promise.auto.js"></script>
<!-- Load JavaScript libraries here -->
<script src="js/index.js"></script>
<footer class="row">
<div class="copyright">
<p>© 2018 - Vineeth Sai Narajala | Powered by:<a style="color:white" href="https://developers.google.com/civic-information/">Google Civic Information API</a> </p>
</div>
</footer>
</body>
</html>