-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
205 lines (154 loc) · 5 KB
/
index.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!--
BCS2243 WEB ENGINEERING [HOT]
Student ID: CA20123
Student Name: LIM YU SHUN
Section: 2B
Lecturer name: DR NOORLIN
-->
<!--Create a CSS External Style Sheet & link a .css on another folder -->
<!DOCTYPE html>
<html>
<head>
<meta name="author" content="LIM YU SHUN CA20123">
<title>ELECTION 2022</title>
<link rel="stylesheet" type="text/css" href="./StyleSheets/mystyles.css">
<script src="./Functions/election.js"></script>
</head>
<body>
<div class="banner">
<img src="Assets/banner.png" id="bannerPng" alt="banner" width="100%" height="200px" border="1">
</div>
<div class="navigation">
<ul>
<li><a href="index.html">HOME</a></li>
<li><a href="Views/candidate_zhafran.html">CANDIDATE</a></li>
</ul>
</div>
<div class="row">
<div class="main">
<h2>VOTING RESULT</h2>
<p>Voting result for UMP Campus Election 2022</p>
<br>
<form name="electionForm">
<div class="row_title">
<div class="col-row-title1">
<label>Select voting center:</label>
</div>
<div class="col-row-title2"><select id="faculty" name="faculty">
<option value="select" disabled selected>Select voting center</option>
<option value="Faculty of Computing">Faculty of Computing</option>
<option value="Faculty of Manufacturing">Faculty of Manufacturing</option>
<option value="Faculty of Electrical">Faculty of Electrical</option>
</select>
</div>
</div>
<div class="container1">
<div class ="row">
<div class="column1"><label>A. Ballots received details:</label></div>
<div class="column2">
<label>
<table border="1">
<tr>
<th colspan="2">BALLOT NUMBER SERIES</th>
<th rowspan="2">NUMBER OF BALLOT RECEIVED</th>
<th rowspan="2">NUMBER OF BALLOT GIVEN TO VOTERS</th>
</tr>
<tr>
<th>Number from</th>
<th>Number to</th>
</tr>
<tr>
<td><input type="text" name="nf1" id="nf1"></td>
<td><input type="text" name="nt1" id="nt1"></td>
<td><input type="text" name="nobr1" id="nobr1" readonly></td>
<td><input type="text" name="nobg1" id="nobg1"></td>
</tr>
<tr>
<td><input type="text" name="nf2" id="nf2"></td>
<td><input type="text" name="nt2" id="nt2"></td>
<td><input type="text" name="nobr2" id="nobr2" readonly></td>
<td><input type="text" name="nobg2" id="nobg2"></td>
</tr>
<tr>
<th colspan="2" style="text-align: right;">Total ballots</th>
<td><input type="text" name="tbr" id="tbr" readonly ></td>
<td><input type="text" name="tbg" id="tbg" readonly></td>
</tr>
</table>
</label>
</div>
</div>
</div>
<div class="container1">
<div class ="row">
<div class="column1"><label>A. Total ballots in ballot box:</label></div>
<div class="column2">
<td><input type="text" name="tbibb" id="tbibb" disabled></td>
</div>
</div>
<div class ="row">
<div class="column1"><label>B. Total votes</label></div>
<div class="column2">
<table border="1">
<tr>
<th>CANDIDATE NAME</th>
<th>PARTY NAME</th>
<th>NUMBER OF VOTES</th>
</tr>
<tr>
<td><a href="Views/candidate_hakimie.html">NIK HAKMIE BIN NIK MUSTAPA FADZI</a></td>
<td>
<select id='party' name='PARTY' required>
<option value="none" selected disabled hidden>Select Candidate Party</option>
<option value="basikal">BASIKAL</option>
<option value="tetikus">TETIKUS</option>
</select>
</td>
<td><input type="text" name="nov1" id='nov1'></td>
</tr>
<tr>
<td><a href="Views/candidate_zhafran.html">AHMAD ZHAFRAN FARUQI BIN ZAINAL ABIDIN</a></td>
<td>
<select id='party' name='PARTY' required>
<option value="none" selected disabled hidden>Select Candidate Party</option>
<option value='basikal'>BASIKAL</option>
<option value='tetikus'>TETIKUS</option>
</select>
</td>
<td><input type="text" name="nov2" id="nov2"></td>
</tr>
<tr>
<th colspan="2" style="text-align: right;">Total votes</th>
<td><input type="text" name="tnov" id="tnov" readonly></td>
</tr>
</table>
</div>
</div>
<div class ="row">
<div class="column1"><label>C. Total rejected ballots:</label></div>
<div class="column2">
<td><input type="number" name="trb" id="trb" readonly></td>
</div>
</div>
</div>
<div class="row">
<div class="col-calc">
<input type="button" id="submit" value="PROCESS" onclick="process()">
</div>
<div class="col-reset">
<input type="reset" id="reset" value="RESET">
</div>
</div>
</form>
<p id="demo"></p>
</div>
</div>
<footer>
<div class="footer">
<div class="navbar_footer">
<h4>Copyright 2022; All Rights Reserved.</h4>
</div>
</div>
</footer>
</body>
</html>