-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
213 lines (187 loc) · 10.7 KB
/
index.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
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Style Sheets -->
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap">
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/node_modules/@fortawesome/fontawesome-free/css/all.min.css">
<link rel="stylesheet" href="/css/app.css">
<title>Feedback Plugin</title>
<style>
html,body { height:100%; }
.highlighted { outline: rgb(255, 244, 95) 5px solid;}
</style>
</head>
<body>
<div class="overlay"></div>
<div class="container h-100" id="container">
<div class="row justify-content-center mt-5">
<div class="col-md-10">
<div class="build-wrap"></div>
</div>
</div>
<div id="capture">
<div class="row align-items-center">
<div class="col-md-7 p-5">
<img src="/images/image1.jpeg" class="img-fluid" alt="">
</div>
<div class="col-md-5 p-5">
<h2 class="heading2">Article 1</h2>
<p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ultrices placerat est, in iaculis lorem dignissim id. Aliquam augue tortor, accumsan sit amet dictum varius, pretium quis erat. Proin eget imperdiet ligula. Pellentesque varius vestibulum ligula, at dignissim leo aliquam nec. Sed faucibus nisi scelerisque velit egestas.</p>
</div>
</div>
<div class="row align-items-center">
<div class="col-md-7 p-5 order-2">
<img src="/images/image2.jpeg" class="img-fluid" alt="">
</div>
<div class="col-md-5 p-5 order-1">
<h2 class="heading2">Article 2</h2>
<p class="lead">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ultrices placerat est, in iaculis lorem dignissim id. Aliquam augue tortor, accumsan sit amet dictum varius, pretium quis erat. Proin eget imperdiet ligula. Pellentesque varius vestibulum ligula, at dignissim leo aliquam nec. Sed faucibus nisi scelerisque velit egestas.</p>
</div>
</div>
</div>
<div class="row align-items-center mb-5">
<div class="col-md-12 text-center">
<a href="javascript:;" class="btn btn-success" data-toggle="modal" data-target="#ChooseOptModal"><i class="fas fa-comment-dots"></i> Feedback</a>
</div>
</div>
</div>
<!-- Choose Option Modal -->
<div class="modal fade" id="ChooseOptModal" tabindex="-1" role="dialog" aria-labelledby="ChooseOptModal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Tawteen Survey</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="d-flex p-4 justify-content-center">
<div class="feedbackOption" id="specificOtp">
<div class="icon specificOtp"></div>
<h3>Specific feedback</h3>
<p>I’d like to give feedback on a specific part of this page.</p>
</div>
<div class="feedbackOption">
<div class="icon genericOtp"></div>
<h3>Generic feedback</h3>
<p>I’d like to give general feedback on the entire website.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Note Splash Modal -->
<div class="modal fade" id="NoteTextModal" tabindex="-1" role="dialog" aria-labelledby="NoteTextModal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="d-flex p-4 text-center justify-content-center">
<p class="lead m-0">Click on the part of the page you would like to give feedback about</p>
</div>
</div>
</div>
</div>
</div>
<!-- Feedback Form Modal -->
<div class="modal fade FeedbackModal" id="FeedBackFormModal" tabindex="-1" role="dialog" aria-labelledby="FeedBackFormModal" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Feedback</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="pr-2 pl-2 pt-1 pb-1">
<form>
<div class="emojiContainer mb-4">
<label for="">What do you think of this?</label>
<ul>
<li class="rating_1" title="Hate">
<span><input type="radio" id="rating1" name="rating"></span>
</li>
<li class="rating_2" title="Dislike">
<span><input type="radio" id="rating2" name="rating"></span>
</li>
<li class="rating_3" title="Neutral">
<span><input type="radio" id="rating3" name="rating"></span>
</li>
<li class="rating_4" title="Like">
<span><input type="radio" id="rating4" name="rating"></span>
</li>
<li class="rating_5" title="Love">
<span><input type="radio" id="rating5" name="rating"></span>
</li>
</ul>
</div>
<div class="mb-4">
<div class="form-group">
<label for="">Please select a subject</label>
<select class="custom-select my-1 mr-sm-2" id="inlineFormCustomSelectPref">
<option selected>- Choose a subject -</option>
<option value="1">Suggestion</option>
<option value="2">Compliment</option>
<option value="3">Bug</option>
<option value="4">Question</option>
</select>
</div>
</div>
<div class="mb-4">
<div class="form-group">
<label for="exampleFormControlTextarea1">What would you like to ask us?</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
</div>
<div class="mb-4">
<div class="form-group">
<label for="exampleFormControlInput1">Email (might be used once for follow-up)</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="">
</div>
</div>
<div class="mb-3 recommendContainer">
<label for="">How likely are you to recommend Usabilla to your friends and colleagues?</label>
<ul>
<li>0 <input type="radio" name="count0" id="count"></li>
<li>1 <input type="radio" name="count1" id="count"></li>
<li>2 <input type="radio" name="count2" id="count"></li>
<li>3 <input type="radio" name="count3" id="count"></li>
<li>4 <input type="radio" name="count4" id="count"></li>
<li>5 <input type="radio" name="count5" d="count"></li>
<li>6 <input type="radio" name="count6" id="count"></li>
<li>7 <input type="radio" name="count7" id="count"></li>
<li>8 <input type="radio" name="count8" id="count"></li>
<li>9 <input type="radio" name="count9" id="count"></li>
<li>10 <input type="radio" name="count10" id="count"></li>
</ul>
</div>
<div class="text-right mt-5">
<button class="btn btn-danger">Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="/node_modules/jquery/dist/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="/node_modules/formBuilder/dist/form-render.min.js"></script>
<script src="/node_modules/formBuilder/dist/form-builder.min.js"></script>
<script src="/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/node_modules/html2canvas/dist/html2canvas.min.js"></script>
<script src="/js/scripts.js"></script>
<script>
jQuery($ => {
$('.build-wrap').formBuilder()
})
</script>
</body>
</html>