-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.html
103 lines (97 loc) · 4.97 KB
/
results.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
<html>
<head>
<meta charset="utf-8">
<title>Poll.com | Results</title>
<!--Style Sheet & icon-->
<link rel="shortcut icon" type="image/png" href="images/vote-icon.png">
<link rel="stylesheet" href="css/s3.css">
<!--Bootstrap-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--Jquery-->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous">
</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous">
</script>
<!--Logos/Vectors-->
<script src="https://kit.fontawesome.com/ccbdc28270.js" crossorigin="anonymous"></script>
</head>
<body>
<section id="top">
<div class="container-fluid">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="btn-success" style="border-radius: .4em;"><a class="navbar-brand" href="#"
style="display: flex;justify-content: center;padding-left: .8em;">Poll.com</a></button>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<a class="nav-item nav-link active" href="viewPoll.html">Return to Home <span
class="sr-only">(current)</span></a>
</div>
</div>
</nav>
</div>
<div style="display: flex;justify-content: center;align-items: center;width: 100vw;">
<div class="container main-Results">
<h1 style="text-align: center; padding-bottom:10px;" class="poll-name-res" id="poll-nme">Poll name
</h1>
<div style="display: flex;justify-content: center;">
<table class="styled-table">
<thead>
<tr>
<th>Options</th>
<th>Votes</th>
</tr>
</thead>
<tr>
<td>
<h2 class="cand-v" id="c1-nme">Option 1</h2>
</td>
<td>
<h3 id="c1-votes">0 votes</h3>
</td>
</tr>
<tr>
<td class="active-row">
<h2 class="cand-v" id="c2-nme">Option 2</h2>
</td>
<td>
<h3 id="c2-votes">0 votes</h3>
</td>
</tr>
<tr>
<td>
<h2 class="cand-v" id="c3-nme">Option 3</h2>
</td>
<td>
<h3 id="c3-votes">0 votes</h3>
</td>
</tr>
<tr>
<td>
<h2 class="cand-v" id="c4-nme">Option 4</h2>
</td>
<td>
<h3 id="c4-votes">0 votes</h3>
</td>
</tr>
</table>
</div>
<!-- <h2 style="text-align: right;">Result Graph</h2> -->
</div>
</div>
</section>
<script type="module" src="js/firebase.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="module" src="js/results.js"></script>
</body>
</html>