-
Notifications
You must be signed in to change notification settings - Fork 5
/
vote.html
136 lines (127 loc) · 4.42 KB
/
vote.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Vote</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Font Awesome Script -->
<script
src="https://kit.fontawesome.com/855ee508c4.js"
crossorigin="anonymous"
></script>
<!-- Bootstrap -->
<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"
/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Custom Stylesheet -->
<link rel="stylesheet" href="css/main-pages.css" />
</head>
<body>
<header>
<!-- Navbar -->
<nav class="navbar navbar-expand-sm bg-primary navbar-dark">
<div class="dropdown">
<button
class="btn btn-secondary dropdown-toggle"
type="button"
id="dropdownMenuButton"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
title="Account"
>
<i class="fas fa-user"></i> Account
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a href="account.py" title="View Account"
><i class="fas fa-user-edit"></i> View Account</a
>
<a href="login.html" title="Logout"
><i class="fas fa-sign-out-alt"></i> Logout</a
>
</div>
</div>
<div class="item-container">
<a href="index.html" title="Home"><i class="fas fa-home"></i> Home</a>
<div class="subnav">
<a href="vote.html" title="Vote" class="subnav-link dropdown-toggle"
><i class="fas fa-person-booth"></i> Vote
</a>
<div class="subnav-content">
<a href="results.py" title="Results"
><i class="fas fa-poll"></i> Results</a
>
</div>
</div>
<div class="subnav">
<a
href="donation.html"
title="Donation"
class="subnav-link dropdown-toggle"
><i class="fas fa-hand-holding-usd"></i> Donation
</a>
<div class="subnav-content">
<a href="totals.py" title="Totals"
><i class="fas fa-chart-pie"></i> Totals</a
>
</div>
</div>
</div>
</nav>
</header>
<div id="main">
<h1>VOTE</h1>
<form name="vote" method="post" action="vote.py">
<!-- Poltical Party -->
<div class="row">
<div class="col-75">
<label for="party">Political Party</label>
<div class="wrapper">
<input type="radio" name="party" value="Democrat" />
<label for="party" class="radio-label">Democrat</label>
</div>
<div class="wrapper">
<input type="radio" name="party" value="Republican" />
<label for="party" class="radio-label">Republican</label>
</div>
<div class="wrapper">
<input type="radio" name="party" value="Green Party" />
<label for="party" class="radio-label">Green Party</label>
</div>
<div class="wrapper">
<input
type="radio"
name="party"
value="Libertarian"
onclick="console.log('ok Libtard')"
/>
<label for="party" class="radio-label">Libertarian</label>
</div>
</div>
</div>
<!-- Candidate -->
<div class="row">
<div class="col-75">
<label for="can">Candidate</label><br />
<input type="text" name="can" /><br />
</div>
</div>
<!-- Buttons -->
<div class="row">
<div class="col-50">
<input type="submit" value="Submit" title="Submit" />
</div>
<div class="col-50">
<input type="reset" value="Clear" title="Clear" />
</div>
</div>
</form>
</div>
<footer></footer>
</body>
</html>