forked from TeamGreeenLantern/citizen-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
candidates.html
117 lines (104 loc) · 3.66 KB
/
candidates.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get To Know Your Representatives</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.9.0/css/bulma.min.css"
integrity="sha512-ADrqa2PY1TZtb/MoLZIZu/Z/LlPaWQeDMBV73EMwjGam43/JJ5fqW38Rq8LJOVGCDfrJeOMS3Q/wRUVzW5DkjQ=="
crossorigin="anonymous" />
<link rel="stylesheet" href="./assets/css/styles.css">
</head>
<body>
<section class="hero is-link">
<!-- Hero head: will stick at the top -->
<div class="hero-head">
<nav class="navbar">
<div class="container">
<div class="navbar-brand">
<span class="navbar-burger burger" data-target="navbarMenuHeroA">
<span></span>
<span></span>
<span></span>
</span>
</div>
<div id="navbarMenuHeroA" class="navbar-menu">
<div class="navbar-end">
<a href="index.html" class="navbar-item">
Home
</a>
<a href="candidates.html" class="navbar-item">
Representatives
</a>
<a href="voting.html" class="navbar-item">
Election Information
</a>
</div>
</div>
</div>
</nav>
</div>
<!-- Hero content: will be in the middle -->
<div class="hero-body">
<div class="container has-text-centered">
<h1 id="voting-title">Get To Know Your Representatives</h1>
</div>
</div>
</section>
<div class="candidate-scope">
<h1 id="select-scope">Choose your Scope!</h1>
<p class="short-break"><br></p>
<!--buttons for scope-->
<button class="scopeBtn" id="country">National</button>
<button class="scopeBtn" id="administrativeArea1">State</button>
<button class="scopeBtn" id="administrativeArea2">County</button>
</div>
<p class="short-break"><br><br></p>
<div class="result"></div>
<!--representative modal-->
<div class="modal" id="rep-modal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p id="modal-card-title" class="modal-card-title">Representative info</p>
<button class="delete" id="repMod-delete" aria-label="close"></button>
</header>
<section id="modal-card-background" class="modal-card-body">
<!--Content...-->
<div class="cadidate-modal-results" id="repMod-result">
<div class="rep-info">
<p id="party"></p>
<p id="website"></p>
<p id="phone"></p>
<p id="socialOne"></p>
<p id="socialTwo"></p>
</div>
<div class="news">
<h2 class="news-header">Lastest News Articles From NYtimes</h2>
<div class="articles"></div>
</div>
</div>
</section>
<footer class="modal-card-foot">
</footer>
</div>
</div>
<!--error modal-->
<div class="modal" id="error-modal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Error</p>
</header>
<section class="modal-card-body">
<p id="error-text">There was a problem with your request. Please make sure you entered a valid address</p>
<button class="scopeBtn">
<a href="index.html" id="btn-text">Go home</a>
</button>
</section>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="assets/js/candidates.js"></script>
</body>
</html>