-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhearing_old.html
131 lines (121 loc) · 4.14 KB
/
hearing_old.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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HCI</title>
<script src="js/canvasjs.min.js"></script>
<script src="js/jquery.min.js"></script>
<!-- <script src="js/bootstrap.min.js"></script> -->
<link rel="stylesheet" href="custom-select.css">
<link rel="stylesheet" href="modal.css">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<script src="js/hearing.js"></script>
<style type="text/css">
.div_spacing{
margin-bottom: 200px;
}
.button1 {
background-color: white;
color: black;
border-radius: 12px;
border: 2px solid #4CAF50;
transition-duration: 0.3s;
}
.button1:hover {
background-color: #4CAF50;
color: white;
}
body {
font-size: 20px;
font-family: 'Open Sans', sans-serif;
color: #333;
}
.received_msg {
display: inline-block;
padding: 0 0 0 10px;
vertical-align: top;
width: 92%;
}
.received_withd_msg p {
background: #ebebeb none repeat scroll 0 0;
border-radius: 3px;
color: #646464;
font-size: 14px;
margin: 0;
padding: 5px 10px 5px 12px;
width: 100%;
}
.received_withd_msg { width: 57%;}
.mesgs {
float: left;
padding: 30px 15px 0 25px;
width: 60%;
}
.sent_msg p {
background: #05728f none repeat scroll 0 0;
border-radius: 3px;
font-size: 14px;
margin: 0; color:#fff;
padding: 5px 10px 5px 12px;
width:100%;
}
.outgoing_msg{ overflow:hidden; margin:26px 0 26px;}
.sent_msg {
float: right;
width: 46%;
}
.msg_history {
height: 516px;
overflow-y: auto;
}
.type_msg {border-top: 1px solid #c4c4c4;position: relative;}
.input_msg_write input {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
border: medium none;
color: #4c4c4c;
font-size: 15px;
min-height: 48px;
width: 100%;
}
.msg_send_btn {
background: #05728f none repeat scroll 0 0;
border: medium none;
border-radius: 50%;
color: #fff;
cursor: pointer;
font-size: 17px;
height: 33px;
position: absolute;
right: 0;
top: 11px;
width: 33px;
}
</style>
</head>
<body>
<div>
<div align="center" aria-hidden="true">
<!-- /*<img style="max-width:5%; max-height:5%;" src="images/codes.png" /> */ -->
<font size="8" >HCI WEBAPP</font>
</div>
<!-- <button id = 'test'>pp</button> -->
<div class = 'panel'>
<div id = "visual_div" aria-live="polite">
<span>Chat Box</span><br/>
<!-- <div class="panel-body fixed-panel"> -->
<div class="mesgs">
<div class="msg_history"></div>
<div class="type_msg">
<div class="input_msg_write">
<input type="text" id= 'add_text' class="write_msg" placeholder="Type a message" />
<button id = 'send_it' class="msg_send_btn" type="button" onclick="process(document.getElementById('add_text').value)"><i class="fa fa-paper-plane-o" aria-hidden="true"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>