no message
parent
3679bc6e53
commit
8236ac1e54
|
|
@ -15,8 +15,8 @@
|
|||
<form:form commandName="UseHistorySearchVO" name="searchForm" action="/admin/history" method="get">
|
||||
|
||||
<div class="row justify-content-end bg-white mx-3 py-2">
|
||||
<div class="col-auto row">
|
||||
<div class="col-auto">
|
||||
<div class="col-12 col-sm-4 row">
|
||||
<div class="col-12 col-sm-4">
|
||||
<select class="form-select" name="searchCondition">
|
||||
<option value="all" ${UseHistorySearchVO.searchCondition eq 'all'?'selected':''}>통합검색</option>
|
||||
<option value="name" ${UseHistorySearchVO.searchCondition eq 'name'?'selected':''}>이름</option>
|
||||
|
|
@ -24,23 +24,25 @@
|
|||
<option value="req_area" ${UseHistorySearchVO.searchCondition eq 'req_area'?'selected':''}>위치</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<div class="col-8 col-sm-5">
|
||||
<input type="text" class="form-control" name="searchKeyword" value="${UseHistorySearchVO.searchKeyword}"/>
|
||||
</div>
|
||||
<div class="col-auto">
|
||||
<input class="btn btn-outline-secondary" type="submit" value="검색"/>
|
||||
<div class="col-4 col-sm-3">
|
||||
<input class="btn btn-outline-secondary w-100" type="submit" value="검색"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row m-3 p-2 bg-white">
|
||||
<div class="col-12 d-none d-sm-block">
|
||||
<table class="table table-hover text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>위치</th>
|
||||
<th>소속</th>
|
||||
<th>담당자</th>
|
||||
<th>동작</th>
|
||||
<th>위치</th>
|
||||
<th>날짜</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
@ -48,9 +50,22 @@
|
|||
<c:if test="${count >= 1}">
|
||||
<c:forEach var="item" items="${useHistoryList}">
|
||||
<tr>
|
||||
<td><c:out value="${item.reqArea}"/></td>
|
||||
<td><c:out value="${item.company}"/></td>
|
||||
<td><c:out value="${item.name}"/></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${item.log_type eq '0'}">
|
||||
<span class="status-bar status-success w-50 mx-auto">로그인</span>
|
||||
</c:when>
|
||||
<c:when test="${item.log_type eq '1'}">
|
||||
<span class="status-bar status-danger w-50 mx-auto">로그아웃</span>
|
||||
</c:when>
|
||||
<c:when test="${item.log_type eq '2'}">
|
||||
<span class="status-bar status-warning w-50 mx-auto">지도사용</span>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td><c:out value="${item.reqArea}"/></td>
|
||||
<td class="td_date"><c:out value="${item.logDate}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
|
@ -63,6 +78,55 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-12 d-block d-sm-none">
|
||||
<table class="table table-hover text-center">
|
||||
<tbody class="border-0 border-top border-bottom border-2 border-dark">
|
||||
<c:if test="${count >= 1}">
|
||||
<c:forEach var="item" items="${useHistoryList}">
|
||||
<tr class="border-bottom">
|
||||
<th class="bg-secondary" style="--bs-bg-opacity: .5">소속</th>
|
||||
<td><c:out value="${item.company}"/></td>
|
||||
</tr>
|
||||
<tr class="border-bottom">
|
||||
<th class="bg-secondary" style="--bs-bg-opacity: .5">담당자</th>
|
||||
<td><c:out value="${item.name}"/></td>
|
||||
</tr>
|
||||
<tr class="border-bottom">
|
||||
<th class="bg-secondary" style="--bs-bg-opacity: .5">동작</th>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${item.log_type eq '0'}">
|
||||
<span class="status-bar status-success">로그인</span>
|
||||
</c:when>
|
||||
<c:when test="${item.log_type eq '1'}">
|
||||
<span class="status-bar status-danger">로그아웃</span>
|
||||
</c:when>
|
||||
<c:when test="${item.log_type eq '2'}">
|
||||
<span class="status-bar status-warning">지도사용</span>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="border-bottom">
|
||||
<th class="bg-secondary" style="--bs-bg-opacity: .5">위치</th>
|
||||
<td><c:out value="${item.reqArea}"/></td>
|
||||
</tr>
|
||||
<tr class="border-0 border-bottom border-2 border-dark">
|
||||
<th class="bg-secondary" style="--bs-bg-opacity: .5">날짜</th>
|
||||
<td class="td_date"><c:out value="${item.logDate}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
<c:if test="${count == 0}">
|
||||
<tr>
|
||||
<td colspan="5">요청한 목록이 없습니다.</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-page">
|
||||
<form:hidden path="pageIndex"/></form:form>
|
||||
<nav aria-label="Page navigation">
|
||||
|
|
|
|||
Loading…
Reference in New Issue