|
@@ -17,42 +17,36 @@ $( function(){
|
|
|
|
|
|
$( "#acceptForm" ).validate({
|
|
|
submitHandler: function(form) {
|
|
|
- if( $( ".accept-checkbox[accessKey='required']" ).not(':checked').length > 0 ){
|
|
|
- alertBox({ txt : "서비스를 이용하시려면 필수 약관에 모두 동의해주세요" });
|
|
|
+ if( $( ".accept-checkbox[accessKey='required']" ).not(':checked').length > 0 || $( ".accept-radio[accessKey='required']" ).not(':checked').length > 0 ){
|
|
|
+ confirmCheck();
|
|
|
} else {
|
|
|
form.submit();
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
-})
|
|
|
+});
|
|
|
+
|
|
|
+function confirmCheck(){
|
|
|
+ alertBox({ type:"confirm",
|
|
|
+ txt : "모든 항목에 동의하지 않으시는 경우 서비스 이용이 불가합니다.<br/> 로그인 페이지로 이동하시겠습니까?",
|
|
|
+ callBack: function( result ){
|
|
|
+ if( result ) {
|
|
|
+ location.href='/login/logout';
|
|
|
+ }
|
|
|
+ }
|
|
|
+});
|
|
|
+}
|
|
|
</script>
|
|
|
<style>
|
|
|
<!--
|
|
|
/* Font Definitions */
|
|
|
- @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;}
|
|
|
- @font-face {font-family:"Arial Unicode MS"; panose-1:2 11 6 4 2 2 2 2 2 4;}
|
|
|
-@font-face {font-family:"Malgun Gothic"; panose-1:2 11 5 3 2 0 0 2 0 4;}
|
|
|
-@font-face {font-family:함초롬바탕; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:함초롬돋움; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:휴먼명조; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:HYGothic-Medium; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:"\@Malgun Gothic";}
|
|
|
-@font-face {font-family:"\@Arial Unicode MS"; panose-1:2 11 6 4 2 2 2 2 2 4;}
|
|
|
-@font-face {font-family:"\@휴먼명조"; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:"\@HYGothic-Medium"; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:"\@함초롬바탕"; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
-@font-face {font-family:"\@함초롬돋움"; panose-1:0 0 0 0 0 0 0 0 0 0;}
|
|
|
/* Style Definitions */
|
|
|
- p.MsoNormal, li.MsoNormal, div.MsoNormal{margin:0in;text-autospace:none;word-break:break-all;font-size:11.0pt;font-family:"Malgun Gothic",sans-serif;}
|
|
|
-p.a, li.a, div.a{mso-style-name:바탕글; margin:0in;text-align:justify;text-justify:inter-ideograph;line-height:103%;text-autospace:none; word-break:break-all;font-size:10.0pt;font-family:"함초롬바탕",serif;color:black;}
|
|
|
-.MsoChpDefault {font-family:"Malgun Gothic",sans-serif;}
|
|
|
+p.a, li.a, div.a{margin:0in;text-align:justify;text-justify:inter-ideograph;line-height:30px;text-autospace:none;word-break:break-all;font-size:10.0pt;serif;color:black;}
|
|
|
/* Page Definitions */
|
|
|
- @page WordSection1 {size:595.25pt 841.85pt; margin:99.2pt 85.0pt 85.0pt 85.0pt;}
|
|
|
-div.WordSection1 {page:WordSection1;}
|
|
|
- /* List Definitions */
|
|
|
- ol {margin-bottom:0in;}
|
|
|
-ul {margin-bottom:0in;}
|
|
|
+div.WordSection1 {page:WordSection1;font-family: Noto Sans KR, Nunito Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,sans-serif !important;}
|
|
|
-->
|
|
|
+
|
|
|
+tbody tr td p{background:none !important;}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -63,7 +57,7 @@ ul {margin-bottom:0in;}
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-box align-middle"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>
|
|
|
<span class="align-middle text-dark">생활치료센터 의료진 시스템</span>
|
|
|
</a>
|
|
|
- <h1 class="mt-2">생활치료센터 의료진 시스템 이용약관</h1>
|
|
|
+ <h1 class="mt-2">이용약관 및 개인정보처리방침</h1>
|
|
|
</div>
|
|
|
|
|
|
<hr class="my-4">
|
|
@@ -76,27 +70,30 @@ ul {margin-bottom:0in;}
|
|
|
<form action="/accept/insert" method="post" id="acceptForm">
|
|
|
<div class="card-body">
|
|
|
<c:forEach var="al" items="${acceptList}" varStatus="lStatus">
|
|
|
- <div class="row mb-3 mt-3">
|
|
|
- <div class="col-12">
|
|
|
- <h4 class="">${lStatus.index + 1}. <c:out value="${al.title}"/>
|
|
|
- <c:if test="${al.necessaryYn eq 'Y'}">(필수)</c:if>
|
|
|
- <c:if test="${al.necessaryYn ne 'Y'}">(선택)</c:if>
|
|
|
- </h4>
|
|
|
+ <c:if test="${lStatus.index > 0}">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-8" style="padding-left:30%">
|
|
|
+ <h4 class="text-center h1"><c:out value="${al.title}"/>
|
|
|
+<%-- <c:if test="${al.necessaryYn eq 'Y'}">(필수)</c:if> --%>
|
|
|
+<%-- <c:if test="${al.necessaryYn ne 'Y'}">(선택)</c:if> --%>
|
|
|
+ </h4>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <div style="width:100%;height:400px;overflow-y:auto;padding:20px;background:#e9ecef;border:1px solid #ced4da;">
|
|
|
+ <div style="width:100%;height:500px;overflow-y:auto;padding:20px;background:#e9ecef;border:1px solid #ced4da;margin-bottom:50px;">
|
|
|
<c:out value="${al.content}" escapeXml="false"/>
|
|
|
</div>
|
|
|
|
|
|
+ </c:if>
|
|
|
</c:forEach>
|
|
|
|
|
|
+
|
|
|
<hr class="my-4">
|
|
|
|
|
|
<div class="row mt-3">
|
|
|
<div class="col-12">
|
|
|
<div class="text-center">
|
|
|
- <button type="button" class="btn btn-info btn-lg" onclick="history.back();">뒤로가기</button>
|
|
|
+ <button type="button" class="btn btn-info btn-lg pl-5 pr-5" onclick="history.back();">뒤로가기</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|