-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
156 lines (148 loc) · 7.03 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="utf-8">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script defer src="index.js" charset="utf-8"></script>
<title>Mod 3 Pro</title>
<script src="https://kit.fontawesome.com/9fb0131115.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<!-- Calistoga -->
<link href="https://fonts.googleapis.com/css?family=Calistoga&display=swap" rel="stylesheet">
<!-- Dosis -->
<link href="https://fonts.googleapis.com/css?family=PT+Serif|Poppins:900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Domine:700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<!-- <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> -->
<link rel="stylesheet" href='album.css'>
</head>
<body>
<!-- Nav Begin -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">
<div class="navbar-logo">Vote Smart</div>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" id="home-button">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<!-- <a class="nav-link" href="#">Political Issues</a> -->
</li>
<li class="nav-item">
<!-- <a class="nav-link" id='my-votes-link' href="http://localhost:3000/bills/voted">My Votes</a> -->
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
My Representatives
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a id='local-items' class="dropdown-item">Local</a>
<a id='federal-items' class="dropdown-item">Federal</a>
<a id='my-votes-link' href="http://localhost:3000/bills/voted" class="dropdown-item">My Votes</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- End of Nav -->
<!-- Start of jumbotron -->
<div class="jumbotron text-center d-flex flex-column align-items-center">
<h1 class="display-4">Welcome to Vote Smart</h1>
<p class="lead">The better Vote Smart!</p>
<form class='w-50 ml-1' id='address-form'>
<div class="form-row">
<!-- <div class="col-sm-5 my-1">
<label class="sr-only" for="inlineFormAddress">Address</label>
<input type="text" class="form-control" id="inlineFormAddress" placeholder="Address">
</div> -->
<div class="col-sm-9 my-1">
<label class="sr-only" for="inlineFormInputGroupUsername">Username</label>
<div class="input-group">
<div class="input-group-prepend">
<div class="input-group-text">@</div>
</div>
<input type="text" class="form-control" id="inlineFormInputGroupUsername" placeholder="Username">
</div>
</div>
<div class="col-sm-3 my-1">
<button type="submit" class="btn btn-primary" id='username-submit'>Submit</button>
</div>
</div>
</form>
<!-- <hr class="my-4"> -->
<!-- <p>It uses utility classes for typography and spacing to space content out within the larger container.</p> -->
<!-- <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a> -->
</div>
<!-- end of jumbotron -->
<div class="album py-2">
<div class="container-modal">
<div class='d-flex flex-row justify-content-center pt-1 pb-3'>
<div class="spinner-border align-self-center d-none" style="color: #24305e;" role="status" id ='spinner'>
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
<div class="container" id='main-row'>
</div>
</div>
</div>
<!-- Button trigger modal -->
<!-- <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">
Launch demo modal
</button> -->
<!-- Modal -->
<div id="my-modal" class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog" aria-labelledby="myExtraLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-xl">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal-title"></h5>
<button id='modal-x-button'type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Phone Number</th>
<th scope="col">Party</th>
<th scope="col">Address</th>
<th scope="col">Website</th>
</tr>
</thead>
<tbody id="member-info">
</tbody>
</table>
<div id="twitter-div" class='container text-center'>
<!-- <a class="twitter-timeline" data-width="500" data-height="200" data-theme="light" href="https://twitter.com/VP?ref_src=twsrc%5Etfw">Tweets by VP</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> -->
</div>
</div>
<div class="modal-footer">
<button id='modal-close-button' type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<!-- <button type="button" class="btn btn-primary">Save changes</button> -->
</div>
</div>
</div>
</div>
<!-- -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>