-
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.
JSP, CSS, image file 추가
- Loading branch information
Showing
30 changed files
with
1,529 additions
and
0 deletions.
There are no files selected for viewing
110 changes: 110 additions & 0 deletions
110
project/BookRentalPjt/src/main/webapp/WEB-INF/views/user/book/book_detail.jsp
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,110 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
||
<jsp:include page="../../include/title.jsp" /> | ||
|
||
<link href="<c:url value='/resources/css/user/book_detail.css' />" rel="stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<jsp:include page="../../include/header.jsp" /> | ||
|
||
<jsp:include page="../include/nav.jsp" /> | ||
|
||
<section> | ||
|
||
<div id="section_wrap"> | ||
|
||
<div class="word"> | ||
|
||
<h3>BOOK DETAIL</h3> | ||
|
||
</div> | ||
|
||
<div class="book_detail"> | ||
|
||
<ul> | ||
<li> | ||
<img src="<c:url value="/libraryUploadImg/${bookVo.b_thumbnail}"/>"> | ||
</li> | ||
<li> | ||
<table> | ||
<tr> | ||
<td>도서명</td> | ||
<td>${bookVo.b_name}</td> | ||
</tr> | ||
<tr> | ||
<td>저자</td> | ||
<td>${bookVo.b_author}</td> | ||
</tr> | ||
<tr> | ||
<td>발행처</td> | ||
<td>${bookVo.b_publisher}</td> | ||
</tr> | ||
<tr> | ||
<td>발행년도</td> | ||
<td>${bookVo.b_publish_year}</td> | ||
</tr> | ||
<tr> | ||
<td>ISBN</td> | ||
<td>${bookVo.b_isbn}</td> | ||
</tr> | ||
<tr> | ||
<td>청구기호</td> | ||
<td>${bookVo.b_call_number}</td> | ||
</tr> | ||
<tr> | ||
<td>대출가능</td> | ||
<td> | ||
<c:choose> | ||
<c:when test="${bookVo.b_rantal_able eq '0'}"> <c:out value="X" /> </c:when> | ||
<c:when test="${bookVo.b_rantal_able eq '1'}"> <c:out value="O" /> </c:when> | ||
<c:otherwise> <c:out value="X" /> </c:otherwise> | ||
</c:choose> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>등록일</td> | ||
<td>${bookVo.b_reg_date}</td> | ||
</tr> | ||
<tr> | ||
<td>수정일</td> | ||
<td>${bookVo.b_mod_date}</td> | ||
</tr> | ||
</table> | ||
</li> | ||
</ul> | ||
|
||
</div> | ||
|
||
<div class="buttons"> | ||
|
||
<c:choose> | ||
<c:when test="${bookVo.b_rantal_able eq 0}"> | ||
<a href="#none">대출중</a> | ||
</c:when> | ||
<c:when test="${bookVo.b_rantal_able eq 1}"> | ||
<c:url value='/book/user/rentalBookConfirm' var='rental_url'> | ||
<c:param name='b_no' value='${bookVo.b_no}'/> | ||
</c:url> | ||
<a class="rental_book_button" href="${rental_url}">도서 대출</a> | ||
</c:when> | ||
</c:choose> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<jsp:include page="../../include/footer.jsp" /> | ||
|
||
</body> | ||
</html> |
84 changes: 84 additions & 0 deletions
84
project/BookRentalPjt/src/main/webapp/WEB-INF/views/user/book/bookshelf.jsp
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,84 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
||
<jsp:include page="../../include/title.jsp" /> | ||
|
||
<link href="<c:url value='/resources/css/user/bookshelf.css' />" rel="stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<jsp:include page="../../include/header.jsp" /> | ||
|
||
<jsp:include page="../include/nav.jsp" /> | ||
|
||
<section> | ||
|
||
<div id="section_wrap"> | ||
|
||
<div class="word"> | ||
|
||
<h3>MY BOOKSHELF</h3> | ||
|
||
</div> | ||
|
||
<%-- 대출 목록 --%> | ||
<div class="category_name"> | ||
<h4>대출 목록</h4> | ||
</div> | ||
|
||
<div class="rental_book_list"> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>도서명</th> | ||
<th>ISBN</th> | ||
<th>청구기호</th> | ||
<th>대출일</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<c:forEach var="item" items="${rentalBookVos}"> | ||
<tr> | ||
<td> | ||
<c:url value='/book/user/bookDetail' var='detail_url'> | ||
<c:param name='b_no' value='${item.b_no}'/> | ||
</c:url> | ||
<a href="${detail_url}">${item.b_name}</a> | ||
</td> | ||
<td>${item.b_isbn}</td> | ||
<td>${item.b_call_number}</td> | ||
<td>${item.rb_start_date}</td> | ||
</tr> | ||
</c:forEach> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
|
||
<%-- | ||
- 전체 대출 이력 | ||
- 희망 도서 요청 | ||
- 희망 도서 요청 목록 | ||
--%> | ||
<div class="other_category"> | ||
<a href="<c:url value='/book/user/listupRentalBookHistory'/>">전체 대출 이력</a> | ||
<a href="<c:url value='/book/user/requestHopeBookForm'/>">희망 도서 요청</a> | ||
<a href="<c:url value='/book/user/listupRequestHopeBook'/>">희망 도서 요청 목록 </a> | ||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<jsp:include page="../../include/footer.jsp" /> | ||
|
||
</body> | ||
</html> |
79 changes: 79 additions & 0 deletions
79
project/BookRentalPjt/src/main/webapp/WEB-INF/views/user/book/list_hope_book.jsp
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,79 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
||
<jsp:include page="../../include/title.jsp" /> | ||
|
||
<link href="<c:url value='/resources/css/user/list_hope_book.css' />" rel="stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<jsp:include page="../../include/header.jsp" /> | ||
|
||
<jsp:include page="../include/nav.jsp" /> | ||
|
||
<section> | ||
|
||
<div id="section_wrap"> | ||
|
||
<div class="word"> | ||
|
||
<h3>HOPE BOOKS</h3> | ||
|
||
</div> | ||
|
||
<div class="list_hope_books"> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>도서명</th> | ||
<th>저자</th> | ||
<th>발행처</th> | ||
<th>발행연도</th> | ||
<th>요청일</th> | ||
<th>요청 수정일</th> | ||
<th>처리상태</th> | ||
<th>처리상태 수정일</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<c:forEach var="item" items="${hopeBookVos}"> | ||
<tr> | ||
|
||
<td>${item.hb_name}</td> | ||
<td>${item.hb_author}</td> | ||
<td>${item.hb_publisher}</td> | ||
<td>${item.hb_publish_year}</td> | ||
<td>${item.hb_reg_date}</td> | ||
<td>${item.hb_mod_date}</td> | ||
<td> | ||
<c:choose> | ||
<c:when test="${item.hb_result eq 0}"> <c:out value="검토중" /> </c:when> | ||
<c:when test="${item.hb_result eq 1}"> <c:out value="완료" /> </c:when> | ||
<c:otherwise> <c:out value="입고대기" /> </c:otherwise> | ||
</c:choose> | ||
</td> | ||
<td>${item.hb_result_last_date}</td> | ||
|
||
</tr> | ||
</c:forEach> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<jsp:include page="../../include/footer.jsp" /> | ||
|
||
</body> | ||
</html> |
76 changes: 76 additions & 0 deletions
76
project/BookRentalPjt/src/main/webapp/WEB-INF/views/user/book/rental_book_history.jsp
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,76 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
||
<jsp:include page="../../include/title.jsp" /> | ||
|
||
<link href="<c:url value='/resources/css/user/rental_book_history.css' />" rel="stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<jsp:include page="../../include/header.jsp" /> | ||
|
||
<jsp:include page="../include/nav.jsp" /> | ||
|
||
<section> | ||
|
||
<div id="section_wrap"> | ||
|
||
<div class="word"> | ||
|
||
<h3>RENTAL BOOK HISTORY</h3> | ||
|
||
</div> | ||
|
||
<div class="rental_book_history"> | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>도서명</th> | ||
<th>ISBN</th> | ||
<th>청구기호</th> | ||
<th>대출일</th> | ||
<th>반납일</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<c:forEach var="item" items="${rentalBookVos}"> | ||
<tr> | ||
<td> | ||
<c:url value='/book/user/bookDetail' var='detail_url'> | ||
<c:param name='b_no' value='${item.b_no}'/> | ||
</c:url> | ||
<a href="${detail_url}">${item.b_name}</a> | ||
</td> | ||
<td>${item.b_isbn}</td> | ||
<td>${item.b_call_number}</td> | ||
<td>${item.rb_start_date}</td> | ||
<td> | ||
<c:choose> | ||
<c:when test="${fn:contains(item.rb_end_date, '1000-01-01')}">대출중</c:when> | ||
<c:otherwise>${item.rb_end_date}</c:otherwise> | ||
</c:choose> | ||
</td> | ||
</tr> | ||
</c:forEach> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<jsp:include page="../../include/footer.jsp" /> | ||
|
||
</body> | ||
</html> |
38 changes: 38 additions & 0 deletions
38
project/BookRentalPjt/src/main/webapp/WEB-INF/views/user/book/rental_book_ng.jsp
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,38 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
|
||
<jsp:include page="../../include/title.jsp" /> | ||
|
||
<link href="<c:url value='/resources/css/user/rental_book_result.css' />" rel="stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<jsp:include page="../../include/header.jsp" /> | ||
|
||
<jsp:include page="../include/nav.jsp" /> | ||
|
||
<section> | ||
|
||
<div id="section_wrap"> | ||
|
||
<div class="word"> | ||
|
||
<h3>RENTAL BOOK FAIL!!</h3> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</section> | ||
|
||
<jsp:include page="../../include/footer.jsp" /> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.