-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ejs
51 lines (42 loc) · 1.95 KB
/
index.ejs
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/main.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<title>Chatbot</title>
</head>
<body>
<div>
<ul>
<li><a href="/"> Home </a></li>
<li><a href="/about"> About</a></li>
<li><a href="/contact "> Contact us </a></li>
</ul>
</div>
<div class="container" style="margin-top: 60px;">
<h3 class="text-center">Chatbot App</h3>
<div class="media" style="height: 100px; background-color: whitesmoke;">
<img src="/img/chatbot.png" style="float: left;" class="rounded-circle float-left img-thumbnail"
width="75px" alt="...">
<div class="media-body" style="float: left;"></div>
<h5 style="margin: 10px;">Chatbot</h5>
<span style="margin-left: 10px; color: rgb(32,199,32)">online</span>
</div>
</div>
<div id="chatContainer" class="container border overflow-auto" style="height: 300px;width:100%; " ></div>
<div class="input-group">
<input id="textbox" type="text" class="form-control" />
<div class="input-group-append">
<button id="sendBtn" type="button" class="btn btn-primary">Send</button>
</div>
</div>
<button class="toggle-button" onclick="toggleDarkMode()">Dark Mode</button>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="/js/script.js"></script>
</body>
</html>