-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest.html
80 lines (69 loc) · 3.04 KB
/
test.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
{% extends "mainfront/base.html" %}
{% block head_extra %}
<link href="{{ url_for('static', filename='css/ourcode.css') }}" rel="stylesheet">
{% endblock %}
{% block content %}
<div class="card" style="top: 55px; margin: 10px auto; width: 30rem; justify-content: center; margin-top:10px ; ">
<div class="card-body" >
<div style="justify-content: center;" class="d-flex align-items-center">
<div class="subheader">Insight on wanted Topic</div>
</div>
<div style="justify-content: center;" class="h1 d-flex align-items-center">Enter a Desired Topic</div>
<div id="nature" class="d-flex mb-2">
</div>
</div>
<div class="mb-3 d-flex align-items-center">
<input style="margin-left: 20px; width: 70%; font-size: 1.2rem; padding: 0.5rem;" type="text" name="topic" id="topic" class="form-control mt-4 me-2" placeholder="Input Your desired topic here" autocomplete="off">
<button id="submitBtn" class="btn btn-primary btn-dark mt-4">Submit</button>
</div>
</div>
<div class="container mt-8">
<div class="card" id="generatedCode">
<div class="card-body">
<!-- Content of the card -->
</div>
</div>
<div class="row justify-content-center">
<div class="col-6">
<button style="visibility: hidden;" id="generateTestBtn" class="btn btn-primary btn-dark mt-4 w-100">Supply me with a test!</button>
</div>
</div>
<div class="row justify-content-center">
<div id="questions" class="col-6">
<!-- Questions will be inserted here dynamically -->
</div>
<button id="submitTest" style="visibility: hidden;" type="submit" class="btn btn-primary w-100 mt-4 mb-4">Submit Answer!</button>
</div>
</div>
</div>
<div style="visibility:hidden;" id="result_container" class="container-xl mt-6 mb-4">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="card">
<div class="card-body text-center card position-relative"> <!-- Added text-center class -->
<button id="tryBtn" class="btn btn-primary btn-dark mt-4 position-absolute " style="top: 5px; right: 3px; display: none;">Try again?</button>
<div class="space-y-4">
<div>
<h2 class="mb-3">Your Report Card!</h2>
<div id="evaluationResult">
<div style="width: 60%; " class="card mx-auto">
<div class="card-body text-center">
</div>
</div>
</div>
</div>
<div>
<!-- Other content here if needed -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="margin-bottom: 20px;"></div>
{% endblock %}
{% block scripts %}
<link href="{{ url_for('static', filename='css/test.css') }}" rel="stylesheet">
{% endblock %}