-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (39 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<title>Chat App</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
<meta http-equiv="Content-Security-Policy" content="default-src 'self';
connect-src 'self' https://api.openai.com;
script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net;
style-src 'self' 'unsafe-inline' https://use.fontawesome.com;
style-src-elem 'self' 'unsafe-inline' https://use.fontawesome.com;
font-src 'self' https://use.fontawesome.com;">
</head>
<body>
<div id="container">
<div id="leftContainer">
<div id="savedChats">
</div>
<button id="newChatButton">New chat</button>
</div>
<div id="rightContainer">
<div id="modelSwitch">
<div class="dropdown">
<button id="dropdownBtn" class="dropdown-button">Select Option</button>
<div id="dropdownContent" class="dropdown-content"></div>
</div>
</div>
<div id="chatHistory"></div>
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
<div id="userInterface">
<textarea id="inputBox" placeholder="Type your message..."></textarea>
<button id="sendButton">Send</button>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script>
<script src="chat.js"></script>
</body>
</html>