2023/10/04 관리자 > 로그관리 > 로그메뉴명 관리, N관리자로그리스트, N사용자로그리스트 수정

This commit is contained in:
subsub 2023-10-04 12:16:56 +09:00
parent 8785f3c6e2
commit a3f03d37d1
6 changed files with 143 additions and 134 deletions

View File

@ -151,14 +151,14 @@ function logListExcelDownload(){
</colgroup>
<thead>
<tr>
<th>번호 <button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명 <button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<th><p>접근구분</p><button type="button" class="sortBtn sort" id="sort_approNm"></button></th>
<!-- <th>메소드 <button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th> -->
<th>접속ID <button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th>접속IP <button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th>접속URL <button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th>접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
@ -173,12 +173,12 @@ function logListExcelDownload(){
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.approNm}"/></td>
<%-- <td><c:out value="${result.progrmFileNm}"/></td> --%>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td><c:out value="${result.url}"/></td>
<td class="td_wrap t_left"><c:out value="${result.url}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>

View File

@ -150,14 +150,14 @@ function logListExcelDownload(){
</colgroup>
<thead>
<tr>
<th>번호 <button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명 <button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<th><p>번호</p><button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th><p>메뉴명</p><button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th>메소드 <button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th>접속ID <button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th>접속IP <button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th>접속URL <button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th>접속일자 <button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
<th><p>메소드</p><button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th><p>접속ID</p><button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th><p>접속IP</p><button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th><p>접속URL</p><button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th><p>접속일자</p><button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>

View File

@ -124,6 +124,10 @@ function fnCheckAll(){
}
</script>
<style>
.tbType01 thead th{font-size: 15px;}
.tbType01 tbody td{font-size: 14px;}
</style>
</head>
<body>
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
@ -197,31 +201,31 @@ function fnCheckAll(){
<div class="list tbType01">
<table>
<colgroup>
<col style="width: 8%">
<col style="width: 10%">
<col style="width: 15%">
<col style="width: 20%">
<col style="width: 10%">
<col style="width: 15%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 7%">
<col style="width: 60px;">
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 20%;">
<col style="width: 9%;">
<col style="width: 10%;">
<%-- <col style="width: 8%;"> --%>
<col style="width: 8%;">
<col style="width: 10%;">
<col style="width: 8%;">
<col style="width: 70px;">
</colgroup>
<thead>
<tr>
<th>번호 <input type="button" class="sortBtn sort" id="sort_tempSortNum"></th>
<th>메뉴명 <input type="button" class="sortBtn sort" id="sort_menuNm"></th>
<th>메소드명 <input type="button" class="sortBtn sort" id="sort_methodNm"></th>
<th>기능명 <input type="button" class="sortBtn sort" id="sort_approNm"></th>
<th>파라미터 <input type="button" class="sortBtn sort" id="sort_param"></th>
<th>개인정보여부 <input type="button" class="sortBtn sort" id="sort_privacy"></th>
<th>등록일자 <input type="button" class="sortBtn sort" id="sort_creatDt"></th>
<th>사용자구분<input type="button" class="sortBtn sort" id="sort_method_cd"></th>
<th>통계사용여부<input type="button" class="sortBtn sort" id="sort_use_yn"></th>
<th>통계순서<input type="button" class="sortBtn sort" id="sort_sort_num"></th>
<th>관리</th>
<th><p>번호</p><input type="button" class="sortBtn sort" id="sort_tempSortNum"></th>
<th><p>메뉴명</p><input type="button" class="sortBtn sort" id="sort_menuNm"></th>
<th><p>메소드명</p><input type="button" class="sortBtn sort" id="sort_methodNm"></th>
<th><p>기능명</p><input type="button" class="sortBtn sort" id="sort_approNm"></th>
<th><p>파라<br />미터</p><input type="button" class="sortBtn sort" id="sort_param"></th>
<th><p>개인정보<br />여부</p><input type="button" class="sortBtn sort" id="sort_privacy"></th>
<!-- <th><p>등록일자</p><input type="button" class="sortBtn sort" id="sort_creatDt"></th> -->
<th><p>사용자<br />구분</p><input type="button" class="sortBtn sort" id="sort_method_cd"></th>
<th><p>통계사용<br />여부</p><input type="button" class="sortBtn sort" id="sort_use_yn"></th>
<th><p>통계<br />순서</p><input type="button" class="sortBtn sort" id="sort_sort_num"></th>
<th><p>관리</p></th>
</tr>
</thead>
<tbody>
@ -241,17 +245,17 @@ function fnCheckAll(){
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.approNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.menuNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.approNm}"/></td>
<td><c:out value="${result.param}"/></td>
<td><c:out value="${result.privacy}"/></td>
<td><c:out value="${result.creatDt}"/></td>
<%-- <td><c:out value="${result.creatDt}"/></td> --%>
<td><c:out value="${result.dateType}"/></td>
<td><c:out value="${result.useYn}"/></td>
<td><c:out value="${result.sortNum}"/></td>
<td>
<input type="button" value="수정" class="btnType1" onclick="fn_modify('${result.admotId}'); return false;">
<input type="button" value="수정" class="btnType01" style="height: 30px;" onclick="fn_modify('${result.admotId}'); return false;">
</td>
</tr>
</c:forEach>

View File

@ -230,7 +230,7 @@ function fn_delete() {
<div class="list tb_type01">
<table class="tbType2">
<table class="tbType02" style="width: 100%;">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
@ -238,39 +238,39 @@ function fn_delete() {
<tbody>
<tr>
<th><span class="reqArea">메뉴명</span></th>
<td colspan="3" style="text-align:left;">
<td style="text-align:left;">
<input type="text" size="100" name="menuNm" value="${loginLog.menuNm}" title="menuNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">메소드명</span></th>
<td colspan="3" style="text-align:left;">
<td style="text-align:left;">
<input type="text" size="100" name="methodNm" value="${loginLog.methodNm}" title="methodNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">기능명</span></th>
<td colspan="3" style="text-align:left;">
<td style="text-align:left;">
<input type="text" size="100" name="approNm" value="${loginLog.approNm}" title="approNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">파라미터</span></th>
<td colspan="3" style="text-align:left;">
<td style="text-align:left;">
<input type="text" size="100" name="param" value="${empty loginLog.admotId ? 'N' : loginLog.param }" title="param" maxlength="100" />
<br><span class="cfText">*기본값은 N 입니다.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">*N이 아닌 값을 사용할 경우는 url에 'logParam=파라미터값' 형식을 추가해야 적용됩니다.</span>
</td>
</tr>
<tr>
<th><span class="reqArea">privacy</span></th>
<td colspan="3" style="text-align:left;">
<td style="text-align:left;">
<input type="text" size="100" name="privacy" value="${empty loginLog.admotId ? 'N' : loginLog.privacy }" title="privacy" maxlength="100" />
<br><span class="cfText">*기본값은 N 입니다.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">N / Y *개인정보 포함 여부를 표시합니다.</span>
</td>
</tr>
<tr>
<th><span class="reqArea">사용자구분</span></th>
<td colspan="3" style="text-align:left;">${loginLog.dateType}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">U(사용자) / A(관리자)</span>
<td style="text-align:left;">${loginLog.dateType}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">U(사용자) / A(관리자)</span>
</td>
</tr>
@ -296,26 +296,23 @@ function fn_delete() {
<th><span class="reqArea">등록일자</span></th>
<td colspan="3" style="text-align:left;">
${loginLog.creatDt}
<%-- <input name="creatDt" value="${loginLog.creatDt}" title="creatDt" maxlength="100" readonly /> --%>
<%-- <input name="creatDt" value="${loginLog.creatDt}" title="creatDt" maxlength="100" readonly /> --%>
</td>
</tr>
</c:if>
</tbody>
</table>
<div class="btnWrap">
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;">
</div>
<div class="btn_wrap btn_layout02" style="margin: 20px 0 0 0;">
<button type="button" class="btnType03 bg_888888" onclick="goList(); return false;">목록</button>
<c:if test="${!empty loginLog.admotId }">
<input type="button" class="btnType1" value="삭 제" onclick="fn_delete(); return false;">
<input type="button" class="btnType1" value="수 정" onclick="fn_update(); return false;">
<button type="button" class="btnType02" onclick="fn_delete(); return false;">삭제</button>
<button type="button" class="btnType06" onclick="fn_update(); return false;">수정</button>
</c:if>
<c:if test="${empty loginLog.admotId }">
<input type="button" class="btnType1" value="저 장" onclick="fn_insert(); return false;">
<button type="button" class="btnType06" onclick="fn_insert(); return false;">저장</button>
</c:if>
</div>
</div>
<!-- //list -->

View File

@ -124,8 +124,8 @@ p+.list_util{width: auto;}
.btn_layout01{width: 100%; display: flex; justify-content: space-between; margin-bottom: 30px;}
.btn_layout01 .area_left{background-color: #fff; box-shadow: none;}
.btn_layout01 .area_right{text-align: right; background-color: #fff;}
.btn_layout01 button{vertical-align: middle; margin: 0 2px; transition: all 0.1s linear;}
.btn_layout01 button:hover{box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: all 0.1s linear;}
.btn_layout01 button, .btn_layout01 input[type="button"]{vertical-align: middle; margin: 0 2px; transition: all 0.1s linear;}
.btn_layout01 button:hover, .btn_layout01 input[type="button"]:hover{box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: all 0.1s linear;}
.btn_layout01 .area_left button:first-child{margin-left: 0;}
.btn_layout01 .area_right button:last-child{margin-right: 0;}
@ -134,13 +134,13 @@ p+.list_util{width: auto;}
/* list_top_btn */
.btn_layout02{width: 100%; text-align: right; margin-bottom: 10px; margin-top: 0;}
.btn_layout02 button{margin: 0 2px; transition: all 0.1s linear;}
.btn_layout02 button:hover{box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: all 0.1s linear;}
.btn_layout02 button,.btn_layout02 input[type="button"]{margin: 0 2px; transition: all 0.1s linear;}
.btn_layout02 button:hover,.btn_layout02 input[type="button"]:hover{box-shadow: 0 0 5px rgba(0,0,0,0.3); transition: all 0.1s linear;}
/* //list_top_btn */
.btn_layout03 .area_left{background-color: #fff; box-shadow: none; width: calc(100% - 150px);}
.btn_layout03 button{margin: 0 2px 5px 2px; transition: all 0.1s linear;}
.btn_layout03 button:hover{transition: all 0.1s linear; box-shadow: 0 0 5px rgba(0,0,0,0.3);}
.btn_layout03 button,.btn_layout03 input[type="button"]{margin: 0 2px 5px 2px; transition: all 0.1s linear;}
.btn_layout03 button:hover,.btn_layout03 input[type="button"]:hover{transition: all 0.1s linear; box-shadow: 0 0 5px rgba(0,0,0,0.3);}
.btn_layout04{text-align: center;}
@ -166,6 +166,11 @@ p+.list_util{width: auto;}
.btnType07 {height:46px;padding:0 15px;font-size:18px;font-weight:400;color:#555;border:1px solid #555;border-radius:5px;transition:all 0.1s linear;}
.btnType07:hover {background:#fafafa;}
.btnType08 {display:inline-block;width:95px;height:33px;padding:0 10px;font-size:15px;line-height:30px;text-align:left;color:#666;border:1px solid #d5d5d5;background:url(/kccadrPb/adm/image/icon_btnType08.png) no-repeat right center;border-radius:5px;box-sizing:border-box;}
p+.sortBtn{display:inline-block;border:0;width:14px;height:100%;background:url(/kccadrPb/adm/image/sort_btn_img.png) no-repeat right center;margin: 0 0 0 4px;}
p+button.sortBtn{height:8px;}
p+.sortBtn.sortBtnAsc,p+button.sortBtn.sortBtnDesc{background:url(/kccadrPb/adm/image/sort_btn_img.png) no-repeat left center;color:transparent;}
p+button.sortBtn.sortBtnDesc,p+button.sortBtn.sortBtnAsc{vertical-align:middle;}
/* //버튼 타입 */
.btn_wrap .btn_print i{width: 22px; height: 22px; display: inline-block; background-image: url(/kccadrPb/adm/image/btn_print02.png); vertical-align: middle; margin-top: -5px;}
@ -203,6 +208,7 @@ p+.list_util{width: auto;}
.tbType01 thead tr{width: 100%; background-color: #f3f3f3;}
.tbType01 thead tr:only-of-type th{height: 55px;}
.tbType01 thead th{height: 30px; padding: 0 5px; box-sizing: border-box; border-right: 0.01em solid #e5e5e5; vertical-align: middle;border-bottom: 0.01em solid #e5e5e5; font-size: 16px; font-weight: 400;}
.tbType01 thead th p{display:inline-block;vertical-align:middle;}
.tbType01 thead th:last-child{border-right: 0;}
.tbType01 thead tr:last-child th:last-child{border-right: 0.01em solid #e5e5e5;}
.tbType01 thead tr:only-child th:last-child{border-right: 0;}
@ -211,7 +217,9 @@ p+.list_util{width: auto;}
.tbType01 tbody tr:nth-child(n+1):nth-child(-n+9) td,.tbType01 tbody tr:nth-child(n+1):nth-child(-n+9) th{border-bottom: 0.01em solid #d5d5d5;}
.tbType01 tbody tr:nth-child(n+10){border-bottom: 0.01em solid #d5d5d5;}
.tbType01 tbody tr:last-child{border-bottom: 0;}
.tbType01 tbody td{height: 40px; font-weight: 400; color: #555555; line-height: 1.4; vertical-align: middle; border-right: 0.01em solid #d5d5d5;}
.tbType01 tbody td{height: 40px; font-weight: 400; color: #555555; line-height: 1.4; vertical-align: middle; border-right: 0.01em solid #d5d5d5; padding: 0 5px;}
.tbType01 tbody td.ellipsis{white-space: nowrap; text-overflow: ellipsis;overflow:hidden;}
.tbType01 tbody td.td_wrap{white-space: wrap;word-wrap: break-word;}
.tbType01 tbody .td_date{font-size: 15px;}
.tbType01 tbody td p,.tbType01 tbody td a{width: 95%; margin: 0 auto; padding: 0 5px; box-sizing: border-box; word-break: break-all;}
.tbType01 tbody td .text_overflow{white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B