forked from Samiksha-Pansare/Updating-Gen-Z
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
103 lines (99 loc) · 4.82 KB
/
admin.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Add Blog</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="../static/Css/admin.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css2?family=Cookie&display=swap" rel="stylesheet">
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"> -->
<!-- <link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> -->
<!------ Include the above in your HEAD tag ---------->
</head>
<body>
<header style="position: absolute;">
<nav class="navbar navbar-dark navbar-expand-sm fixed-top" style="background: #022140;">
<div class="container">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#Navbar">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand mr-auto" href="#"><img src="../static/img/logo.png" height="50" width="41"></a>
<div class="collapse navbar-collapse" id="Navbar">
<h3 style="color: white;">Admin Page - Add Question</h3>
</div>
<div>
<h1 style="color: white;"> Updating Gen-Z</h1>
</div>
</div>
</nav>
</header>
<div class="container" style="margin-top: 80px;">
<form method="POST" enctype="multipart/form-data">
<!-- <div class="field" tabindex="1">
<label for="question">
<i class="fa fa-question-circle"></i>Your Question
</label>
<input name="question" type="text" placeholder="e.g. What is" required>
</div>
<div class="field" tabindex="2">
<label for="Subject">
<i class="fa fa-edit"></i>Subject
</label>
<input name="domain" type="text" placeholder="" required>
</div>
<div class="field" tabindex="3">
<label for="opt1">
<i class="fa fa-edit"></i>Option 1
</label>
<input name="choice1" type="text" required>
</div>
<div class="field" tabindex="4">
<label for="opt2">
<i class="fa fa-edit"></i>Option 2
</label>
<input name="choice2" type="text" required>
</div>
<div class="field" tabindex="5">
<label for="opt3">
<i class="fa fa-edit"></i>Option 3
</label>
<input name="choice3" type="text" required>
</div>
<div class="field" tabindex="6">
<label for="opt4">
<i class="fa fa-edit"></i>Option 4
</label>
<input name="choice4" type="text" required>
</div>
<div class="field" tabindex="7">
<label for="Correct-Answer">
<i class="fa fa-edit"></i>Correct Answer
</label>
<input name="answer" type="text" placeholder="" required>
</div> -->
<h4 style="color: #fff;margin-left: 2px;font-size: 2em;">Excel File Of Questions</h4>
<h6>
Format for excel:<br>
First Row:Question<br>
Second Row:Option1<br>
Third Row:Option2<br>
Fourth Row:Option3<br>
Fifth Row:Option4<br>
Sixth Row:Correct Option<br>
Seventh Row:Domain<br>
</h6>
<input id="Excel" name= "Excel" class='lf--input' placeholder='Excel' type='file'>
<button formaction="/addques" type="submit">Add</button>
</form>
</div>
<!-- This is not part of Pen -->
<a class="me" href="https://codepen.io/uzcho_/pens/popular/?grid_type=list" target="_blank" style="color:#000"></a>
</body>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js"></script>
</html>