forked from LieneTamuza/Final-task
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat.html
131 lines (114 loc) · 5.45 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
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 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>Chat – Easter Prize</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container mb-5" id="page-container">
<div id="content-wrap">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light mb-3">
<div class="container-fluid">
<!-- Navbar logo -->
<a class="navbar-brand" href="index.html">
<img src="images/logo.png" height="30" alt="Easter Prize Logo">
</a>
<!-- Hamburger menu-->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Classic menu -->
<div class="collapse navbar-collapse" id="navbarToggler">
<ul class="navbar-nav me-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="news.html">News</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page">Chat</a>
</li>
<li class="nav-item">
<a class="nav-link" href="register.html">Register</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">About</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Breadcrumb -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Chat</li>
</ol>
</nav>
<!-- Title -->
<div class="container">
<h5>Chat</h5>
</div>
<!-- Chat box -->
<div class="container">
<div class="row">
<div class="col-sm">
<div class="row">
<div class="col-12 col-lg-6">
<div>
<p class="mb-5" id="chat-box"></p>
</div>
</div>
</div>
<div class="row mb-1">
<div class="col">
<p class="input-txt"><label for="chat-username">Username:</label>
<p class="input-txt"><input type="text" id="chat-username"></p>
</div>
</div>
<div class="row">
<div class="col">
<p class="input-txt"><label for="message">Message:</label>
<div class="row">
<div class="col-12 col-lg-6">
<div class="mb-3">
<p class="input-txt">
<textarea id="message" class="form-control"></textarea>
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-2 d-grid mb-3">
<button type="button" class="btn btn-outline-dark fw-bold"
id="send-btn">Send</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer fixed-bottom mt-auto p-2">
<div class="footer-container">
<span class="text-muted">© 2021 Easter Prize</span>
</div>
</footer>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf"
crossorigin="anonymous"></script>
<script src="js/main.js"></script>
</body>
</html>