-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
143 lines (98 loc) · 5.86 KB
/
Copy pathadmin.html
File metadata and controls
143 lines (98 loc) · 5.86 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>COMP 351 Group Term Project</title>
<script src="https://use.fontawesome.com/releases/v5.15.1/js/all.js" crossorigin="anonymous"></script>
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Merriweather+Sans:400,700" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
</head>
<body id="page-top">
<section class="page-section bg-warning" id="about">
<div class="container">
<div class="row">
<div class="col-12" id="test">
<h1>Admin Page</h1>
<form id="FieldForm">
<div class="question_wrapper">
<input type="hidden" name="question_id" value="" />
<div class="form-group">
<label>Please type your question</label>
<textarea name="question_title" id="question_title" class="form-control"></textarea>
</div>
<div class="row">
<div class="col-12">
Answers *
</div>
</div>
<div class="row form-group">
<div class="col-1">
<div class="form-check">
<input type="radio" class="form-check-input" name="answer_1" style="width: 30px; height: 30px;">
</div>
</div>
<div class="col-11">
<input type="text" name="answer_1" value="" class="form-control" />
<input type="hidden" name="id_1" value="" />
</div>
</div>
<div class="row form-group">
<div class="col-1">
<div class="form-check">
<input type="radio" class="form-check-input" name="answer_1" style="width: 30px; height: 30px;">
</div>
</div>
<div class="col-11">
<input type="text" name="answer_2" value="" class="form-control" />
<input type="hidden" name="id_2" value="" />
</div>
</div>
<div class="row form-group">
<div class="col-1">
<div class="form-check">
<input type="radio" class="form-check-input" name="answer_1" style="width: 30px; height: 30px;">
</div>
</div>
<div class="col-11">
<input type="text" name="answer_3" value="" class="form-control" />
<input type="hidden" name="id_3" value="" />
</div>
</div>
<div class="row form-group">
<div class="col-1">
<div class="form-check">
<input type="radio" class="form-check-input" name="answer_1" style="width: 30px; height: 30px;">
</div>
</div>
<div class="col-11">
<input type="text" name="answer_4" value="" class="form-control" />
<input type="hidden" name="id_4" value="" />
</div>
</div>
<div class="row">
<button class="btn btn-danger delete-field-button d-none" type="button">Delete Item</button>
</div>
</div>
</form>
<button id="add-field-button" class="btn btn-success" type="button">Add Item</button>
<button id="save-field-button" class="btn btn-secondary" type="button">Save Changes</button>
<button type="button" class="btn btn-success" onclick="location.href='index.html'">Back Home Page</button>
</div>
</div>
</div>
</section>
<!-- Footer-->
<footer class="bg-light py-5">
<div class="container"><div class="small text-center text-muted">Copyright © 2021 - Fadi Alhayek & Ali ElHajj</div></div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
<script src="js/backend.js"></script>
</body>
</html>