-
Notifications
You must be signed in to change notification settings - Fork 0
/
chat.html
35 lines (35 loc) · 1.37 KB
/
chat.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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/x-icon" href="https://upload.wikimedia.org/wikipedia/commons/6/69/June_odd-eyed-cat_cropped.jpg"></link>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/style.css">
<title>Chat Client</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<a href="index.html">Accueil</a>
<button onclick="montrer()" id="button_stats">afficher stats</button><br><br>
<table id="index">
<tr id="index">
<td>
<div id="chatLog" wrap="hard"></div>
<div id="inputs">
<textarea name="msg" id="msg" autofocus="true" placeholder="Message" wrap="hard" oninput='this.style.height = "";this.style.height = this.scrollHeight + "px"'></textarea>
<button name="sendButton" id="submit" class="btn">
<i class="fa fa-paper-plane"></i>
Envoyer
</button>
</div>
</td>
<td id="truc_a_cacher">
<div id="stat" wrap="hard"></div>
</td>
</tr>
</table>
<button onclick="print()">Imprimer</button>
<script src="/script.js"></script>
</body>
</html>