forked from idoco/intergram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.html
More file actions
71 lines (66 loc) · 2.22 KB
/
demo.html
File metadata and controls
71 lines (66 loc) · 2.22 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Intergram Demo Page</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
body {
background-color: #f0f0f2;
margin: 10px;
padding: 0;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.main {
max-width: 600px;
margin: 5em auto;
padding: 50px;
background-color: #fff;
border-radius: 1em;
}
</style>
</head>
<body>
<div class="main">
<h1>Squarechat Demo Page</h1>
<p>This is a free live chat widget linked to your Telegram messenger.</p>
<p>
Originally based on Intergram (<a
href="https://github.com/idoco/intergram"
>https://github.com/idoco/intergram</a
>), and heavily modified by Squarecat.
</p>
<p>
<a href="https://github.com/squarecat/squarechat"
>More information...</a
>
</p>
</div>
<script>
window.intergramId = -1002437314796;
window.intergramServer = window.location.origin;
window.intergramCustomizations = {
titleClosed: "Chat",
titleOpen: "Chat",
closedStyle: "button", // button or chat
closedChatAvatarUrl: "", // only used if closedStyle is set to 'chat'
cookieExpiration: 1, // in days. Once opened, closed chat title will be shown as button (when closedStyle is set to 'chat')
introMessage: "Hello! How can we help you?",
// autoResponse:
// 'Looking for the first available admin (It might take a minute)',
autoNoResponse:
"It seems that no one is available to answer right now. Please tell us how we can " +
"contact you, and we will get back to you as soon as we can.",
placeholderText: "Send a message...",
displayMessageTime: true,
mainColor: "#222",
alwaysUseFloatingButton: false,
desktopHeight: 550,
desktopWidth: 400,
contactEmail: "[email protected]",
};
</script>
<script src="/js/widget.js"></script>
</body>
</html>