-
Notifications
You must be signed in to change notification settings - Fork 0
/
mcqContributor.html
96 lines (82 loc) · 3.13 KB
/
mcqContributor.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
<!DOCTYPE html>
<html>
<head>
<title>Contributor: MCQ</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Required JS scripts -->
<!-- Jquery -->
<script src="jquery.js"></script>
<!-- Bootstrap -->
<link href="bootflat/bootstrap/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="bootflat/css/font-awesome.min.css" rel="stylesheet" media="screen">
<link href="bootflat/css/bootflat.css" rel="stylesheet" media="screen">
<link href="bootflat/css/bootflat-extensions.css" rel="stylesheet" media="screen">
<link href="bootflat/css/bootflat-square.css" rel="stylesheet" media="screen">
<script src="js/index.js"></script>
<script src="js/contrDesc.js"></script>
<!-- Required CSS Scripts -->
<link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body onload="allEvents();">
<div id="header"></div>
<div id="zabody">
<div class="container">
<!-- inserting stuff here-->
<div id="upright" class="contributor" background="grey">
<div id="contributorRightSide">
<div class="col-md-12"><br>
<h2 class="example-title">Multiple Choice Question</h2><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqQs" class="form-control" placeholder="Enter your question here">
<br>
<input type="text" id="testid" class="form-control" placeholder="Enter test in which the question belongs">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="number" min="1" id="mcqQsMks" class="form-control" placeholder="Enter the number of marks for this question">
</div>
</div>
<br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqOpt1" class="form-control" placeholder="Enter option 1">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqOpt2" class="form-control" placeholder="Enter option 2">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqOpt3" class="form-control" placeholder="Enter option 3">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqOpt4" class="form-control" placeholder="Enter option 4">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="mcqAns" class="form-control" placeholder="Enter correct answer(s) seperated by spaces">
</div>
</div><br>
<div class="row">
<div class="col-md-6">
<input type="text" id="tags" class="form-control" placeholder="Enter relevent tag(s) seperated by spaces">
</div>
</div><br>
<button type="button" class="btn btn-success" onclick="pushMcq()" >Submit for Validation</button><br><br>
</div>
</div>
</div>
</div>
</div>
<div id="footer"></div>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootflat/js/bootstrap.min.js"></script>
</body>
</html>