-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6141b63
commit 7073ce2
Showing
9 changed files
with
127 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<jsp:include page="../includes/header.jsp" /> | ||
</head> | ||
<body> | ||
<jsp:include page="../includes/nav.jsp" /> | ||
<table> | ||
<tr> | ||
<th>Profile Pic</th> | ||
<th>Name</th> | ||
<th>About Me</th> | ||
<th>First Name</th> | ||
</tr> | ||
<c:forEach var="user" items="${users}"> | ||
<tr> | ||
<td><img src="${user.profileUrl}" height="50" width="50" alt="${user.username}"></td> | ||
<td><a href="userProfile.do?id=${user.id}">${user.username}</a></td> | ||
<td>${user.aboutMe}</td> | ||
<td>${user.firstName}</td> | ||
</tr> | ||
</c:forEach> | ||
</table> | ||
<a href="bookClubSearch.do" class="btn btn-primary">Not what you're looking for?</a> | ||
<jsp:include page="../includes/footer.jsp"/> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
|
||
<jsp:include page="../includes/header.jsp" /> | ||
</head> | ||
<body> | ||
<jsp:include page="../includes/nav.jsp" /> | ||
<div class="container"> | ||
<div class="col"> | ||
<div class="input-group mb-3"> | ||
<form action="getUser.do"> | ||
<input type="text" name="userSearch" class="form-control" | ||
aria-describedby="basic-addon2"> | ||
<input type="radio" id="username" name="searchType" value="1"> | ||
<label for="username">Find Friends By Username</label> | ||
<input type="radio" id="firstName" name="searchType" value="2"> | ||
<label for="firstName">Find Friends by First Name</label> | ||
<input type="radio" id="lastName" name="searchType" value="3"> | ||
<label for="lastName">Find Friends by Last Name</label> | ||
|
||
<input type="submit" value="Search" /> | ||
</form> | ||
</div> | ||
</div> | ||
<jsp:include page="../includes/footer.jsp"/> | ||
</body> | ||
</html> |