-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewVoters.html
94 lines (87 loc) · 5.4 KB
/
viewVoters.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VOTE | BE RESPONSIBLE </title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
#font-body {
font-family: 'Poppins', sans-serif;
/* font-family: sans-serif; */
font-weight: 800;
font-style: normal;
}
</style>
</head>
<body class="font-body">
<nav>
<div class="flex justify-between bg-[#F4F5F7] rounded-md p-1">
<div>
<a href="index.html"> <h2 class="text-[#172B4D] font-black text-[40px] ml-16" id="font-body">VOTING APP</h2></a>
</div>
<!-- <div> -->
<div class="flex items-center mx-5">
<div class="mr-2">
<a href="index.html"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="size-6">
<path d="M11.47 3.841a.75.75 0 0 1 1.06 0l8.69 8.69a.75.75 0 1 0 1.06-1.061l-8.689-8.69a2.25 2.25 0 0 0-3.182 0l-8.69 8.69a.75.75 0 1 0 1.061 1.06l8.69-8.689Z" />
<path d="m12 5.432 8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 0 1-.75-.75v-4.5a.75.75 0 0 0-.75-.75h-3a.75.75 0 0 0-.75.75V21a.75.75 0 0 1-.75.75H5.625a1.875 1.875 0 0 1-1.875-1.875v-6.198a2.29 2.29 0 0 0 .091-.086L12 5.432Z" />
</svg></a>
</div>
<div><a class="bg-red-600 text-white p-2 rounded-md mx-3 font-medium text-[16px] hover:bg-red-700 hover:text-white" href="">LOGOUT</a></div>
</div>
</div>
</nav>
<!-- <div class=" bg-[#F4F5F7] text-red-700">
<div class="">
<marquee behavior="" direction=""><p class="">Annoucement</p></marquee>
</div>
</div> -->
<div class="grid grid-rows-2 grid-cols-1">
<div class="flex flex-row bg-[#409D9B] gap-2 justify-center items-center">
<div class="bg-[#DBF094] m-2 p-2 rounded-md"><a href="officialsHome.html">HOME</a></div>
<div class="bg-[#FDE9C9] m-2 p-2 rounded-md"><a href="viewVoters.html">View Voters</a></div>
<div class="bg-[#DBF094] m-2 p-2 rounded-md"><a href="viewCandidates.html">View Candidates</a></div>
<div class="bg-[#DBF094] m-2 p-2 rounded-md"><a href="electionStartsStops.html">Election start/stop</a></div>
<div class="bg-[#DBF094] m-2 p-2 rounded-md"><a href="sendSecretCode.html">Secret Code Generation</a></div>
<div class="bg-[#DBF094] m-2 p-2 rounded-md"><a href=""></a>View Results</div>
</div>
</div>
<div>
<table class="min-w-[70%] bg-white border border-gray-300 m-auto">
<thead class="bg-[#409D9B] text-white">
<tr>
<th class="px-6 py-3 border-b-2 border-gray-300 text-left text-xs font-semibold uppercase tracking-wider">Voter Name</th>
<th class="px-6 py-3 border-b-2 border-gray-300 text-left text-xs font-semibold uppercase tracking-wider">Student ID</th>
<th class="px-6 py-3 border-b-2 border-gray-300 text-left text-xs font-semibold uppercase tracking-wider">Email</th>
<th class="px-6 py-3 border-b-2 border-gray-300 text-left text-xs font-semibold uppercase tracking-wider">Year of Study</th>
<th class="px-6 py-3 border-b-2 border-gray-300 text-left text-xs font-semibold uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody>
<tr class="bg-gray-50">
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">User one</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">4984998498</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">user.testone@gmail.com</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">3rd Year</td>
<td class="px-6 py-4 border-b border-gray-300">
<button class="bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline mr-2">Approve</button>
<button class="bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Reject</button>
</td>
</tr>
<tr class="bg-white">
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">User Two</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">4899819818</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">user.testtwo@gmail.com</td>
<td class="px-6 py-4 border-b border-gray-300 text-gray-700">2nd Year</td>
<td class="px-6 py-4 border-b border-gray-300">
<button class="bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline mr-2">Approve</button>
<button class="bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">Reject</button>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>