-
Notifications
You must be signed in to change notification settings - Fork 1
/
saveMessages.html
49 lines (47 loc) · 2.4 KB
/
saveMessages.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Time Machine - Infinitely Customizable LLM Chatbot</title>
<link rel="icon" type="image/png" href="./c 38tcn.svg">
<link rel="stylesheet" href="branching.css">
<link href="
https://cdn.jsdelivr.net/npm/@highlightjs/cdn-assets@11.10.0/styles/default.min.css
" rel="stylesheet">
<script src="https://kit.fontawesome.com/3b0473205a.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="chat-container">
<div id="chat-box">
<div id="messages">
<div class="branch-container">
<div class="branch">
<div id="first-message" class="editable message user" contenteditable="true" data-placeholder="New message"></div>
<div id="first-response" class="editable message bot" contenteditable="true" data-placeholder="New message">Hi there!</div>
<div class="branch-container">
<div class="branch">
<div id="2nd-message" class="editable message user" contenteditable="true" data-placeholder="New message">Hello</div>
<div id="2nd-response" class="editable message bot" contenteditable="true" data-placeholder="New message">What else?</div>
<div class="branch-container">
<div class="branch">
<div id="3rd-message" class="editable message user" contenteditable="true" data-placeholder="New message"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <div id="button-box"> -->
<!-- <button id="save">Save</button>
<button id="load">Load</button> -->
<!-- <input type="file" id="fileInput"> -->
<!-- </div> -->
</div>
</div>
<script src='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/highlight.min.js'></script>
<script type="text/javascript" src="dist/purify.min.js"></script>
<script type="module" src="saveMessages.js"></script>
</body>
</html>