-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (74 loc) · 5.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clover Bot</title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div class="chatbtncontainer">
<div class="container">
<div class="contents" style="padding-top: 20px;">
<h1>Sample ML Bot using NLTK.</h1>
<h2>Click on the animated logo to begin.</h2>
<h2>This is a bot made using NLTK and some pacakages from sklearn</h2>
<h2 class="text-primary">Enter some data below and then ask some questions about it to the bot!</h2>
<div class="form-group">
<label for="exampleFormControlTextarea1">Your Text</label>
<textarea class="form-control" id="userdatainput" rows="3"></textarea>
</div>
</div>
</div>
<button id="chatinitiatebtn">
<svg id="chatinitiatebtnactual" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="70" height="70" viewBox="0 0 172 172" style=" fill:#000000;"><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,172v-172h172v172z" fill="none"></path><g><path d="M86,35.83333c27.66333,0 50.16667,22.50333 50.16667,50.16667c0,27.66333 -22.50333,50.16667 -50.16667,50.16667c-27.66333,0 -50.16667,-22.50333 -50.16667,-50.16667c0,-27.66333 22.50333,-50.16667 50.16667,-50.16667M86,14.33333c-39.57792,0 -71.66667,32.08875 -71.66667,71.66667c0,39.57792 32.08875,71.66667 71.66667,71.66667c39.57792,0 71.66667,-32.08875 71.66667,-71.66667c0,-39.57792 -32.08875,-71.66667 -71.66667,-71.66667z" fill="#81d4fa"></path><path d="M86,43c23.71092,0 43,19.28908 43,43c0,23.71092 -19.28908,43 -43,43c-23.71092,0 -43,-19.28908 -43,-43c0,-23.71092 19.28908,-43 43,-43M86,28.66667c-31.66233,0 -57.33333,25.671 -57.33333,57.33333c0,31.66233 25.671,57.33333 57.33333,57.33333c31.66233,0 57.33333,-25.671 57.33333,-57.33333c0,-31.66233 -25.671,-57.33333 -57.33333,-57.33333z" fill="#03a9f4"></path></g></g></svg>
</button>
</div>
<div class="chatwindowcontainer">
<div id="chatwindow">
<div id="chatwindowheader">
<div class=""></div>
<h2>CloverBot</h2>
<div id="onlinecircle"></div>
<div id="minimizechatbtn" style="right: 20px; position: absolute; display: flex; justify-content: center; cursor: pointer;">
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="24" height="24" viewBox="0 0 172 172" style=" fill:#000000;"><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,172v-172h172v172z" fill="#4968a6"></path><g fill="#ffffff"><path d="M21.5,78.83333v14.33333h129v-14.33333z"></path></g></g></svg>
</div>
<h5 id="typingstatuslabel" style="display: none; padding-left: 10px;">Typing..</h5>
</div>
<div id="chatwindowcontents" class="chatwindowcontents">
<div id="chatwindowmsgscontainer">
<!-- <div class="botmsgspan">
<div class='botmsg'>
<div class='msgcontents'>
<h5>Hello</h5>
</div>
</div>
</div>
<div class="usermsgspan">
<div class='usermsg'>
<div class='msgcontents'>
<h5>Hi Clover Bot! Lorem ipsum dolor sit amet.</h5>
</div>
</div>
</div> -->
</div>
</div>
<div id="chatinputdiv">
<div class="input-group mb-3">
<input id="usermsginput" maxlength="20" type="text" class="form-control" placeholder="Enter your message" aria-label="Enter your message" aria-describedby="basic-addon2">
<div class="input-group-append">
<button id="usersendmsgbtn" class="btn btn-primary" type="button">Send Message</button>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<!-- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="mainindex.js"></script>
</body>
</html>