forked from WorkofAditya/ChatBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.68 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.68 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chatbot</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="icons/favicon.ico" type="image/ico">
<link rel="manifest" href="manifest.json" />
</head>
<body>
<div class="vault-container">
<h1>Chatbot</h1>
<div class="vault-toolbar">
<button id="addDocBtn" title="Add Document">Add</button>
<button id="clearBtn" title="Clear Vault">Clear</button>
<button id="exportBtn" title="Export Vault">Export</button>
<button id="importBtn" title="Import Vault">Import</button>
</div>
<div class="chatbox" id="chatbox">
<div class="typing-indicator" id="typingIndicator">
<span></span><span></span><span></span>
</div>
</div>
<div class="input-area">
<input type="text" id="userInput" placeholder="Type your query...">
<button id="sendBtn">Send</button>
</div>
<input type="file" id="importFile" accept="application/json" style="display:none;">
</div>
<div class="popup" id="popup">
<div class="popup-content">
<h2>Add Document</h2>
<input type="text" id="docName" placeholder="Document Name">
<input type="text" id="docValue" placeholder="Document Number / Value">
<label for="docFile">Attach File (optional):</label>
<input type="file" id="docFile" accept=".pdf,.png,.jpg,.jpeg,.gif,.txt,.doc,.docx,.zip" />
<textarea id="docInfo" placeholder="Additional Information (optional)"></textarea>
<div class="popup-actions">
<button id="saveDocBtn">Save</button>
<button id="cancelBtn">Cancel</button>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>