-
Notifications
You must be signed in to change notification settings - Fork 1
/
screening.html
129 lines (127 loc) · 5.38 KB
/
screening.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
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.css.map">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.2/css/bulma.min.css">
<link rel="stylesheet" href="../CSS/demo.css">
<link rel="stylesheet" href="../CSS/form-labels-on-top.css">
<link rel="stylesheet" href="../CSS/scrollbar.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.1/jquery.js">
<head>
<style>
.end{
font-family: 'Montserrat', sans-serif;
color:#FFFFFF;
font-size:30px;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin: 0;
}
</style>
<title>Registration form </title>
</head>
<body style="background-color: #000000">
<header>
<h1 align="center">VITCMUN'19</h1>
</header>
<div align="center">
<img src="../images/logo.jpg" alt="VITCMUN'19" height="12%" width="12%">
</div>
<div class="main-content">
<form class="form-labels-on-top" method="POST" action="vote2.html">
<div align="left">
<h4><b>Name</b></h4><input class="input" type="text" name="del_name" placeholder="Your Name" required>
</div>
<div align="left">
<h4><b>Email</b></h4><input class="input" type="email" name="del_email" placeholder="Your email" required>
<span class="icon is-small is-left"><i class="fas fa-envelope"></i></span>
</div>
<div align="left">
<h4><b>Phone number</b></h4><input class="input" type="tel" name="del_num" placeholder="Phone number" maxlength="10" pattern="[0-9]{10}" required><p class="help">Format: 0123456789</p>
</div>
<div align="left">
<h4><b>Birthdate</b></h4><input class="input" type="date" name="del_dob" placeholder="Birthdate" required>
</div>
<div align="left">
<h4><b>Institution</b></h4><input class="input" type="text" name="del_inst" placeholder="Institution" required>
</div>
<div align="left">
<h4><b>MUN Experience</b></h4><input class="input" type="number" name="del_exp" min="0" max="200" placeholder="Your MUN Experience" required>
</div>
<div align="left">
<h4><b>Council Preference 1</b></h4>
<select id="pref1select" class="preferenceSelect">
<option>Select your council.</option>
<option>European Council</option>
<option>United Nations Commission on the Status of Women</option>
<option>All India Political Parties Meet</option>
<option>Disarmament and International Security</option>
<option>White House Situation Room</option>
<option>Security Council</option>
</select>
</div>
<div align="left">
<h4><b>Council Preference 2</b></h4>
<select id="pref2select" class="preferenceSelect">
<option>Select your council.</option>
<option>European Council</option>
<option>United Nations Commission on the Status of Women</option>
<option>All India Political Parties Meet</option>
<option>Disarmament and International Security</option>
<option>White House Situation Room</option>
<option>Security Council</option>
</select>
</div>
<div align="left">
<h4><b>Write briefly on why Agenda for Pref. 1 is important to you. (150 Words)</b></h4>
<textarea class="textarea has-fixed-size" rows="10" maxlength="175" required></textarea>
</div>
<div align="left">
<h4><b>"The Olympics represent diversity better than the United Nations."In not more than 500 words, write for or against the statement. Back up your thoughts with research. (maximum 1000 words)</b></h4>
<br><textarea class="textarea" rows="10" maxlength="1000" required></textarea>
</div>
<div align="left">
<h4><b> "You are holding the last leaf that exists in nature." Express your thoughts in any format.(maximum 1000 words) </b></h4>
<textarea class="textarea" rows="10" maxlength="1000" required></textarea>
</div>
<div align="left">
<h4><b>Accommodation</b></h4>
<input type="radio" name="accomadation" value="Yes">Yes<br>
<input type="radio" name="accomadation" value="No" checked>No
</div>
<div align="center">
<input type="submit" value="Proceed" class="end" style="background-color:#000000;border-radius:5px;color:antiquewhite;font-size: 20px">
</div>
</form>
</div>
<div align="center">
<p>
<h4 class="end">Begin the change.</h4>
</p><br><br>
</div>
<script>
$(document).ready(function() {
$(".preferenceSelect").change(function() {
// Get the selected value
var selected = $("option:selected", $(this)).val();
// Get the ID of this element
var thisID = $(this).prop("id");
// Reset so all values are showing:
$(".preferenceSelect option").each(function() {
$(this).prop("disabled", false);
});
$(".preferenceSelect").each(function() {
if ($(this).prop("id") != thisID) {
$("option[value='" + selected + "']", $(this)).prop("disabled", true);
}
});
});
});
</script>
</body>
</html>