-
Notifications
You must be signed in to change notification settings - Fork 1
/
profile.html
113 lines (108 loc) · 4.94 KB
/
profile.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Camping Trip Planner - Profile</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<body>
<div id="loader" class="loader-div text-center">
<div class="loader spinner-border text-primary" role="status">
</div>
</div>
<div>
<div id="header">
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="index.html">
<img src="img/Pitched.png" width="150px" alt="">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li id="nav_profile" class="nav-item active">
<a class="nav-link" href="#">Profile <span class="sr-only">(current)</span></a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li id="nav_sign-in" class="nav-item">
<a class="nav-link" href="login.html">Login</a>
</li>
<li id="nav_sign-out" class="nav-item hidden">
<a class="nav-link" href="index.html">Sign Out</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="container">
<div style="text-align: center">
<p id="profile-name" class="h2"></p>
<p class="h5">Adventurist</p>
</div>
<div style="width: 100%;">
<div id="new-group-requests" class="hidden" style="max-width: 400px; margin: auto;">
<div class="center">
<p class="h5">New Group Requests</p>
</div>
<div>
<ul id="group-invite-list" class="list-group">
</ul>
</div>
</div>
<br>
<div class="center">
<button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#modal_new-group">Create Group
</button>
</div>
<br>
<div style="max-width: 400px; margin: auto;">
<div class="center">
<p class="h5">Group List</p>
</div>
<div>
<ul id="group-list" class="list-group">
</ul>
</div>
</div>
</div>
</div>
</div>
<script src="script.js" type="application/javascript"></script>
<script src="profile.js" type="application/javascript"></script>
</body>
</html>
<!-- New Group modal -->
<div id="modal_new-group" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">New Group</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div>
<div id="new_group">
<div class="form-group">
<label for="input_user-group-name">Group Name</label>
<input type="text" class="form-control" id="input_user-group-name" placeholder="Group name">
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" onclick="newGroup()">Create Group</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>