forked from Bop-beep/Tech-Set-Go-Group-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
173 lines (154 loc) · 5.87 KB
/
form.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>repl.it</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div class="container-fluid" id="container">
<style>
.sidebar {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #E34192;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidebar a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #f1f1f1;
display: block;
transition: 0.3s;
}
.sidebar a:hover {
color: #aaa;
}
.sidebar .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
.openbtn {
font-size: 20px;
cursor: pointer;
background-color: #E34192;
color: white;
padding: 10px 15px;
border: none;
}
.openbtn:hover {
background-color: #9c2560;
}
#main {
transition: margin-left .5s;
padding: 16px;
}
@media screen and (max-height: 450px) {
.sidebar {padding-top: 15px;}
.sidebar a {font-size: 18px;}
}
</style>
</head>
<body>
<div id="mySidebar" class="sidebar">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a href="index.html">Home</a>
<a href="campaign_info.html">Campaign</a>
<a href="form.html">Nominate</a>
<a href="whoweare.html">About Twinkl</a>
</div>
<div id="header" class= "row header">
<div class="col-2">
<button class="openbtn" onclick="openNav()" style="min-width:50px">☰</button>
</div>
<script>
function openNav() {
document.getElementById("mySidebar").style.width = "250px";
document.getElementById("main").style.marginLeft = "250px";
}
function closeNav() {
document.getElementById("mySidebar").style.width = "0";
document.getElementById("main").style.marginLeft= "0";
}
</script>
<div class="col-7">
<a href="index.html"><img src="pictures/teacher-of-the-year-white.png" style="width:100%";"></a>
</div>
<div class="col-3">
<a href="https://www.twinkl.co.uk/"><img src="pictures/twinkl-logo.png" style="width:75%";"> </a>
</div>
</div>
<br>
<div class="container-fluid" style="background-color:#ffffff; max-width:900px">
<h2> Here is your opportunity to nominate your inspiring teacher story. It could be one of your teachers past or present, a colleague or even yourself! This is all about finding the world's best teachers and recognising them for their hard work.</h2>
<br>
<form>
<div class="form-group">
<label for="exampleFormControlTextarea1">Your Name</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="1"></textarea>
</div>
<div class="form-group">
<label for="exampleFormControlInput1">Email address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="[email protected]">
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">Your Nominee's Name</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="1"></textarea>
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Who is your nominee?</label>
<select class="form-control" id="exampleFormControlSelect1">
<option>Myself</option>
<option>A Current Teacher</option>
<option>A Former Teacher</option>
<option>A Colleague</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">Give your reason for this nomination, or share your memorable story</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
<div align="center">
<button id="formsubmit" type="submit" class="btn btn-info mb-2" background-color="#2399f9" onclick="myFunction()">Submit your Entry </button>
</div>
</form>
</div>
<div id="footer" class= "row footer">
<p> Wards Exchange </br>
197 Ecclesall Road </br>
Sheffield, S11 8HW, UK </p>
</br>
<a href="https://www.twinkl.co.uk/"><img src="pictures/twinkl-logo.png" style="width:25%";"> </a>
</div>
<script>
function myFunction() {
alert("Thank you for your nomination! You will recieve email confirmation shortly")
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="script.js"></script>
<!-- jQuery CDN - Slim version (=without AJAX) -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<!-- Popper.JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<!-- Bootstrap JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
</body>
</html>