-
Notifications
You must be signed in to change notification settings - Fork 1
/
createtest.html
243 lines (216 loc) · 5.55 KB
/
createtest.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html">
<title>Create a Test</title>
<link rel="stylesheet" type="text/css" media="all" href="css/styles.css">
<link rel="stylesheet" type="text/css" media="all" href="css/switchery.min.css">
<style>
@import url(http://fonts.googleapis.com/css?family=Laila:400,700);
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
outline: none;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html { overflow-y: scroll; }
body {
font-family: Arial, Tahoma, sans-serif;
background: #e2eef4;
font-size: 62.5%;
line-height: 1;
padding-top: 40px;
}
br { display: block; line-height: 1.6em; }
input, textarea {
-webkit-font-smoothing: antialiased;
outline: none;
}
strong, b { font-weight: bold; }
em, i { font-style: italic; }
h1 {
display: block;
font-size: 3.1em;
line-height: 1.45em;
font-family: 'Laila', serif;
text-align: center;
font-weight: bold;
color: #555;
text-shadow: 1px 1px 0 #fff;
}
/** form field **/
form {
display: block;
margin: 30px;
overflow: hidden;
background: #fff;
border: 1px solid #e4e4e4;
border-radius: 5px;
font-size: 0;
}
form > div > label {
display: block;
padding: 20px 20px 10px;
vertical-align: top;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
color: #939393;
cursor: pointer;
}
form > div.switch > label {
padding: 16px 20px 13px;
}
.col-2, .col-3, .col-4 {
border-bottom: 1px solid #e4e4e4;
}
form > div > .col-4 {
height: 86px;
}
label > input {
display: inline-block;
position: relative;
width: 100%;
height: 27px;
line-height: 27px;
margin: 5px -5px 0;
padding: 7px 5px 3px;
border: none;
outline: none;
color: #555;
font-family: 'Helvetica Neue', Arial, sans-serif;
font-weight: bold;
font-size: 14px;
opacity: .6;
transition: all linear .3s;
}
.col-submit {
text-align: center;
padding: 20px;
}
label > select {
display: block;
width: 100%;
padding: 0;
color: #555;
margin: 16px 0 6px;
font-weight: 500;
background: transparent;
border: none;
outline: none;
font-family: 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
opacity: .4;
transition: all linear .3s;
}
label > input:focus, label > select:focus {
opacity: 1;
}
/** button design based on http://codepen.io/guvootes/pen/eyDAb **/
button {
width: 100%;
height: 35px;
border: none;
border-radius: 4px;
margin: 0 0 15px 0;
font-size: 14px;
color: #fff;
font-weight: bold;
text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
overflow: hidden;
outline: none;
}
button.submitbtn {
background-image: -moz-linear-gradient(#97c16b, #8ab959);
background-image: -webkit-linear-gradient(#97c16b, #8ab959);
background-image: linear-gradient(#97c16b, #8ab959);
border-bottom: 1px solid #648c3a;
cursor: pointer;
color: #fff;
}
button.submitbtn:hover {
background-image: -moz-linear-gradient(#8ab959, #7eaf4a);
background-image: -webkit-linear-gradient(#8ab959, #7eaf4a);
background-image: linear-gradient(#8ab959, #7eaf4a);
}
button.submitbtn:active {
height: 34px;
border-bottom: 0;
margin: 1px 0 0 0;
background-image: -moz-linear-gradient(#7eaf4a, #8ab959);
background-image: -webkit-linear-gradient(#7eaf4a, #8ab959);
background-image: linear-gradient(#7eaf4a, #8ab959);
-moz-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
-webkit-box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 1px 3px 1px rgba(0, 0, 0, 0.3);
}
}
</style>
</head>
<body>
<div id="wrapper">
<h1>Create a Test</h1>
<form onsubmit="return false">
<div class="col-2">
<label>
Test Name
<input placeholder="What is Test'sname?" id="name" name="name" tabindex="1">
</label>
</div>
<div class="col-2">
<label>
Subject
<input placeholder="Which subject's test?" id="sub" name="sub" tabindex="2">
</label>
</div>
<div class="col-3">
<label>
Instructions
<input placeholder="Some Important Instructions" id="ins" name="ins" tabindex="3">
</label>
</div>
<div class="col-3">
<label>
Test Duration
<input placeholder="What is the duration of the test?" id="time" name="time" tabindex="4">
</label>
</div>
<div class="col-3">
<label>
Type
<select tabindex="5">
<option>MCQS</option>
<option>Short Answers</option>
<option>Long Answers</option>
</select>
</label>
</div>
<div class="col-4">
<label>
Skills
<input placeholder="Skills to be tested" id="skills" name="skills" tabindex="6">
</label>
</div>
<div class="col-5">
<label>
number of questions
<input placeholder="Number of questions in the test" id="no" name="no" tabindex="5">
</label>
</div>
<div class="col-submit">
<button class="submitbtn">Submit</button>
</div>
</form>
</div>
</body>
</html>