-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjoin_group.html
82 lines (71 loc) · 1.86 KB
/
join_group.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Join a Group</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
text-align: center;
}
h2, h3 {
color: #333;
margin-bottom: 20px;
}
#groupsList div {
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
border-radius: 8px;
background-color: white;
max-width: 300px;
display: inline-block;
margin: 10px;
vertical-align: top;
}
#groupsList img {
max-width: 100px;
max-height: 100px;
border-radius: 50%;
margin-top: 10px;
}
#joinGroupForm {
margin-top: 20px;
}
input[type="text"] {
padding: 10px;
margin-bottom: 10px;
border-radius: 4px;
border: 1px solid #ddd;
width: 200px;
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<h2>Join a Group</h2>
<div id="groupsList"></div>
<h3>Join a Group</h3>
<form id="joinGroupForm">
<input type="text" id="groupName" placeholder="Enter group name" required>
<button type="submit">Join Group</button>
</form>
<!-- Redirect to Dashboard Button -->
<button id="dashboardButton">Go to Dashboard</button>
<script src="join_group.js"></script>
</body>
</html>