-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
66 lines (58 loc) · 2.26 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<title>AskGPT Extension</title>
<link rel="stylesheet" type="text/css" href="styles/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
</head>
<body>
<div class="wrapper">
<div id="settings-icon">
<button id="settingsBtn" style="background: none; border: none;"><i class="fa-solid fa-gear"></i></button>
</div>
<a class="logo"></a>
<a href="https://www.paypal.com/donate/?business=49LLQV95BUPDL&no_recurring=1&item_name=FOR+ASK+GPT¤cy_code=USD" class="donatebutton"></a>
<br>
<textarea id="answer" placeholder="Awaiting question.." readonly></textarea>
<br>
<div id="questionWrapper">
<textarea id="question" placeholder="Ask Anything..."></textarea>
<div class="buttons-container">
<button id="viewHistoryBtn">Chat History</button>
<div class="submitBtnDiv">
<button id="submit"><i class="fa-solid fa-reply"></i></button>
</div>
</div>
</div>
<div class="footer"></div>
</div>
<div id="controlsmodal" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2 id="settingsheader">Settings</h2>
</div>
<ul class="modal-body" style="list-style: none;">
<li><button id="lightdark">Dark Mode</button></li>
<li><button id="clearChat">Clear Chat</button></li>
<li><button id="hidedonate">Hide Donate</button></li>
<li><button id="clearHistory">Clear History</button></li>
</ul>
<div class="modal-footer">
</div>
</div>
</div>
<div id="historyModal" class="modal">
<div class="history-content">
<div class="historyheader">
<span class="history-title">Chat History</span>
<span class="closeHistory">×</span>
</div>
<div class="historybody">
<div class="history-list"></div>
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>