-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.html
124 lines (75 loc) · 3.29 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<head>
<title> Voting Statistics</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="../stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<script src="../ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="../stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="static/css/base.css" />
<link rel="icon" type="image/svg" href="static/images/favicon.svg" class="fav">
<link rel="stylesheet" href="static/css/results.css">
<script src="../cdn.jsdelivr.net/npm/chart.js%402.9.3/dist/Chart.min.js"></script>
<script src="static/script/results.js"></script>
</head>
<body>
<nav class="navbar navbar-dark sticky-top navbar-expand-md">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="index.html">
<strong>Home</strong>
</a>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav mr-auto">
<li><a class="nav-link" href="results.html"> <span class="d-md-none d-lg-inline">Live</span> Results</a></li>
<li><a class="nav-link" href="voter_list.html">Voters</a></li>
<li><a class="nav-link" href="candidate_list.html"> Candidates</a></li>
</ul>
<ul class=" navbar-nav ml-auto">
<li><a class="nav-link" href="register.html">Register</a></li>
<li><a class="nav-link" href="login.html"> Login</a> </li>
</ul>
</div>
</nav>
<div class="load-screen">
<div class="dots-container">
<div class="dots"></div>
<div class="dots"></div>
<div class="dots"></div>
<div class="dots"></div>
<div class="dots"></div>
</div>
<p class="loading-caption">Loading the Live Poll Result...</p>
</div>
<div class="container whole">
<h1>Voting Statistics</h1>
<div class="row">
<div class="col-11 mx-auto order-last order-lg-first col-lg-6 tab">
<table class="table">
<thead class="mains">
<th class="d-none d-sm-table-cell">Sr.No.</th>
<th>Name</th>
<th>Party</th>
<th>Votes</th>
</thead>
<tbody id="table-body">
</tbody>
</table>
</div>
<div class="col-10 mx-auto order-md-first order-lg-last col-lg-6 pie text-center">
<canvas id="pie-chart">
</canvas>
</div>
</div>
</div>
<script>
fetchResult()
</script>
</body>
</html>