-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
58 lines (54 loc) · 1.55 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>
<meta charset="UTF-8">
<title>Rasa聊天机器人</title>
<script src="https://cdn.bootcss.com/jquery/3.0.0/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<script src="comm.js"></script>
<style>
body {
margin: 1%;
overflow: hidden;
}
@media screen and (min-height: 900px) {
#box {
height: 900px;
}
#dialog {
height: calc(65%);
overflow: auto;
}
}
.choice {
margin: 0 0 10px;
}
.img-rounded {
height: 100px;
margin: 0 0 10px;
}
</style>
</head>
<body>
<div id="box">
<div class="page-header">
<h1>Rasa聊天机器人</h1>
</div>
<div class="form-group">
<label for="sender">sender</label>
<input type="text" class="form-control" id="sender">
</div>
<div class="form-group">
<label for="message">输入文本</label>
<input type="text" class="form-control" id="message" value="hi">
</div>
<div class="form-group">
<button type="submit" id="send" class="btn btn-default">
<span class="glyphicon glyphicon-send"></span> 发送
</button>
</div>
<div id="dialog" class="well well-sm"></div>
</div>
</body>
</html>