-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.html
85 lines (71 loc) · 2.84 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YumTrade - Listings</title>
<link rel="stylesheet" href="main.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>
<header>
<div class="title">
<img src="logo.png" alt="Logo" id="logo">
<div id="topHead">
<h2 id="company-name">YumTrade</h2>
<span id="description">Food Market Exchange</span>
</div>
<div class="wrap">
<div class="search">
<input type="text" class="searchTerm" placeholder="Looking for specific food items...">
<button type="submit" class="searchButton">
<i class="fa fa-search"></i>
</button>
</div>
</div>
</div>
</header>
<a href="signup.html" class="previous">« Previous</a>
<div class="leftBox">
<label for="sort-options" style="margin-right: 10px; margin-bottom: 20px; ">Sort by:</label>
<select name="sort-options" id="sort-options">
<option value="ratings">Ratings</option>
<option value="location">Location</option>
<option value="products">Available Products</option>
</select>
<button id="chat">Go to chat</button>
<button id="add-products">+ add item</button>
<div class="data">
<table class="table table-scroll">
<thead>
<tr>
<th scope="col">Rating</th>
<th scope="col">Username</th>
<th scope="col">Item to Swap</th>
<th scope="col">Photo</th>
<th scope="col">Number of Days</th>
</tr>
</thead>
<tbody id="user-list"></tbody>
</table>
</div>
</div>
<div class="map">
<div class="google-map">
<iframe src="index.html" width="600" height="450" style="border: 0;"></iframe>
</div>
</div>
<div>
<link src="http://localhost:8080/chatindex">
</div>
</div>
<script src="main2.js" type="module"></script>
<script src="http://localhost:8080/chatindex" ></script>
<script type="text/javascript">
document.getElementById("chat").onclick = function () {
location.href = "http://localhost:8080/chatindex";
};
</script>
</body>
</html>