-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchatbot-work.html
159 lines (152 loc) · 5.85 KB
/
chatbot-work.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SmatBot</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,200;1,300&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="//use.fontawesome.com/releases/v5.0.7/css/all.css"
/>
<link rel="stylesheet" href="./style/dash_style.css" />
<link rel="stylesheet" href="./style/chatbot_templates.css" />
<!-- <link rel="stylesheet" href="dashboard.css" /> -->
<link rel="stylesheet" href="./style/chat2.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head>
<body>
<div id="main">
<div id="navbar">
<div class="fs-16 bold p-0">Survey Bot</div>
<div class="flex">
<div id="name_first">
<span id="firstletter"></span>
</div>
<button id="user_info">
<p id="username"></p>
<span id="email"></span>
<i class="fa fa-caret-down m-l-5 pull-right m-t-5"></i>
</button>
</div>
<label id="logOut" class="verify-red pointer">Logout</label>
</div>
<div id="midle">
<div id="midle_sidebar">
<div class="b-c-g" onclick="goDash()">
<img
class="large icon-fs"
src="https://www.app.smatbot.com/img/Dashboard-side-panel/home-dashboard-icon.svg"
alt=""
/>
</div>
<div class="b-c-g" onclick="goAi()">
<img
src="https://www.app.smatbot.com/img/Dashboard-side-panel/ai3-dashboard-icon.svg"
alt=""
/>
</div>
<div class="b-c-g" onclick="goTemp()">
<img
src="https://www.app.smatbot.com/img/Dashboard-side-panel/template-dashboard-icon.svg"
alt=""
/>
</div>
<div class="b-c-g">
<img
src="https://www.app.smatbot.com/img/Dashboard-side-panel/referal-dashboard-icon.svg"
alt=""
/>
</div>
</div>
<div id="midle_main" class="fullpage">
<div id="list" class="industries-sidebar-scroll">
<select
name=""
id="category_selector"
class="height-40 border-0 full-width p-l-15 p-r-10 fs-14 text-black m-t-15 bg-sidebars ng-pristine ng-valid ng-touched padding-5"
>
<option value="L_G_B">Lead Generation Bot</option>
<option value="C_S_B">Customer Support Bot</option>
</select>
<div>
<ul id="ul" class="m-b-15"></ul>
</div>
</div>
<div id="temp_father" class="industries-sidebar-scroll">
<!-- ================= BOT Starts Here ======================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
<!-- CHAT BAR BLOCK -->
<div class="chat-bar-collapsible">
<button id="chat-button" type="button" class="collapsible">
<!-- <i
id="chat-icon"
style="color: #fff"
class="fa fa-fw fa-comments-o"
></i> -->
<img
id="Avatar"
src="https://custpostimages.s3.ap-south-1.amazonaws.com/11/1617101659265.jpg"
alt=""
/>
<span id="button_text"></span>
</button>
<div class="content">
<div class="full-chat-block body-div">
<!-- Message Container -->
<div class="outer-container">
<div class="chat-container">
<!-- Messages -->
<div id="chatbox">
<h5 id="chat-timestamp"></h5>
<p id="botStarterMessage" class="botText">
<span>Loading...</span>
</p>
</div>
<!-- User input box -->
<div class="chat-bar-input-block">
<div id="userInput">
<input
id="textInput"
class="input-box"
type="text"
name="msg"
placeholder="Tap 'Enter' to send a message"
/>
<p></p>
</div>
<div class="chat-bar-icons">
<i
id="chat-icon"
style="color: #333"
class="fa fa-fw fa-send"
onclick="sendButton()"
></i>
</div>
</div>
<div id="chat-bar-bottom">
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- ================= BOT Ends Here ======================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
</div>
</div>
</div>
</div>
</body>
</html>
<script src="./script/chatbot-work.js"></script>
<!-- ==================== Bot JS =========>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="./script/chat2.js"></script>
<script src="./script/res.js"></script>