-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprompt.html
334 lines (333 loc) · 12.1 KB
/
prompt.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
214
215
216
217
218
219
220
221
222
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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<div
id="prompt_container"
jsname="BdZlM"
class="q5O05c oydeSd"
style="margin-top: 10px"
>
<div class="vPYArb RVEQke"></div>
<div
class="yHkFgb"
jscontroller="n1hJc"
jsmodel="m86nFd"
data-observe-id="i7o2c,Fc2jQb,OLRSOe,u59cif"
jsaction="rcuQ6b:ZX04Y;dAEEtd:ZX04Y; mouseenter:NsOT0d; mouseleave:MWfikb;"
>
<div class="VJI1sd"></div>
</div>
<div jsname="aY29S" class="F14y7e" tabindex="-1">
<div class="dsanC">
<div class="B5NTGd">
<div
class="ettIx Iz72nb fb0g6 NatUbf dAXwLe yqQS1 LgNcQe CDELXb"
tabindex="-1"
data-disable-newlines="true"
jsshadow=""
>
<div class="cnOaDb I9OJHe">
<div
style="
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap;
"
>
<div style="width: fit-content">Enter your prompt Here</div>
<div style="width: 220px">
<select
id="promptTypeSelect"
name="promptType"
style="
font-size: 1rem;
padding: 15px;
border-radius: 4px;
background-color: unset;
width: 100%;
border: 2px solid #e5e4e2;
outline: none;
"
>
<!-- Make dropdown values having padding -->
<option value="default">Default</option>
<option value="story">Story</option>
</select>
</div>
</div>
</div>
<div
jsname="INgbqf"
jscontroller="J3r6ac"
jsaction="JIbuQc:aj0Jcf; keydown:Zffmvf;"
class="Erb9le CIy9F"
aria-label="Formatting options"
role="toolbar"
>
<div
role="button"
class="U26fgb mUbCce fKz7Od qmMNRc Aworge M9Bg4d"
jscontroller="UgyBS"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;"
jsshadow=""
jsname="c8csvc"
aria-label="Bold"
tabindex="0"
data-response-delay-ms="0"
data-tooltip="Bold"
aria-pressed="false"
data-toggleable=""
data-tooltip-position="top"
data-tooltip-vertical-offset="12"
data-tooltip-horizontal-offset="0"
>
<div class="VTBa7b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="xjKiLb"
><span class="Ce1Y1c" style="top: -12px"
><span class="DPvwYc FAQj1d" aria-hidden="true"></span></span
></span
>
</div>
<div
role="button"
class="U26fgb mUbCce fKz7Od qmMNRc Aworge M9Bg4d"
jscontroller="UgyBS"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;"
jsshadow=""
jsname="O807Gb"
aria-label="Italic"
tabindex="-1"
data-response-delay-ms="0"
data-tooltip="Italic"
aria-pressed="false"
data-toggleable=""
data-tooltip-position="top"
data-tooltip-vertical-offset="12"
data-tooltip-horizontal-offset="0"
>
<div class="VTBa7b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="xjKiLb"
><span class="Ce1Y1c" style="top: -12px"
><span class="DPvwYc FAQj1d" aria-hidden="true"></span></span
></span
>
</div>
<div
role="button"
class="U26fgb mUbCce fKz7Od qmMNRc Aworge I22w2d M9Bg4d"
jscontroller="UgyBS"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;"
jsshadow=""
jsname="NowJzb"
aria-label="Underline"
tabindex="-1"
data-response-delay-ms="0"
data-tooltip="Underline"
aria-pressed="false"
data-toggleable=""
data-tooltip-position="top"
data-tooltip-vertical-offset="12"
data-tooltip-horizontal-offset="0"
>
<div class="VTBa7b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="xjKiLb"
><span class="Ce1Y1c" style="top: -12px"
><span class="DPvwYc FAQj1d" aria-hidden="true"></span></span
></span
>
</div>
<div
role="button"
class="U26fgb mUbCce fKz7Od qmMNRc Aworge M9Bg4d"
jscontroller="UgyBS"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;"
jsshadow=""
jsname="hSRGPd"
aria-label="Insert link"
tabindex="-1"
data-response-delay-ms="0"
data-tooltip="Insert link"
aria-pressed="false"
data-toggleable=""
data-tooltip-position="top"
data-tooltip-vertical-offset="12"
data-tooltip-horizontal-offset="0"
>
<div class="VTBa7b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="xjKiLb"
><span class="Ce1Y1c" style="top: -12px"
><span class="DPvwYc FAQj1d" aria-hidden="true"></span></span
></span
>
</div>
<div
role="button"
class="U26fgb mUbCce fKz7Od qmMNRc Aworge M9Bg4d"
jscontroller="UgyBS"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;"
jsshadow=""
jsname="yrecld"
aria-label="Remove formatting"
tabindex="-1"
data-response-delay-ms="0"
data-tooltip="Remove formatting"
data-tooltip-position="top"
data-tooltip-vertical-offset="12"
data-tooltip-horizontal-offset="0"
>
<div class="VTBa7b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="xjKiLb"
><span class="Ce1Y1c" style="top: -12px"
><span class="DPvwYc FAQj1d" aria-hidden="true"></span></span
></span
>
</div>
</div>
</div>
</div>
<div
role="button"
class="uArJ5e Y5FYJe cjq2Db KF7JAe"
jscontroller="VXdfxd"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;"
jsshadow=""
jsname="ix0Hvc"
aria-label="Collapse section"
tabindex="0"
data-tooltip="Collapse section"
aria-expanded="true"
data-tooltip-vertical-offset="-12"
data-tooltip-horizontal-offset="0"
>
<div class="PDXc1b MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="XuQwKc"
><span class="GmuOkf"
><div class="foqfDc nhIIie gdyQ3c">
<div
class="Y0xAIe BNL9Bd NpcyEe-n5T17d-Bz112c-arkR6d-OCFbXc-BvMwwf"
aria-hidden="true"
>
</div>
<div
class="Y0xAIe ivmiLb NpcyEe-n5T17d-Bz112c-arkR6d-OCFbXc-AhqUyc"
aria-hidden="true"
>
</div>
<div
class="Y0xAIe tDDvMb NpcyEe-n5T17d-Bz112c-arkR6d-OCFbXc"
aria-hidden="true"
>
</div>
</div></span
></span
>
</div>
<div
class="JfdRKe"
jscontroller="pjQuff"
jsaction="aWRkAb:sIFLZc;rcuQ6b:YCxUD"
data-menu-action-id="freebird-first-page-overflow-menu"
data-action-id="freebird-first-page-overflow-menu"
data-action-properties="enabled,visible"
data-entry-point="7"
>
<div
role="button"
class="U26fgb JRtysb WzwrXb I12f0b K2mXPb IiDDK"
jscontroller="iSvg6e"
jsaction="click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;;keydown:I481le;"
jsshadow=""
jsname="pzCKEc"
aria-label="Overflow Menu"
tabindex="0"
data-tooltip="More"
aria-haspopup="true"
aria-expanded="false"
data-dynamic="true"
data-tooltip-vertical-offset="-12"
data-tooltip-horizontal-offset="0"
>
<div class="NWlf3e MbhUzd" jsname="ksKsZd"></div>
<span jsslot="" class="MhXXcc oJeWuf"
><span class="Lw7GHd snByac"
><div class="foqfDc gdyQ3c">
<div
class="Y0xAIe BNL9Bd NpcyEe-n5T17d-Bz112c-z5C9Gb-BvBYQ-BvMwwf"
aria-hidden="true"
>
</div>
<div
class="Y0xAIe ivmiLb NpcyEe-n5T17d-Bz112c-z5C9Gb-BvBYQ-AhqUyc"
aria-hidden="true"
>
</div>
<div
class="Y0xAIe tDDvMb NpcyEe-n5T17d-Bz112c-z5C9Gb-BvBYQ"
aria-hidden="true"
>
</div>
</div></span
></span
>
</div>
</div>
</div>
<div jsname="F0H8Yc" class="liS6Hc"></div>
<div>
<label for="prompt" style="font-size: 1rem; color: grey"
>ask anything, write anything</label
>
<br />
<input
type="text"
id="prompt"
name="prompt"
style="
margin-top: 15px;
padding: 10px;
border: none;
border-bottom: 1px solid black;
outline: none;
width: 60%;
font-size: 1rem;
font-style: italic;
"
/><br /><br />
</div>
<div>
<button
type="button"
id="searchButton"
style="
cursor: pointer;
padding: 10px;
width: 150px;
color: white;
background-color: #7860bf;
border: none;
"
>
Search your result
</button>
<button
type="button"
id="addQuestionsButton"
style="
cursor: pointer;
padding: 10px;
width: fit-content;
color: white;
background-color: #7860bf;
border: none;
display: none;
"
>
Click Here to add questions
</button>
</div>
</div>
</div>