-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.html
70 lines (55 loc) · 1.87 KB
/
add.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>QuizMe - Add a question</title>
<link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.css">
<script src="../jqueryui/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="../mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
<h2>Add a question below:</h2>
<form class = "form-horizontal" action = "/add/" method = "POST" enctype="multipart/form-data">
<div class="control-group">
Question Text:<textarea rows = "4" cols = "50" name = "questionText" class = "input" id = "questionText" /></textarea>
Question Answer:<input type = "text" name = "questionAnswer" class = "input-small" />
Image name: <input type = "file" name = "image" class = "input-small" />
</div>
<div class = "control-group">
Course:
<select name = 'course'>
<option value = 'geo'>Geometry</option>
<option value = 'alg2'>Advanced Algebra</option>
<option value = 'calc'>Calculus</option>
<option value = 'phys'>Physics</option>
</select>
Unit:
<select name = 'unit' >
<option value = '1'>1</option>
<option value = '2'>2</option>
<option value = '3'>3</option>
<option value = '4'>4</option>
<option value = '5'>5</option>
<option value = '6'>6</option>
<option value = '7'>7</option>
<option value = '8'>8</option>
<option value = '9'>9</option>
</select>
Standard:
<select name = 'standard' >
<option value = '1'>1</option>
<option value = '2'>2</option>
<option value = '3'>3</option>
<option value = '4'>4</option>
<option value = '5'>5</option>
<option value = '6'>6</option>
<option value = '7'>7</option>
<option value = '8'>8</option>
<option value = '9'>9</option>
</select>
</div>
Standard Text<input type = "text" name = "standardText" class = "input-small" id = "standardText" />
<button type = "submit" class = "btn">Submit</button>
</form>
</div>
</body>