-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
50 lines (44 loc) · 1.81 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
<html>
<head>
<title>APLICACIÓN BASE DE ELECTRON PARA INTEGRAR API.AI + BOTLIBRE</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/css/materialize.css">
<link rel="stylesheet" href="stylesheets/style.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.99.0/js/materialize.min.js"></script>
<script src="http://www.botlibre.com/scripts/sdk.js"></script>
<script type="text/javascript" src="javascripts/ai.js"></script>
</head>
<body>
<div class="row">
<div class="col s12">
<div class="card white">
<div class="card-content">
<div id='bot-div' style='background-color:transparent'>
<div class="row">
<div id='avatar-video-div' class="avatarCenter" style='background-repeat: no-repeat;'>
<video id='avatar-video' autoplay preload='auto' style='background:transparent;height:320px;'>
Video format not supported by your browser (try Chrome)
</video>
</div>
<div id='avatar-canvas-div' class="avatarCenter">
<canvas id='avatar-canvas' style='background:transparent;height:320px;' class="avatarCenter">
Canvas not supported by your browser (try Chrome)
</canvas>
</div>
<div>
<p id='response'>Bot: </p>
</div>
</div>
</div>
</div>
<div class="card-action" id="acciones">
<input id='chat' type='text'/>
<a href="#" class="black-text"><i class="material-icons" id="rec">mic_none</i></a>
</div>
</div>
</div>
</div>
</body>
</html>