-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
58 lines (48 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<!-- OneSignal - Must be on top of the page -->
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async=""></script>
<script>
var OneSignal = window.OneSignal || [];
OneSignal.push(function() {
OneSignal.init({
appId: "insert-app-id-here",
});
});
</script>
</head>
<!-- JQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Chatbot with Watson Assistant functions -->
<script src="js/main-functions.js"></script>
<script src="js/chatbot.js"></script>
<script src="js/mysql-functions.js"></script>
<script src="js/email-functions.js"></script>
<script src="js/webpush-functions.js"></script>
<script>
createHead();
</script>
<body>
<!-- End Chatbot with Watson Assistant -->
<div class="bx--module bx--module--double" id="virtual-assistant-container">
<div class="bx--module__content" id="virtual-assistant">
<p>
<div id="messages"></div><br><br><br><br><br><br>
<form id="chat-form">
<input id="input-ask" type="text" name="message" value="" placeholder="Chiedimi qualcosa...">
<button type="submit" class="bx--btn bx--btn--secondary" id="chat-button"><i class="material-icons">keyboard_return</i></button><br><br>
</form>
</p>
</div>
</div>
<!-- End Chatbot with Watson Assistant -->
<footer class="main-footer">
<!-- Button to toggle Chatbot with Watson Assistant panel -->
<i class="material-icons toggle-assistant">forum</i>
</footer>
</body>
<script>
toggleChat();
</script>
</html>