-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.tpl
66 lines (52 loc) · 1.76 KB
/
add.tpl
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>QuizMe - Add a question</title>
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.css">
</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" /></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>
<option value = 'ibmath'>IB Math</option>
<option value = 'ibphysics'>IB 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>
<option value = '10'>10</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>
</select>
</div>
Standard Text<input type = "text" name = "standardText" class = "input-small" />
<button type = "submit" class = "btn">Submit</button>
</form>