-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (86 loc) · 4.3 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--<script src="https://kit.fontawesome.com/5548f5ed00.js" crossorigin="anonymous"></script>-->
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="style2.css">
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/handlebars@latest/dist/handlebars.js"></script>
<script src="script.js"></script>
</head>
<body>
<nav class="navbar navbar-light " style="font-size: 25px; font-family: sans-serif; background-color: whitesmoke;">
<img src="https://th.bing.com/th/id/R.be1dc72caa7ad3dbceb10f953041b34d?rik=GvXF3Nsp%2b7HjNA&riu=http%3a%2f%2fwww.smbceo.com%2fwp-content%2fuploads%2f2017%2f04%2fchatbot.jpg&ehk=SOSPwF22HTF%2bZJmfhvFpMNulpel8Az8VRHpRgk3lL2w%3d&risl=&pid=ImgRaw&r=0.png" width="100" height="45"
class="d-inline-block align-top" alt="">
Chatbot Interface Project
</nav>
<div id="maindiv">
<div id="chatdiv">
<div class="container clearfix">
<div class="chat">
<div class="chat-header clearfix">
<img src="bot.png" height="45" alt="avatar" />
<div class="chat-about">
<div class="chat-with">Chat with Bot</div>
<div class="chat-num-messages">A Way to Success</div>
</div>
</div> <!-- end chat-header -->
<div class="chat-history">
<ul style="list-style-type:none">
</ul>
</div> <!-- end chat-history -->
<div class="chat-message clearfix">
<textarea name="message-to-send" id="message-to-send" placeholder ="Type your message" rows="3"></textarea>
<i class="fa fa-file-o"></i>
<i class="fa fa-file-image-o"></i>
<button>Send</button>
</div> <!-- end chat-message -->
</div> <!-- end chat -->
</div> <!-- end container -->
<script id="message-template" type="text/x-handlebars-template">
<li class="clearfix">
<div class="message-data align-right">
<span class="message-data-time" >{{time}}, Today</span>
<span class="message-data-name" >Me</span> <i class="fa fa-circle me"></i>
</div>
<div class="message other-message float-right">
{{messageOutput}}
</div>
</li>
</script>
<script id="message-response-template" type="text/x-handlebars-template">
<li>
<div class="message-data">
<span class="message-data-name"><i class="fa fa-circle online"></i>Bot</span>
<span class="message-data-time">{{time}}, Today</span>
</div>
<div class="message my-message">
{{{response}}}
</div>
</li>
</script>
</div>
<div id="chatdiv2">
<span style="width: 100%; text-align: center; font-size: x-large; padding: 40px">
Hey there friends !<br>
This is a simple yet amazing chatbot <br>
<b>Send a simple hello message to begin</b>
</span>
</div>
</div>
<!--<div>-->
<!--<br>-->
<!--<button type="button" class="btn btn-danger" id="generate-graph">Get New Problem</button>-->
<!--<br>-->
<!--<button type="button" class="btn btn-success" id="solve">Solve</button>-->
<!--</div>-->
</body>
</html>