-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
66 lines (53 loc) · 1.49 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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Chat Flow</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="stylesheet" href="src/flowchat.css">
<style>
.container {
font-family: 'Open Sans', sans-serif;
max-width: 100%;
height: 100%;
overflow: hidden;
margin: auto;
margin-top: 20px;
background-color: #fff;
box-sizing: border-box;
}
@media (min-width: 600px) {
body {
background: #f2f2f2;
}
.container {
background-color: #fff;
border-radius: 10px;
width: 400px;
}
}
</style>
</head>
<body>
<!--[if IE]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<!-- Add your site or application content here -->
<div class="container" id="flowchat"></div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="src/flowchat.js"></script>
<script>
$(function() {
// Also try "demo-data/simple-data.json"
$.getJSON( "demo-data/simple-data.json", function( dataJSON ) {
$('#flowchat').flowchat({
dataJSON: dataJSON,
autoStart: true
});
});
});
</script>
</body>
</html>