Neurolingua
commited on
Commit
•
22555d5
1
Parent(s):
6a857bc
Update templates/teacher_eval.html
Browse files- templates/teacher_eval.html +347 -304
templates/teacher_eval.html
CHANGED
@@ -1,304 +1,347 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
-
<html lang="en">
|
3 |
-
<head>
|
4 |
-
<meta charset="UTF-8">
|
5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
-
<title>Exam Evaluation System</title>
|
7 |
-
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
|
8 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
|
9 |
-
<style>
|
10 |
-
:root {
|
11 |
-
--primary-color: #3498db;
|
12 |
-
--secondary-color: #2c3e50;
|
13 |
-
--background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent for readability */
|
14 |
-
--text-color: #333;
|
15 |
-
--input-bg: #fff;
|
16 |
-
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
17 |
-
}
|
18 |
-
|
19 |
-
body {
|
20 |
-
font-family: 'Roboto', Arial, sans-serif;
|
21 |
-
line-height: 1.6;
|
22 |
-
color: var(--text-color);
|
23 |
-
margin: 0;
|
24 |
-
padding: 0;
|
25 |
-
position: relative;
|
26 |
-
background-color: var(--background-color);
|
27 |
-
}
|
28 |
-
|
29 |
-
.background-video {
|
30 |
-
position: fixed;
|
31 |
-
top: 0;
|
32 |
-
left: 0;
|
33 |
-
width: 100%;
|
34 |
-
height: 100%;
|
35 |
-
object-fit: cover;
|
36 |
-
z-index: -1; /* Make sure the video is behind everything else */
|
37 |
-
}
|
38 |
-
|
39 |
-
.header {
|
40 |
-
background-color: var(--secondary-color);
|
41 |
-
padding: 20px 0;
|
42 |
-
text-align: center;
|
43 |
-
}
|
44 |
-
.back-button {
|
45 |
-
position: fixed;
|
46 |
-
top: 20px;
|
47 |
-
left: 20px;
|
48 |
-
background-color: #3498db;
|
49 |
-
color: white;
|
50 |
-
border: none;
|
51 |
-
border-radius: 50%;
|
52 |
-
width: 50px;
|
53 |
-
height: 50px;
|
54 |
-
font-size: 24px;
|
55 |
-
cursor: pointer;
|
56 |
-
transition: all 0.3s ease;
|
57 |
-
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
58 |
-
display: flex;
|
59 |
-
justify-content: center;
|
60 |
-
align-items: center;
|
61 |
-
text-decoration: none;
|
62 |
-
}
|
63 |
-
|
64 |
-
.back-button:hover {
|
65 |
-
background-color: #2980b9;
|
66 |
-
transform: scale(1.1);
|
67 |
-
}
|
68 |
-
|
69 |
-
.back-button i {
|
70 |
-
transition: transform 0.3s ease;
|
71 |
-
}
|
72 |
-
|
73 |
-
.back-button:hover i {
|
74 |
-
transform: translateX(-5px);
|
75 |
-
}
|
76 |
-
|
77 |
-
.logo {
|
78 |
-
display: flex;
|
79 |
-
justify-content: center;
|
80 |
-
align-items: center;
|
81 |
-
margin-bottom: 10px;
|
82 |
-
}
|
83 |
-
|
84 |
-
.logo i {
|
85 |
-
font-size: 2.5em;
|
86 |
-
color: var(--primary-color);
|
87 |
-
margin-right: 10px;
|
88 |
-
}
|
89 |
-
|
90 |
-
h1 {
|
91 |
-
color: #fff;
|
92 |
-
font-size: 2.5em;
|
93 |
-
margin: 0;
|
94 |
-
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
95 |
-
}
|
96 |
-
|
97 |
-
.container {
|
98 |
-
max-width: 800px;
|
99 |
-
margin: 40px auto;
|
100 |
-
padding: 30px;
|
101 |
-
background-color: var(--background-color);
|
102 |
-
border-radius: 8px;
|
103 |
-
box-shadow: var(--shadow);
|
104 |
-
position: relative;
|
105 |
-
z-index: 1;
|
106 |
-
}
|
107 |
-
|
108 |
-
form {
|
109 |
-
display: grid;
|
110 |
-
gap: 20px;
|
111 |
-
}
|
112 |
-
|
113 |
-
label {
|
114 |
-
font-weight: 500;
|
115 |
-
margin-bottom: 5px;
|
116 |
-
color: var(--secondary-color);
|
117 |
-
}
|
118 |
-
|
119 |
-
select, input[type="text"], textarea {
|
120 |
-
width: 100%;
|
121 |
-
padding: 12px;
|
122 |
-
border: 1px solid #ddd;
|
123 |
-
border-radius: 4px;
|
124 |
-
box-sizing: border-box;
|
125 |
-
font-size: 16px;
|
126 |
-
transition: border-color 0.3s, box-shadow 0.3s;
|
127 |
-
}
|
128 |
-
|
129 |
-
select:focus, input[type="text"]:focus, textarea:focus {
|
130 |
-
outline: none;
|
131 |
-
border-color: var(--primary-color);
|
132 |
-
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
|
133 |
-
}
|
134 |
-
|
135 |
-
input[type="submit"] {
|
136 |
-
background-color: var(--primary-color);
|
137 |
-
color: #fff;
|
138 |
-
padding: 12px 20px;
|
139 |
-
border: none;
|
140 |
-
border-radius: 4px;
|
141 |
-
cursor: pointer;
|
142 |
-
font-size: 18px;
|
143 |
-
font-weight: 500;
|
144 |
-
transition: background-color 0.3s, transform 0.1s;
|
145 |
-
}
|
146 |
-
|
147 |
-
input[type="submit"]:hover {
|
148 |
-
background-color: #2980b9;
|
149 |
-
transform: translateY(-2px);
|
150 |
-
}
|
151 |
-
|
152 |
-
.input-section {
|
153 |
-
display: none;
|
154 |
-
background-color: rgba(249, 249, 249, 0.8);
|
155 |
-
padding: 20px;
|
156 |
-
border-radius: 4px;
|
157 |
-
border: 1px solid #e0e0e0;
|
158 |
-
}
|
159 |
-
|
160 |
-
#max-marks-section {
|
161 |
-
margin-top: 20px;
|
162 |
-
}
|
163 |
-
|
164 |
-
.icon-input {
|
165 |
-
display: flex;
|
166 |
-
align-items: center;
|
167 |
-
position: relative;
|
168 |
-
}
|
169 |
-
|
170 |
-
.icon-input i {
|
171 |
-
margin-right: 10px;
|
172 |
-
color: var(--secondary-color);
|
173 |
-
}
|
174 |
-
|
175 |
-
.icon-input input, .icon-input select, .icon-input textarea {
|
176 |
-
flex: 1;
|
177 |
-
}
|
178 |
-
|
179 |
-
.input-section .icon-input {
|
180 |
-
margin-bottom: 20px;
|
181 |
-
}
|
182 |
-
|
183 |
-
.input-section label {
|
184 |
-
display: block;
|
185 |
-
margin-bottom: 5px;
|
186 |
-
font-weight: bold;
|
187 |
-
}
|
188 |
-
|
189 |
-
.input-section input[type="file"] {
|
190 |
-
height: 40px;
|
191 |
-
}
|
192 |
-
|
193 |
-
input[type="file"] {
|
194 |
-
border: 1px solid #ddd;
|
195 |
-
border-radius: 4px;
|
196 |
-
padding: 8px 12px;
|
197 |
-
font-size: 14px;
|
198 |
-
width: 100%;
|
199 |
-
box-sizing: border-box;
|
200 |
-
}
|
201 |
-
|
202 |
-
input[type="file"]::-webkit-file-upload-button {
|
203 |
-
visibility: hidden;
|
204 |
-
width: 0;
|
205 |
-
}
|
206 |
-
|
207 |
-
input[type="file"]::before {
|
208 |
-
content: 'Choose file';
|
209 |
-
display: inline-block;
|
210 |
-
background: var(--primary-color);
|
211 |
-
color: #fff;
|
212 |
-
border-radius: 3px;
|
213 |
-
padding: 5px 8px;
|
214 |
-
outline: none;
|
215 |
-
white-space: nowrap;
|
216 |
-
cursor: pointer;
|
217 |
-
font-weight: 700;
|
218 |
-
font-size: 10pt;
|
219 |
-
}
|
220 |
-
|
221 |
-
input[type="file"]:hover::before {
|
222 |
-
background-color: #2980b9;
|
223 |
-
}
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Exam Evaluation System</title>
|
7 |
+
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap" rel="stylesheet">
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
:root {
|
11 |
+
--primary-color: #3498db;
|
12 |
+
--secondary-color: #2c3e50;
|
13 |
+
--background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent for readability */
|
14 |
+
--text-color: #333;
|
15 |
+
--input-bg: #fff;
|
16 |
+
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
17 |
+
}
|
18 |
+
|
19 |
+
body {
|
20 |
+
font-family: 'Roboto', Arial, sans-serif;
|
21 |
+
line-height: 1.6;
|
22 |
+
color: var(--text-color);
|
23 |
+
margin: 0;
|
24 |
+
padding: 0;
|
25 |
+
position: relative;
|
26 |
+
background-color: var(--background-color);
|
27 |
+
}
|
28 |
+
|
29 |
+
.background-video {
|
30 |
+
position: fixed;
|
31 |
+
top: 0;
|
32 |
+
left: 0;
|
33 |
+
width: 100%;
|
34 |
+
height: 100%;
|
35 |
+
object-fit: cover;
|
36 |
+
z-index: -1; /* Make sure the video is behind everything else */
|
37 |
+
}
|
38 |
+
|
39 |
+
.header {
|
40 |
+
background-color: var(--secondary-color);
|
41 |
+
padding: 20px 0;
|
42 |
+
text-align: center;
|
43 |
+
}
|
44 |
+
.back-button {
|
45 |
+
position: fixed;
|
46 |
+
top: 20px;
|
47 |
+
left: 20px;
|
48 |
+
background-color: #3498db;
|
49 |
+
color: white;
|
50 |
+
border: none;
|
51 |
+
border-radius: 50%;
|
52 |
+
width: 50px;
|
53 |
+
height: 50px;
|
54 |
+
font-size: 24px;
|
55 |
+
cursor: pointer;
|
56 |
+
transition: all 0.3s ease;
|
57 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
58 |
+
display: flex;
|
59 |
+
justify-content: center;
|
60 |
+
align-items: center;
|
61 |
+
text-decoration: none;
|
62 |
+
}
|
63 |
+
|
64 |
+
.back-button:hover {
|
65 |
+
background-color: #2980b9;
|
66 |
+
transform: scale(1.1);
|
67 |
+
}
|
68 |
+
|
69 |
+
.back-button i {
|
70 |
+
transition: transform 0.3s ease;
|
71 |
+
}
|
72 |
+
|
73 |
+
.back-button:hover i {
|
74 |
+
transform: translateX(-5px);
|
75 |
+
}
|
76 |
+
|
77 |
+
.logo {
|
78 |
+
display: flex;
|
79 |
+
justify-content: center;
|
80 |
+
align-items: center;
|
81 |
+
margin-bottom: 10px;
|
82 |
+
}
|
83 |
+
|
84 |
+
.logo i {
|
85 |
+
font-size: 2.5em;
|
86 |
+
color: var(--primary-color);
|
87 |
+
margin-right: 10px;
|
88 |
+
}
|
89 |
+
|
90 |
+
h1 {
|
91 |
+
color: #fff;
|
92 |
+
font-size: 2.5em;
|
93 |
+
margin: 0;
|
94 |
+
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
95 |
+
}
|
96 |
+
|
97 |
+
.container {
|
98 |
+
max-width: 800px;
|
99 |
+
margin: 40px auto;
|
100 |
+
padding: 30px;
|
101 |
+
background-color: var(--background-color);
|
102 |
+
border-radius: 8px;
|
103 |
+
box-shadow: var(--shadow);
|
104 |
+
position: relative;
|
105 |
+
z-index: 1;
|
106 |
+
}
|
107 |
+
|
108 |
+
form {
|
109 |
+
display: grid;
|
110 |
+
gap: 20px;
|
111 |
+
}
|
112 |
+
|
113 |
+
label {
|
114 |
+
font-weight: 500;
|
115 |
+
margin-bottom: 5px;
|
116 |
+
color: var(--secondary-color);
|
117 |
+
}
|
118 |
+
|
119 |
+
select, input[type="text"], textarea {
|
120 |
+
width: 100%;
|
121 |
+
padding: 12px;
|
122 |
+
border: 1px solid #ddd;
|
123 |
+
border-radius: 4px;
|
124 |
+
box-sizing: border-box;
|
125 |
+
font-size: 16px;
|
126 |
+
transition: border-color 0.3s, box-shadow 0.3s;
|
127 |
+
}
|
128 |
+
|
129 |
+
select:focus, input[type="text"]:focus, textarea:focus {
|
130 |
+
outline: none;
|
131 |
+
border-color: var(--primary-color);
|
132 |
+
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
|
133 |
+
}
|
134 |
+
|
135 |
+
input[type="submit"] {
|
136 |
+
background-color: var(--primary-color);
|
137 |
+
color: #fff;
|
138 |
+
padding: 12px 20px;
|
139 |
+
border: none;
|
140 |
+
border-radius: 4px;
|
141 |
+
cursor: pointer;
|
142 |
+
font-size: 18px;
|
143 |
+
font-weight: 500;
|
144 |
+
transition: background-color 0.3s, transform 0.1s;
|
145 |
+
}
|
146 |
+
|
147 |
+
input[type="submit"]:hover {
|
148 |
+
background-color: #2980b9;
|
149 |
+
transform: translateY(-2px);
|
150 |
+
}
|
151 |
+
|
152 |
+
.input-section {
|
153 |
+
display: none;
|
154 |
+
background-color: rgba(249, 249, 249, 0.8);
|
155 |
+
padding: 20px;
|
156 |
+
border-radius: 4px;
|
157 |
+
border: 1px solid #e0e0e0;
|
158 |
+
}
|
159 |
+
|
160 |
+
#max-marks-section {
|
161 |
+
margin-top: 20px;
|
162 |
+
}
|
163 |
+
|
164 |
+
.icon-input {
|
165 |
+
display: flex;
|
166 |
+
align-items: center;
|
167 |
+
position: relative;
|
168 |
+
}
|
169 |
+
|
170 |
+
.icon-input i {
|
171 |
+
margin-right: 10px;
|
172 |
+
color: var(--secondary-color);
|
173 |
+
}
|
174 |
+
|
175 |
+
.icon-input input, .icon-input select, .icon-input textarea {
|
176 |
+
flex: 1;
|
177 |
+
}
|
178 |
+
|
179 |
+
.input-section .icon-input {
|
180 |
+
margin-bottom: 20px;
|
181 |
+
}
|
182 |
+
|
183 |
+
.input-section label {
|
184 |
+
display: block;
|
185 |
+
margin-bottom: 5px;
|
186 |
+
font-weight: bold;
|
187 |
+
}
|
188 |
+
|
189 |
+
.input-section input[type="file"] {
|
190 |
+
height: 40px;
|
191 |
+
}
|
192 |
+
|
193 |
+
input[type="file"] {
|
194 |
+
border: 1px solid #ddd;
|
195 |
+
border-radius: 4px;
|
196 |
+
padding: 8px 12px;
|
197 |
+
font-size: 14px;
|
198 |
+
width: 100%;
|
199 |
+
box-sizing: border-box;
|
200 |
+
}
|
201 |
+
|
202 |
+
input[type="file"]::-webkit-file-upload-button {
|
203 |
+
visibility: hidden;
|
204 |
+
width: 0;
|
205 |
+
}
|
206 |
+
|
207 |
+
input[type="file"]::before {
|
208 |
+
content: 'Choose file';
|
209 |
+
display: inline-block;
|
210 |
+
background: var(--primary-color);
|
211 |
+
color: #fff;
|
212 |
+
border-radius: 3px;
|
213 |
+
padding: 5px 8px;
|
214 |
+
outline: none;
|
215 |
+
white-space: nowrap;
|
216 |
+
cursor: pointer;
|
217 |
+
font-weight: 700;
|
218 |
+
font-size: 10pt;
|
219 |
+
}
|
220 |
+
|
221 |
+
input[type="file"]:hover::before {
|
222 |
+
background-color: #2980b9;
|
223 |
+
}
|
224 |
+
|
225 |
+
/* Styles for the drive link button and text */
|
226 |
+
.drive-link-container {
|
227 |
+
position: fixed;
|
228 |
+
top: 20px;
|
229 |
+
right: 20px;
|
230 |
+
text-align: right;
|
231 |
+
z-index: 2;
|
232 |
+
background-color: rgba(255, 255, 255, 0.8);
|
233 |
+
padding: 10px;
|
234 |
+
border-radius: 8px;
|
235 |
+
box-shadow: var(--shadow);
|
236 |
+
}
|
237 |
+
|
238 |
+
.drive-link-container p {
|
239 |
+
margin: 0;
|
240 |
+
color: var(--secondary-color);
|
241 |
+
font-weight: 500;
|
242 |
+
font-size: 14px;
|
243 |
+
}
|
244 |
+
|
245 |
+
.drive-link-button {
|
246 |
+
display: inline-block;
|
247 |
+
background-color: var(--primary-color);
|
248 |
+
color: #fff;
|
249 |
+
padding: 8px 12px;
|
250 |
+
margin-top: 5px;
|
251 |
+
border-radius: 4px;
|
252 |
+
text-decoration: none;
|
253 |
+
font-weight: 600;
|
254 |
+
font-size: 14px;
|
255 |
+
transition: background-color 0.3s ease;
|
256 |
+
}
|
257 |
+
|
258 |
+
.drive-link-button:hover {
|
259 |
+
background-color: #2980b9;
|
260 |
+
}
|
261 |
+
|
262 |
+
@media (max-width: 600px) {
|
263 |
+
.container {
|
264 |
+
padding: 20px;
|
265 |
+
}
|
266 |
+
}
|
267 |
+
</style>
|
268 |
+
</head>
|
269 |
+
<body>
|
270 |
+
<!-- Background Video -->
|
271 |
+
<video class="background-video" autoplay loop muted playsinline>
|
272 |
+
<source src="../static/Eval.mp4" type="video/mp4">
|
273 |
+
<source src="../static/Eval.webm" type="video/webm">
|
274 |
+
Your browser does not support the video tag.
|
275 |
+
</video>
|
276 |
+
|
277 |
+
<header class="header">
|
278 |
+
<div class="logo">
|
279 |
+
<i class="fas fa-graduation-cap"></i>
|
280 |
+
<h1>AI Grading System</h1>
|
281 |
+
</div>
|
282 |
+
</header>
|
283 |
+
<a href="teacher" class="back-button" title="Back to Home">
|
284 |
+
<i class="fas fa-arrow-left"></i>
|
285 |
+
</a>
|
286 |
+
|
287 |
+
<div class="drive-link-container">
|
288 |
+
<p>We have used the following documents in the demo video, which are given in the drive link. You can use your own docs also.</p>
|
289 |
+
<a href="https://drive.google.com/drive/folders/10NI8gwA16V1wc57a8I4AtRcXU0NG4hzD?usp=drive_link" class="drive-link-button" target="_blank">Sample documents</a>
|
290 |
+
</div>
|
291 |
+
|
292 |
+
<div class="container">
|
293 |
+
<form action="/eval" method="post" enctype="multipart/form-data">
|
294 |
+
<div class="icon-input">
|
295 |
+
<i class="fas fa-clipboard-list"></i>
|
296 |
+
<select name="input_type" id="input_type" onchange="showInputForm()">
|
297 |
+
<option value="">-- Select an option --</option>
|
298 |
+
<option value="file">File Upload</option>
|
299 |
+
<option value="text">Text Input</option>
|
300 |
+
</select>
|
301 |
+
</div>
|
302 |
+
|
303 |
+
<div id="file-input" class="input-section">
|
304 |
+
<div class="icon-input">
|
305 |
+
<i class="fas fa-file-alt"></i>
|
306 |
+
<label for="question_file">Question Paper:</label>
|
307 |
+
<input type="file" name="question_file" id="question_file" accept=".pdf,.jpeg,.jpg,.png">
|
308 |
+
</div>
|
309 |
+
|
310 |
+
<div class="icon-input">
|
311 |
+
<i class="fas fa-file-signature"></i>
|
312 |
+
<label for="answer_file">Answer Paper:</label>
|
313 |
+
<input type="file" name="answer_file" id="answer_file" accept=".pdf,.jpeg,.jpg,.png">
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
|
317 |
+
<div id="text-input" class="input-section">
|
318 |
+
<div class="icon-input">
|
319 |
+
<i class="fas fa-question"></i>
|
320 |
+
<textarea name="question_text" id="question_text" rows="6" placeholder="Enter your questions here..."></textarea>
|
321 |
+
</div>
|
322 |
+
|
323 |
+
<div class="icon-input">
|
324 |
+
<i class="fas fa-pencil-alt"></i>
|
325 |
+
<textarea name="answer_text" id="answer_text" rows="6" placeholder="Enter your answers here..."></textarea>
|
326 |
+
</div>
|
327 |
+
</div>
|
328 |
+
|
329 |
+
<div id="max-marks-section" class="icon-input">
|
330 |
+
<i class="fas fa-star"></i>
|
331 |
+
<input type="text" name="max_marks" id="max_marks" placeholder="Enter maximum marks" required>
|
332 |
+
</div>
|
333 |
+
|
334 |
+
<input type="submit" value="Submit and Evaluate">
|
335 |
+
</form>
|
336 |
+
</div>
|
337 |
+
|
338 |
+
<script>
|
339 |
+
function showInputForm() {
|
340 |
+
const inputType = document.getElementById('input_type').value;
|
341 |
+
document.getElementById('file-input').style.display = inputType === 'file' ? 'block' : 'none';
|
342 |
+
document.getElementById('text-input').style.display = inputType === 'text' ? 'block' : 'none';
|
343 |
+
}
|
344 |
+
</script>
|
345 |
+
</body>
|
346 |
+
</html>
|
347 |
+
|