이지우 - 헤더 포탈링크 수정 및 성인교육 결과보고서 작업 중
This commit is contained in:
parent
913b4f8736
commit
1752ca8651
@ -125,6 +125,7 @@ function usrJoin(){
|
|||||||
document.body.style.zoom = nowZoom + "%";
|
document.body.style.zoom = nowZoom + "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//상단 e배움터 링크 이동 - 로그인상ㅌ
|
||||||
function goEEdu() {
|
function goEEdu() {
|
||||||
var environment = '${environment}';
|
var environment = '${environment}';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@ -136,7 +137,7 @@ function usrJoin(){
|
|||||||
success: function (returnData, status) {
|
success: function (returnData, status) {
|
||||||
if(returnData.status == 'loginY'){
|
if(returnData.status == 'loginY'){
|
||||||
if(environment == 'real'){
|
if(environment == 'real'){
|
||||||
window.location.href = "http://https://edu-copyright.or.kr.255.205.7/user/main/main.do?user_id="+returnData.user_id+"&key="+returnData.key;
|
window.location.href = "https://edu-copyright.or.kr/user/main/main.do?user_id="+returnData.user_id+"&key="+returnData.key;
|
||||||
}else{
|
}else{
|
||||||
window.location.href = "http://223.255.205.7/user/main/main.do?user_id="+returnData.user_id+"&key="+returnData.key;
|
window.location.href = "http://223.255.205.7/user/main/main.do?user_id="+returnData.user_id+"&key="+returnData.key;
|
||||||
}
|
}
|
||||||
@ -153,6 +154,37 @@ function usrJoin(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
//상단 포탈사이트, 장애인e배움터, 저작권배움터 링크 이동
|
||||||
|
function goLink(target){
|
||||||
|
var environment = '${environment}';
|
||||||
|
var url = "https://edu-copyright.or.kr/offedu/web/main/mainPage.do";
|
||||||
|
if(environment == 'real'){
|
||||||
|
if(target == 'portal'){
|
||||||
|
url = "https://edu-copyright.or.kr/portal/main.do"
|
||||||
|
}else if(target == 'user'){
|
||||||
|
url = "https://edu-copyright.or.kr/dsprUser/main/main.do"
|
||||||
|
}else if(target == 'dsprUser'){
|
||||||
|
url = "https://edu-copyright.or.kr/dsprUser/main/main.do"
|
||||||
|
}else{
|
||||||
|
url = "https://edu-copyright.or.kr/offedu/web/main/mainPage.do"
|
||||||
|
}
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
|
if(target == 'portal'){
|
||||||
|
url = "http://223.255.205.7/portal/main.do"
|
||||||
|
}else if(target == 'user'){
|
||||||
|
url = "http://223.255.205.7/user/main/main.do"
|
||||||
|
}else if(target == 'dsprUser'){
|
||||||
|
url = "http://223.255.205.7/dsprUser/main/main.do"
|
||||||
|
}else{
|
||||||
|
url = "http://223.255.205.7/offedu/web/main/mainPage.do"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
window.location.href = url;
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
@ -178,10 +210,14 @@ function usrJoin(){
|
|||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="top_link">
|
<div class="top_link">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://edu-copyright.or.kr/portal/main.do">포털사이트</a></li>
|
<!-- <li><a href="https://edu-copyright.or.kr/portal/main.do">포털사이트</a></li>
|
||||||
<li><a href="https://edu-copyright.or.kr/user/main/main.do">저작권e배움터</a></li>
|
<li><a href="https://edu-copyright.or.kr/user/main/main.do">저작권e배움터</a></li>
|
||||||
<li><a href="https://edu-copyright.or.kr/dsprUser/main/main.do">장애인e배움터</a></li>
|
<li><a href="https://edu-copyright.or.kr/dsprUser/main/main.do">장애인e배움터</a></li>
|
||||||
<li class="on"><a href="https://www.edu-copyright.or.kr/offedu/web/main/mainPage.do">저작권배움터</a></li>
|
<li class="on"><a href="https://www.edu-copyright.or.kr/offedu/web/main/mainPage.do">저작권배움터</a></li> -->
|
||||||
|
<li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;">포털사이트</a></li>
|
||||||
|
<li><a href="#goEEdu" onclick="goLink('user');return false;" onkeypress="this.onclick;">저작권e배움터</a></li>
|
||||||
|
<li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;">장애인e배움터</a></li>
|
||||||
|
<li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;">저작권배움터</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="area_left">
|
<!-- <div class="area_left">
|
||||||
@ -245,10 +281,14 @@ function usrJoin(){
|
|||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="top_link">
|
<div class="top_link">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="https://edu-copyright.or.kr/portal/main.do">포털사이트</a></li>
|
<!-- <li><a href="https://edu-copyright.or.kr/portal/main.do">포털사이트</a></li>
|
||||||
<li><a href="https://edu-copyright.or.kr/user/main/main.do">저작권e배움터</a></li>
|
<li><a href="https://edu-copyright.or.kr/user/main/main.do">저작권e배움터</a></li>
|
||||||
<li><a href="https://edu-copyright.or.kr/dsprUser/main/main.do">장애인e배움터</a></li>
|
<li><a href="https://edu-copyright.or.kr/dsprUser/main/main.do">장애인e배움터</a></li>
|
||||||
<li class="on"><a href="https://www.edu-copyright.or.kr/offedu/web/main/mainPage.do">저작권배움터</a></li>
|
<li class="on"><a href="https://edu-copyright.or.kr/offedu/web/main/mainPage.do">저작권배움터</a></li> -->
|
||||||
|
<li><a href="#goLink" onclick="goLink('portal');return false;" onkeypress="this.onclick;">포털사이트</a></li>
|
||||||
|
<li><a href="#goEEdu" onclick="goEEdu();return false;" onkeypress="this.onclick;">저작권e배움터</a></li>
|
||||||
|
<li><a href="#goLink" onclick="goLink('dsprUser');return false;" onkeypress="this.onclick;">장애인e배움터</a></li>
|
||||||
|
<li class="on"><a href="#goLink" onclick="goLink('offedu');return false;" onkeypress="this.onclick;">저작권배움터</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<!--<div class="area_left">
|
<!--<div class="area_left">
|
||||||
|
|||||||
@ -543,42 +543,6 @@
|
|||||||
alert("강의주제를 입력해주세요");
|
alert("강의주제를 입력해주세요");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if($("input[name=lctrDay]").val() == ''){
|
|
||||||
alert("날짜를 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrStrtH').val() == ''){
|
|
||||||
alert("시작시간을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrStrtM').val() == ''){
|
|
||||||
alert("시작 분을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrEndH').val() == ''){
|
|
||||||
alert("시작시간을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrEndM').val() == ''){
|
|
||||||
alert("시작 분을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrPlace').val() == ''){
|
|
||||||
alert("장소를 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#lctrTrgt').val() == ''){
|
|
||||||
alert("교육장소를 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#nos').val() == ''){
|
|
||||||
alert("인원을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if($('#instrNm').val() == ''){
|
|
||||||
alert("강사명(소속)을 입력해주세요");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
//첨부파일 체크 및 요청
|
//첨부파일 체크 및 요청
|
||||||
if(confirm("양식을 업로드 하시겠습니까?")){
|
if(confirm("양식을 업로드 하시겠습니까?")){
|
||||||
if(control.getUploadFiles().length > 0){
|
if(control.getUploadFiles().length > 0){
|
||||||
@ -1556,62 +1520,35 @@
|
|||||||
<input type="text" id="lctrSbjct" name="lctrSbjct" placeholder="대학생이 알아야할 저작권">
|
<input type="text" id="lctrSbjct" name="lctrSbjct" placeholder="대학생이 알아야할 저작권">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<c:forEach var="list" items="${chasiList}" varStatus="status">
|
||||||
<th scope="row">
|
<tr>
|
||||||
<p>강의날짜</p>
|
<th scope="row">
|
||||||
</th>
|
<p>강의날짜</p>
|
||||||
<td colspan="3">
|
</th>
|
||||||
<div class="btn_wrap">
|
<td colspan="3">
|
||||||
<div class="calendar_wrap">
|
<c:out value="${list.eduHopeDt}"/>
|
||||||
<%-- <input type="text" class="calendar" id="searchStartDt" name="searchStartDt" title="시작일 선택" value="${vEEduAplctVO.searchStartDt}"> --%>
|
</td>
|
||||||
<duet-date-picker identifier="date" name="lctrDay" class="startDate" value=""></duet-date-picker>
|
</tr>
|
||||||
</div>
|
<tr>
|
||||||
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/duetdatepicker.js"></script>
|
<th scope="row">
|
||||||
</div>
|
<p>강의시간</p>
|
||||||
</td>
|
</th>
|
||||||
</tr>
|
<td colspan="3">
|
||||||
<tr>
|
<fmt:parseDate value="${list.strtTm}" var="strtTm" pattern="kkmm"/>
|
||||||
<th scope="row">
|
<fmt:formatDate value="${strtTm}" pattern="kk:mm"/>
|
||||||
<p>강의시간</p>
|
|
||||||
</th>
|
|
||||||
<td colspan="3">
|
|
||||||
<div class="btn_wrap">
|
|
||||||
<!-- Hours (시) Dropdown -->
|
|
||||||
<select id="lctrStrtH" name="lctrStrtH" class="selType1">
|
|
||||||
<c:forEach var="hour" begin="0" end="23">
|
|
||||||
<option value="${hour < 10 ? '0' : ''}${hour}">${hour < 10 ? '0' : ''}${hour}시</option>
|
|
||||||
</c:forEach>
|
|
||||||
</select>
|
|
||||||
:
|
|
||||||
<!-- Minutes (분) Dropdown -->
|
|
||||||
<select id="lctrStrtM" name="lctrStrtM" class="selType1">
|
|
||||||
<c:forEach var="minute" begin="0" end="59" step="1">
|
|
||||||
<option value="${minute < 10 ? '0' : ''}${minute}">${minute < 10 ? '0' : ''}${minute}분</option>
|
|
||||||
</c:forEach>
|
|
||||||
</select>
|
|
||||||
~
|
~
|
||||||
<!-- Hours (시) Dropdown -->
|
<fmt:parseDate value="${list.endTm}" var="endTm" pattern="kkmm"/>
|
||||||
<select id="lctrEndH" name="lctrEndH" class="selType1">
|
<fmt:formatDate value="${endTm}" pattern="kk:mm"/>
|
||||||
<c:forEach var="hour" begin="0" end="23">
|
(${list.lrnTm}분)
|
||||||
<option value="${hour < 10 ? '0' : ''}${hour}">${hour < 10 ? '0' : ''}${hour}시</option>
|
</td>
|
||||||
</c:forEach>
|
</tr>
|
||||||
</select>
|
</c:forEach>
|
||||||
:
|
|
||||||
<!-- Minutes (분) Dropdown -->
|
|
||||||
<select id="lctrEndM" name="lctrEndM" class="selType1">
|
|
||||||
<c:forEach var="minute" begin="0" end="59" step="1">
|
|
||||||
<option value="${minute < 10 ? '0' : ''}${minute}">${minute < 10 ? '0' : ''}${minute}분</option>
|
|
||||||
</c:forEach>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">
|
<th scope="row">
|
||||||
<p>장 소</p>
|
<p>장 소</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<input type="text" id="lctrPlace" name="lctrPlace" placeholder="서울~, 온라인 실시간 교육(ZOOM) 등">
|
<c:out value="(${info.post}) ${info.addr} ${info.addrDetail}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1619,7 +1556,7 @@
|
|||||||
<p>교육대상</p>
|
<p>교육대상</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<input type="text" id="lctrTrgt" name="lctrTrgt" placeholder="예) 대학 교수">
|
<c:out value="${info.eduTrgt}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1627,7 +1564,7 @@
|
|||||||
<p>인 원</p>
|
<p>인 원</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<input type="text" id="nos" name="nos" numberOnly placeholder="30">
|
<c:out value="${info.eduPrsnl}"/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1635,7 +1572,16 @@
|
|||||||
<p>강사명(소속)</p>
|
<p>강사명(소속)</p>
|
||||||
</th>
|
</th>
|
||||||
<td colspan="3">
|
<td colspan="3">
|
||||||
<input type="text" id="instrNm" name="instrNm" placeholder="창작이교수(저작권대학교)">
|
<c:forEach var="list" items="${chasiList}" varStatus="status">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${empty list.instrNm }">
|
||||||
|
-
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<c:out value="${list.instrNm}(${list.blng})"/>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</c:forEach>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user