-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
130 lines (114 loc) · 4.25 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<html>
<head>
<title>NonaBot</title>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta content="utf-8" http-equiv="encoding" />
<!--Import Google Icon Font-->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css?family=Raleway:500&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Lato&display=swap"
rel="stylesheet"
/>
<!--Import Font Awesome Icon Font-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0="
crossorigin="anonymous"
/>
<!--Import materialize.css-->
<link
rel="stylesheet"
type="text/css"
href="static/css/materialize.min.css"
/>
<!--Main css-->
<link rel="stylesheet" type="text/css" href="static/css/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div class="container">
<!-- Modal for rendering the charts, declare this if you want to render charts,
else you remove the modal -->
<div id="modal1" class="modal">
<canvas id="modal-chart"></canvas>
</div>
<!--chatbot widget -->
<div class="widget">
<div class="chat_header">
<!--Add the name of the bot here -->
<span class="chat_header_title">NonaBot</span>
<span class="dropdown-trigger" href="#" data-target="dropdown1">
<i class="material-icons"> more_vert </i>
</span>
<!-- Dropdown menu-->
<ul id="dropdown1" class="dropdown-content">
<li><a href="#" id="clear">Limpiar</a></li>
<li><a href="#" id="restart">Reiniciar</a></li>
<li><a href="#" id="close">Cerrar</a></li>
</ul>
</div>
<!--Chatbot contents goes here -->
<div class="chats" id="chats">
<div class="clearfix"></div>
</div>
<!--keypad for user to type the message -->
<div class="keypad">
<textarea
id="userInput"
placeholder="Type a message..."
class="usrInput"
></textarea>
<div id="sendButton">
<i class="fa fa-paper-plane" aria-hidden="true"></i>
</div>
</div>
</div>
<!--bot profile-->
<div class="profile_div" id="profile_div">
<img class="imgProfile" src="static/img/botAvatar.png" />
</div>
<!-- Bot pop-up intro -->
<div class="tap-target" data-target="profile_div">
<div class="tap-target-content">
<h5 class="white-text">Hola 👋</h5>
<p class="white-text">
Habla conmigo para resolver tus dudas o realizar diferentes actividades.
</p>
</div>
</div>
</div>
<!--JavaScript at end of body for optimized loading-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script
type="text/javascript"
src="static/js/lib/materialize.min.js"
></script>
<script src="static/js/lib/uuid.min.js"></script>
<!--Main Script -->
<script type="text/javascript" src="static/js/script.js"></script>
<!--Chart.js Script -->
<script type="text/javascript" src="static/js/lib/chart.min.js"></script>
<script type="text/javascript" src="static/js/lib/showdown.min.js"></script>
</body>
</html>