-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvolunteerPage.html
104 lines (101 loc) · 5.18 KB
/
volunteerPage.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
<!DOCTYPE html>
<html>
<head>
<link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" rel="stylesheet">
<link href="https://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
<link href="./css/jq.multiinput.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+TC|Noto+Serif+TC&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="./css/main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" />
</head>
<body class="bg-light">
<nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
<a class="logo" href="#">#<span style="color: white;font-weight: 600;">Neighbor</span><span style="font-weight: lighter;">CanHelp</span></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<span class="nav-link">Login: <span id="username"></span></span>
</li>
<li class="nav-item active">
<button class="btn btn-dark" onclick="javascript:location.href='/location.html'"><i class="fa fa-location-arrow" aria-hidden="true"></i></button>
</li>
<li class="nav-item">
<a class="nav-link" href="./userPage.html">Users</a>
</li>
<a class="nav-link" href="./volunteerPage.html">Volunteers</a>
</li>
<li class="nav-item">
<button class="btn btn-dark" type="submit" id="signoutBtn" value="Sign Out">Sign Out</button>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col-md-12" id="myShoppingList">
<h1>My Shopping List</h1>
<div class="row">
<div class="col-12">
<table class="table table-bordered">
<thead>
<tr>
<th scope="col">Select</th>
<th scope="col">Product Name</th>
<th scope="col">Quantity</th>
<th scope="col">User</th>
<th scope="col">Description</th>
<th scope="col">Status</th>
<th scope="col">Line ID</th>
<th scope="col" style="display: none">pId</th>
</tr>
</thead>
<tbody id="myCurrentShoppingListTable">
</tbody>
</table>
</div>
</div>
<button type="button" class="btn btn-secondary" id='deleteProductBtn'>Remove</button>
<button type="button" class="btn btn-success" id='completeProductBtn'>Complete</button>
</div>
<div class="col-md-12" id="wishList">
<h1>Wish List</h1>
<div class="row">
<div class="col-12">
<table class="table table-bordered">
<thead>
<tr>
<th scope="col">Select</th>
<th scope="col">Product Name</th>
<th scope="col">Quantity</th>
<th scope="col">User</th>
<th scope="col">Distance(km)</th>
<th scope="col">Description</th>
<th scope="col" style="display: none">pId</th>
</tr>
</thead>
<tbody id="wishListTable">
</tbody>
</table>
</div>
</div>
<button type="button" class="btn btn-primary" id="takeProductBtn">Take it</button>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="js/jq.multiinput.min.js"></script>
<script src="js/vendor/aws-cognito-sdk.min.js"></script>
<script src="js/vendor/amazon-cognito-identity.min.js"></script>
<script src="https://js.arcgis.com/4.3/"></script>
<script src="js/config.js"></script>
<script src="js/cognito-auth.js"></script>
<script src="js/esri-map.js"></script>
<script src="js/main.js"></script>
<script src="js/volunteer.js"></script>
</body>
</html>