--- base/src/main/java/egovframework/com/front/cop/bbs/web/BBSManageController.java
+++ base/src/main/java/egovframework/com/front/cop/bbs/web/BBSManageController.java
... | ... | @@ -52,8 +52,8 @@ |
| 52 | 52 |
@Resource(name = "bbsAttributeManageService") |
| 53 | 53 |
private BBSAttributeManageService bbsAttrbService; |
| 54 | 54 |
|
| 55 |
- @Resource(name = "bbsCtgryService") |
|
| 56 |
- private BBSCtgryService ctgryService; |
|
| 55 |
+ @Resource(name = "ctgryService") |
|
| 56 |
+ private CtgryService ctgryService; |
|
| 57 | 57 |
|
| 58 | 58 |
@Resource(name = "siteManageService") |
| 59 | 59 |
SiteManageService siteManageService; |
... | ... | @@ -77,7 +77,7 @@ |
| 77 | 77 |
private IndvdlestbsService indvdlestbsService; |
| 78 | 78 |
|
| 79 | 79 |
@Resource(name = "bbsCtgryMasterService") |
| 80 |
- private BBSCtgryMasterService bbsCtgryMasterService; |
|
| 80 |
+ private CtgryMasterService bbsCtgryMasterService; |
|
| 81 | 81 |
|
| 82 | 82 |
/** EgovPropertyService */ |
| 83 | 83 |
@Resource(name = "propertiesService") |
--- base/src/main/java/egovframework/com/front/cop/cmy/web/BBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/front/cop/cmy/web/BBSAttributeManageController.java
... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 |
|
| 17 | 17 |
import egovframework.com.cmm.service.CmmUseService; |
| 18 | 18 |
import egovframework.module.cop.bbs.service.BoardMasterVO; |
| 19 |
-import egovframework.module.cop.bbs.service.BBSCtgryMasterService; |
|
| 19 |
+import egovframework.module.cop.bbs.service.CtgryMasterService; |
|
| 20 | 20 |
import egovframework.module.cop.bbs.service.BBSAttributeManageService; |
| 21 | 21 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 22 | 22 |
import egovframework.module.sym.ccm.cde.service.CmmnDetailCodeVO; |
... | ... | @@ -40,7 +40,7 @@ |
| 40 | 40 |
private CmmUseService cmmUseService; |
| 41 | 41 |
|
| 42 | 42 |
@Resource(name = "bbsCtgryMasterService") |
| 43 |
- private BBSCtgryMasterService bbsCtgryMasterService; |
|
| 43 |
+ private CtgryMasterService bbsCtgryMasterService; |
|
| 44 | 44 |
|
| 45 | 45 |
@Resource(name = "propertiesService") |
| 46 | 46 |
protected EgovPropertyService propertyService; |
--- base/src/main/java/egovframework/com/front/cop/cmy/web/BBSManageController.java
+++ base/src/main/java/egovframework/com/front/cop/cmy/web/BBSManageController.java
... | ... | @@ -50,8 +50,8 @@ |
| 50 | 50 |
@Resource(name = "bbsAttributeManageService") |
| 51 | 51 |
private BBSAttributeManageService bbsAttrbService; |
| 52 | 52 |
|
| 53 |
- @Resource(name = "bbsCtgryService") |
|
| 54 |
- private BBSCtgryService ctgryService; |
|
| 53 |
+ @Resource(name = "ctgryService") |
|
| 54 |
+ private CtgryService ctgryService; |
|
| 55 | 55 |
|
| 56 | 56 |
@Resource(name = "siteManageService") |
| 57 | 57 |
SiteManageService siteManageService; |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSAttributeManageController.java
... | ... | @@ -18,7 +18,7 @@ |
| 18 | 18 |
|
| 19 | 19 |
import egovframework.com.cmm.service.CmmUseService; |
| 20 | 20 |
import egovframework.module.cop.bbs.service.BoardMasterVO; |
| 21 |
-import egovframework.module.cop.bbs.service.BBSCtgryMasterService; |
|
| 21 |
+import egovframework.module.cop.bbs.service.CtgryMasterService; |
|
| 22 | 22 |
import egovframework.module.cop.bbs.service.BBSAttributeManageService; |
| 23 | 23 |
import egovframework.module.cop.com.service.BbsSourcService; |
| 24 | 24 |
import egovframework.module.cop.com.service.BbsSourcVO; |
... | ... | @@ -46,7 +46,7 @@ |
| 46 | 46 |
private AuthorManageService egovAuthorManageService; |
| 47 | 47 |
|
| 48 | 48 |
@Resource(name = "bbsCtgryMasterService") |
| 49 |
- private BBSCtgryMasterService bbsCtgryMasterService; |
|
| 49 |
+ private CtgryMasterService bbsCtgryMasterService; |
|
| 50 | 50 |
|
| 51 | 51 |
@Resource(name = "bbsTmplatService") |
| 52 | 52 |
private BbsTmplatService bbsTmplatService; |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSManageController.java
... | ... | @@ -49,8 +49,8 @@ |
| 49 | 49 |
@Resource(name = "bbsAttributeManageService") |
| 50 | 50 |
private BBSAttributeManageService bbsAttrbService; |
| 51 | 51 |
|
| 52 |
- @Resource(name = "bbsCtgryService") |
|
| 53 |
- private BBSCtgryService ctgryService; |
|
| 52 |
+ @Resource(name = "ctgryService") |
|
| 53 |
+ private CtgryService ctgryService; |
|
| 54 | 54 |
|
| 55 | 55 |
@Resource(name = "fileMngService") |
| 56 | 56 |
private FileMngService fileMngService; |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSCtgryController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/CtgryController.java
... | ... | @@ -10,15 +10,15 @@ |
| 10 | 10 |
import org.springframework.web.bind.annotation.ModelAttribute; |
| 11 | 11 |
import org.springframework.web.bind.annotation.RequestMapping; |
| 12 | 12 |
|
| 13 |
-import egovframework.module.cop.bbs.service.BBSCtgryService; |
|
| 13 |
+import egovframework.module.cop.bbs.service.CtgryService; |
|
| 14 | 14 |
import egovframework.rte.fdl.property.EgovPropertyService; |
| 15 | 15 |
|
| 16 | 16 |
//카테고리 |
| 17 | 17 |
@Controller |
| 18 |
-public class BBSCtgryController {
|
|
| 18 |
+public class CtgryController {
|
|
| 19 | 19 |
|
| 20 |
- @Resource(name = "bbsCtgryService") |
|
| 21 |
- private BBSCtgryService bbsCtgryService; |
|
| 20 |
+ @Resource(name = "ctgryService") |
|
| 21 |
+ private CtgryService bbsCtgryService; |
|
| 22 | 22 |
|
| 23 | 23 |
/** EgovPropertyService */ |
| 24 | 24 |
@Resource(name = "propertiesService") |
... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 |
|
| 31 | 31 |
model.addAttribute("resultList", bbsCtgryService.selectComtnbbsctgryList(searchVO));
|
| 32 | 32 |
|
| 33 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryList"; |
|
| 33 |
+ return "/mng/cop/bbs/ctg/CtgryList"; |
|
| 34 | 34 |
} |
| 35 | 35 |
|
| 36 | 36 |
@RequestMapping("/mng/cop/bbs/ctg/addBBSCtgry.do")
|
... | ... | @@ -42,7 +42,7 @@ |
| 42 | 42 |
|
| 43 | 43 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 44 | 44 |
|
| 45 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryRegist"; |
|
| 45 |
+ return "/mng/cop/bbs/ctg/CtgryRegist"; |
|
| 46 | 46 |
} |
| 47 | 47 |
|
| 48 | 48 |
@RequestMapping("/mng/cop/bbs/ctg/insertBBSCtgry.do")
|
... | ... | @@ -68,7 +68,7 @@ |
| 68 | 68 |
|
| 69 | 69 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 70 | 70 |
|
| 71 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryRegist"; |
|
| 71 |
+ return "/mng/cop/bbs/ctg/CtgryRegist"; |
|
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 | 74 |
@RequestMapping("/mng/cop/bbs/ctg/updateBBSCtgry.do")
|
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSCtgryMasterController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/CtgryMasterController.java
... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 |
import org.springframework.web.bind.annotation.ModelAttribute; |
| 16 | 16 |
import org.springframework.web.bind.annotation.RequestMapping; |
| 17 | 17 |
|
| 18 |
-import egovframework.module.cop.bbs.service.BBSCtgryMasterService; |
|
| 18 |
+import egovframework.module.cop.bbs.service.CtgryMasterService; |
|
| 19 | 19 |
import egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper; |
| 20 | 20 |
import egovframework.module.uat.uia.service.LoginVO; |
| 21 | 21 |
import egovframework.rte.fdl.property.EgovPropertyService; |
... | ... | @@ -24,10 +24,10 @@ |
| 24 | 24 |
|
| 25 | 25 |
//카테고리관리 |
| 26 | 26 |
@Controller |
| 27 |
-public class BBSCtgryMasterController {
|
|
| 27 |
+public class CtgryMasterController {
|
|
| 28 | 28 |
|
| 29 | 29 |
@Resource(name = "bbsCtgryMasterService") |
| 30 |
- private BBSCtgryMasterService bbsCtgryMasterService; |
|
| 30 |
+ private CtgryMasterService bbsCtgryMasterService; |
|
| 31 | 31 |
|
| 32 | 32 |
/** EgovPropertyService */ |
| 33 | 33 |
@Resource(name = "propertiesService") |
... | ... | @@ -74,7 +74,7 @@ |
| 74 | 74 |
} |
| 75 | 75 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 76 | 76 |
|
| 77 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterList"; |
|
| 77 |
+ return "/mng/cop/bbs/ctg/CtgryMasterList"; |
|
| 78 | 78 |
} |
| 79 | 79 |
|
| 80 | 80 |
@RequestMapping("/mng/cop/bbs/ctg/addBBSCtgryMaster.do")
|
... | ... | @@ -86,7 +86,7 @@ |
| 86 | 86 |
|
| 87 | 87 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 88 | 88 |
|
| 89 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterRegist"; |
|
| 89 |
+ return "/mng/cop/bbs/ctg/CtgryMasterRegist"; |
|
| 90 | 90 |
} |
| 91 | 91 |
|
| 92 | 92 |
@RequestMapping("/mng/cop/bbs/ctg/insertBBSCtgryMaster.do")
|
... | ... | @@ -131,7 +131,7 @@ |
| 131 | 131 |
|
| 132 | 132 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 133 | 133 |
|
| 134 |
- return "/mng/cop/bbs/ctg/EgovBBSCtgryMasterRegist"; |
|
| 134 |
+ return "/mng/cop/bbs/ctg/CtgryMasterRegist"; |
|
| 135 | 135 |
} |
| 136 | 136 |
|
| 137 | 137 |
@RequestMapping("/mng/cop/bbs/ctg/updateBBSCtgryMaster.do")
|
--- base/src/main/java/egovframework/module/cop/bbs/service/BBSCtgryMasterService.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/CtgryMasterService.java
... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 |
import java.util.List; |
| 4 | 4 |
|
| 5 | 5 |
//카테고리마스터 Service |
| 6 |
-public interface BBSCtgryMasterService {
|
|
| 6 |
+public interface CtgryMasterService {
|
|
| 7 | 7 |
|
| 8 | 8 |
//COMTNBBSCTGRYMASTER을 등록한다. |
| 9 | 9 |
String insertComtnbbsctgrymaster(CtgryMasterVO vo) throws Exception; |
--- base/src/main/java/egovframework/module/cop/bbs/service/BBSCtgryService.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/CtgryService.java
... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 |
import java.util.List; |
| 4 | 4 |
|
| 5 | 5 |
//카테고리 |
| 6 |
-public interface BBSCtgryService {
|
|
| 6 |
+public interface CtgryService {
|
|
| 7 | 7 |
|
| 8 | 8 |
//COMTNBBSCTGRY을 등록한다. |
| 9 | 9 |
String insertComtnbbsctgry(CtgryVO vo) throws Exception; |
--- base/src/main/java/egovframework/module/cop/bbs/service/impl/BBSCtgryMapper.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/impl/CtgryMapper.java
... | ... | @@ -6,8 +6,8 @@ |
| 6 | 6 |
import java.util.List; |
| 7 | 7 |
|
| 8 | 8 |
//카테고리 |
| 9 |
-@Mapper("bbsCtgryMapper")
|
|
| 10 |
-public interface BBSCtgryMapper {
|
|
| 9 |
+@Mapper("ctgryMapper")
|
|
| 10 |
+public interface CtgryMapper {
|
|
| 11 | 11 |
|
| 12 | 12 |
//COMTNBBSCTGRY을 등록한다. 1 |
| 13 | 13 |
public int insertComtnbbsctgry(CtgryVO vo) throws Exception; |
--- base/src/main/java/egovframework/module/cop/bbs/service/impl/BBSCtgryMasterMapper.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/impl/CtgryMasterMapper.java
... | ... | @@ -5,9 +5,9 @@ |
| 5 | 5 |
|
| 6 | 6 |
import java.util.List; |
| 7 | 7 |
|
| 8 |
-//게시판 속성정보 관리를 위한 데이터 접근 클래스 |
|
| 9 |
-@Mapper("bbsCtgryMasterMapper")
|
|
| 10 |
-public interface BBSCtgryMasterMapper {
|
|
| 8 |
+//카테고리마스터 관리를 위한 데이터 접근 클래스 |
|
| 9 |
+@Mapper("ctgryMasterMapper")
|
|
| 10 |
+public interface CtgryMasterMapper {
|
|
| 11 | 11 |
|
| 12 | 12 |
//COMTNBBSCTGRYMASTER을 등록한다. |
| 13 | 13 |
public void insertComtnbbsctgrymaster(CtgryMasterVO vo) throws Exception; |
--- base/src/main/java/egovframework/module/cop/bbs/service/impl/BBSCtgryMasterServiceImpl.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/impl/CtgryMasterServiceImpl.java
... | ... | @@ -4,8 +4,8 @@ |
| 4 | 4 |
|
| 5 | 5 |
import javax.annotation.Resource; |
| 6 | 6 |
|
| 7 |
-import egovframework.module.cop.bbs.service.BBSCtgryMasterService; |
|
| 8 |
-import egovframework.module.cop.bbs.service.BBSCtgryService; |
|
| 7 |
+import egovframework.module.cop.bbs.service.CtgryMasterService; |
|
| 8 |
+import egovframework.module.cop.bbs.service.CtgryService; |
|
| 9 | 9 |
import egovframework.module.cop.bbs.service.CtgryMasterVO; |
| 10 | 10 |
import egovframework.module.cop.bbs.service.CtgryVO; |
| 11 | 11 |
import org.springframework.stereotype.Service; |
... | ... | @@ -15,13 +15,13 @@ |
| 15 | 15 |
|
| 16 | 16 |
|
| 17 | 17 |
@Service("bbsCtgryMasterService")
|
| 18 |
-public class BBSCtgryMasterServiceImpl extends EgovAbstractServiceImpl implements BBSCtgryMasterService {
|
|
| 18 |
+public class CtgryMasterServiceImpl extends EgovAbstractServiceImpl implements CtgryMasterService {
|
|
| 19 | 19 |
|
| 20 |
- @Resource(name="bbsCtgryMasterMapper") |
|
| 21 |
- private BBSCtgryMasterMapper bbsCtgryMasterMapper; |
|
| 20 |
+ @Resource(name="ctgryMasterMapper") |
|
| 21 |
+ private CtgryMasterMapper bbsCtgryMasterMapper; |
|
| 22 | 22 |
|
| 23 |
- @Resource(name = "bbsCtgryService") |
|
| 24 |
- private BBSCtgryService bbsCtgryService; |
|
| 23 |
+ @Resource(name = "ctgryService") |
|
| 24 |
+ private CtgryService bbsCtgryService; |
|
| 25 | 25 |
|
| 26 | 26 |
/** ID Generation */ |
| 27 | 27 |
@Resource(name="bbsCtgryMstrIdGnrService") |
--- base/src/main/java/egovframework/module/cop/bbs/service/impl/BBSCtgryServiceImpl.java
+++ base/src/main/java/egovframework/module/cop/bbs/service/impl/CtgryServiceImpl.java
... | ... | @@ -8,16 +8,16 @@ |
| 8 | 8 |
|
| 9 | 9 |
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; |
| 10 | 10 |
import egovframework.rte.fdl.idgnr.EgovIdGnrService; |
| 11 |
-import egovframework.module.cop.bbs.service.BBSCtgryService; |
|
| 11 |
+import egovframework.module.cop.bbs.service.CtgryService; |
|
| 12 | 12 |
import egovframework.module.cop.bbs.service.CtgryVO; |
| 13 | 13 |
import egovframework.module.utl.fcc.service.EgovStringUtil; |
| 14 | 14 |
|
| 15 | 15 |
//카테고리 |
| 16 |
-@Service("bbsCtgryService")
|
|
| 17 |
-public class BBSCtgryServiceImpl extends EgovAbstractServiceImpl implements BBSCtgryService {
|
|
| 16 |
+@Service("ctgryService")
|
|
| 17 |
+public class CtgryServiceImpl extends EgovAbstractServiceImpl implements CtgryService {
|
|
| 18 | 18 |
|
| 19 |
- @Resource(name="bbsCtgryMapper") |
|
| 20 |
- private BBSCtgryMapper bbsCtgryMapper; |
|
| 19 |
+ @Resource(name="ctgryMapper") |
|
| 20 |
+ private CtgryMapper bbsCtgryMapper; |
|
| 21 | 21 |
|
| 22 | 22 |
/** ID Generation */ |
| 23 | 23 |
@Resource(name="egovBbsCtgryIdGnrService") |
--- base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnCodeManage_SQL.xml
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnCodeManage_SQL.xml
... | ... | @@ -3,32 +3,28 @@ |
| 3 | 3 |
<mapper namespace="egovframework.module.sym.ccm.cca.service.impl.CmmnCodeManageMapper"> |
| 4 | 4 |
|
| 5 | 5 |
<select id="selectCmmnCodeList" parameterType="egovframework.module.sym.ccm.cca.service.CmmnCodeVO" resultType="egovMap"> |
| 6 |
- SELECT * FROM ( |
|
| 7 |
- SELECT (@rownum := @rownum + 1) AS RNUM ,TB.* FROM ( |
|
| 8 |
- SELECT B.CL_CODE_NM |
|
| 9 |
- , A.CODE_ID |
|
| 10 |
- , A.CODE_ID_NM |
|
| 11 |
- , A.USE_AT |
|
| 12 |
- , ( |
|
| 13 |
- SELECT COUNT(CODE_ID) FROM comtccmmndetailcode WHERE CODE_ID=A.CODE_ID AND USE_AT = 'Y' |
|
| 14 |
- ) AS CODE_CNT |
|
| 15 |
- , A.FRST_REGISTER_PNTTM |
|
| 16 |
- FROM comtccmmncode A |
|
| 17 |
- , comtccmmnclcode B |
|
| 18 |
- |
|
| 19 |
- <include refid="selectCmmnCodeListWhere"></include> |
|
| 20 |
- |
|
| 21 |
- ORDER BY A.FRST_REGISTER_PNTTM DESC |
|
| 22 |
- ) TB |
|
| 23 |
- , (SELECT @rownum := 0) rownum |
|
| 24 |
- ) X |
|
| 6 |
+ SELECT B.CL_CODE_NM |
|
| 7 |
+ , A.CODE_ID |
|
| 8 |
+ , A.CODE_ID_NM |
|
| 9 |
+ , A.USE_AT |
|
| 10 |
+ , ( |
|
| 11 |
+ SELECT COUNT(CODE_ID) FROM comtccmmndetailcode WHERE CODE_ID=A.CODE_ID AND USE_AT = 'Y' |
|
| 12 |
+ ) AS CODE_CNT |
|
| 13 |
+ , A.FRST_REGISTER_PNTTM |
|
| 14 |
+ FROM comtccmmncode A |
|
| 15 |
+ , comtccmmnclcode B |
|
| 16 |
+ |
|
| 17 |
+ <include refid="selectCmmnCodeListWhere"></include> |
|
| 18 |
+ |
|
| 19 |
+ ORDER BY A.FRST_REGISTER_PNTTM DESC |
|
| 25 | 20 |
LIMIT #{recordCountPerPage} OFFSET #{firstIndex}
|
| 26 | 21 |
</select> |
| 27 | 22 |
|
| 28 | 23 |
<select id="selectCmmnCodeListTotCnt" parameterType="egovframework.module.sym.ccm.cca.service.CmmnCodeVO" resultType="int"> |
| 29 |
- SELECT COUNT(*) totcnt |
|
| 30 |
- FROM comtccmmncode A |
|
| 31 |
- , comtccmmnclcode B |
|
| 24 |
+ SELECT |
|
| 25 |
+ COUNT(*) totcnt |
|
| 26 |
+ FROM comtccmmncode A |
|
| 27 |
+ , comtccmmnclcode B |
|
| 32 | 28 |
|
| 33 | 29 |
<include refid="selectCmmnCodeListWhere"></include> |
| 34 | 30 |
</select> |
... | ... | @@ -38,7 +34,7 @@ |
| 38 | 34 |
A.CL_CODE = B.CL_CODE |
| 39 | 35 |
<choose> |
| 40 | 36 |
<when test='searchCondition == "1"'> |
| 41 |
- AND A.CODE_ID = #{searchKeyword}
|
|
| 37 |
+ AND A.CODE_ID LIKE CONCAT('%', #{searchKeyword}, '%')
|
|
| 42 | 38 |
</when> |
| 43 | 39 |
<when test='searchCondition == "2"'> |
| 44 | 40 |
AND A.CODE_ID_NM LIKE CONCAT('%', #{searchKeyword}, '%')
|
--- base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnDetailCodeManage_SQL.xml
+++ base/src/main/resources/egovframework/mapper/mysql/cmm/sym/ccm/CmmnDetailCodeManage_SQL.xml
... | ... | @@ -3,23 +3,18 @@ |
| 3 | 3 |
<mapper namespace="egovframework.module.sym.ccm.cde.service.impl.CmmnDetailCodeManageMapper"> |
| 4 | 4 |
|
| 5 | 5 |
<select id="selectCmmnDetailCodeList" parameterType="egovframework.module.sym.ccm.cde.service.CmmnDetailCodeVO" resultType="egovMap"> |
| 6 |
- SELECT * FROM ( |
|
| 7 |
- SELECT (@rownum := @rownum + 1) AS RNUM ,TB.* FROM ( |
|
| 8 |
- SELECT A.CODE_ID |
|
| 9 |
- , A.CODE |
|
| 10 |
- , A.CODE_NM |
|
| 11 |
- , A.USE_AT |
|
| 12 |
- , A.FRST_REGISTER_PNTTM |
|
| 13 |
- FROM comtccmmndetailcode A |
|
| 14 |
- , comtccmmncode B |
|
| 15 |
- |
|
| 16 |
- <include refid="selectCmmnDetailCodeListWhere"></include> |
|
| 17 |
- |
|
| 18 |
- ) TB |
|
| 19 |
- , (SELECT @rownum := 0) rownum |
|
| 20 |
- ORDER BY CAST(TB.CODE AS unsigned) ASC |
|
| 21 |
- ) X |
|
| 22 |
- LIMIT #{recordCountPerPage} OFFSET #{firstIndex}
|
|
| 6 |
+ SELECT A.CODE_ID |
|
| 7 |
+ , A.CODE |
|
| 8 |
+ , A.CODE_NM |
|
| 9 |
+ , A.USE_AT |
|
| 10 |
+ , A.FRST_REGISTER_PNTTM |
|
| 11 |
+ FROM comtccmmndetailcode A |
|
| 12 |
+ , comtccmmncode B |
|
| 13 |
+ |
|
| 14 |
+ <include refid="selectCmmnDetailCodeListWhere"></include> |
|
| 15 |
+ |
|
| 16 |
+ ORDER BY CAST(A.CODE AS unsigned) ASC |
|
| 17 |
+ LIMIT #{recordCountPerPage} OFFSET #{firstIndex}
|
|
| 23 | 18 |
</select> |
| 24 | 19 |
|
| 25 | 20 |
<select id="selectCmmnDetailCodeListTotCnt" parameterType="egovframework.module.sym.ccm.cde.service.CmmnDetailCodeVO" resultType="int"> |
... | ... | @@ -38,7 +33,7 @@ |
| 38 | 33 |
</if> |
| 39 | 34 |
<choose> |
| 40 | 35 |
<when test='searchCondition == "1"'> |
| 41 |
- AND A.CODE_ID = #{searchKeyword}
|
|
| 36 |
+ AND A.CODE_ID LIKE CONCAT('%', #{searchKeyword}, '%')
|
|
| 42 | 37 |
</when> |
| 43 | 38 |
<when test='searchCondition == "2"'> |
| 44 | 39 |
AND A.CODE LIKE CONCAT('%', #{searchKeyword}, '%')
|
--- base/src/main/resources/egovframework/mapper/mysql/cop/bbs/BBSCtgryMaster_SQL.xml
+++ base/src/main/resources/egovframework/mapper/mysql/cop/bbs/BBSCtgryMaster_SQL.xml
... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 | 2 |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| 3 |
-<mapper namespace="egovframework.module.cop.bbs.service.impl.BBSCtgryMasterMapper"> |
|
| 3 |
+<mapper namespace="egovframework.module.cop.bbs.service.impl.CtgryMasterMapper"> |
|
| 4 | 4 |
|
| 5 | 5 |
<resultMap id="comtnbbsctgrymaster" type="egovframework.module.cop.bbs.service.CtgryMasterVO"> |
| 6 | 6 |
<result property="siteId" column="SITE_ID"/> |
--- base/src/main/resources/egovframework/mapper/mysql/cop/bbs/BBSCtgry_SQL.xml
+++ base/src/main/resources/egovframework/mapper/mysql/cop/bbs/BBSCtgry_SQL.xml
... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 | 2 |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| 3 |
-<mapper namespace="egovframework.module.cop.bbs.service.impl.BBSCtgryMapper"> |
|
| 3 |
+<mapper namespace="egovframework.module.cop.bbs.service.impl.CtgryMapper"> |
|
| 4 | 4 |
|
| 5 | 5 |
<resultMap id="comtnbbsctgry" type="egovframework.module.cop.bbs.service.CtgryVO"> |
| 6 | 6 |
<result property="ctgryId" column="CTGRY_ID"/> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrList.jsp
... | ... | @@ -1,14 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 6 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> |
|
| 7 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 8 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 9 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 10 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 12 | 3 |
|
| 13 | 4 |
<% /*URL 정의*/ %> |
| 14 | 5 |
<c:url var="_BASE_PARAM" value=""> |
... | ... | @@ -45,7 +36,7 @@ |
| 45 | 36 |
</c:otherwise> |
| 46 | 37 |
</c:choose> |
| 47 | 38 |
|
| 48 |
-<script type="text/javascript"> |
|
| 39 |
+<script> |
|
| 49 | 40 |
function fnBBS_Manage(url) {
|
| 50 | 41 |
var win = window.open(url ,'bbs',' scrollbars=yes, resizable=yes, left=0, top=0, width=1100,height=750'); |
| 51 | 42 |
if(win != null) {
|
... | ... | @@ -70,130 +61,112 @@ |
| 70 | 61 |
opener.fn_egov_updateBbsList(id, nm); |
| 71 | 62 |
} |
| 72 | 63 |
</script> |
| 73 |
-<div id="cntnts"> |
|
| 74 |
-<c:if test="${searchVO.selectMode ne 'Y' and USER_INFO.userSe > 10}">
|
|
| 64 |
+ |
|
| 65 |
+<c:if test="${USER_INFO.userSe > 10}">
|
|
| 75 | 66 |
<form name="SiteListForm" action="${pageContext.request.contextPath}/mng/cop/bbs/SelectBBSMasterInfs.do?trgetId=${searchVO.trgetId}" method="post">
|
| 76 |
- <div id="bbs_search"> |
|
| 77 |
- <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 78 |
- </div> |
|
| 67 |
+ <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 79 | 68 |
</form> |
| 80 |
-</c:if> |
|
| 81 |
-<p class="total">총 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 82 |
- |
|
| 83 |
- <table class="chart_board"> |
|
| 84 |
- <colgroup> |
|
| 85 |
- <col class="co1"/> |
|
| 86 |
- <col class="co3"/> |
|
| 87 |
- <col class="co6"/> |
|
| 88 |
- <col class="co6"/> |
|
| 89 |
- <col class="co6"/> |
|
| 90 |
- <col class="co6"/> |
|
| 91 |
- <col class="co6"/> |
|
| 92 |
- <c:if test="${searchVO.selectMode eq 'Y'}"><col class="co6"/></c:if>
|
|
| 93 |
- </colgroup> |
|
| 94 |
- <caption class="hdn">게시판관리</caption> |
|
| 95 |
- <thead> |
|
| 96 |
- <tr> |
|
| 97 |
- <th>번호</th> |
|
| 98 |
- <th>게시판명</th> |
|
| 99 |
- <th>코멘트사용</th> |
|
| 100 |
- <th>사용여부</th> |
|
| 101 |
- <th>게시글관리</th> |
|
| 102 |
- <th>생성일</th> |
|
| 103 |
- <th>관리</th> |
|
| 104 |
- <c:if test="${searchVO.selectMode eq 'Y'}"><th>선택</th></c:if>
|
|
| 105 |
- </tr> |
|
| 106 |
- </thead> |
|
| 107 |
- <tbody> |
|
| 108 |
- |
|
| 69 |
+</c:if> |
|
| 109 | 70 |
|
| 110 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 111 |
- <tr> |
|
| 112 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 113 |
- <td class="tit"><c:out value="${result.bbsNm}"/></td>
|
|
| 114 |
- <td> |
|
| 115 |
- <c:if test="${result.commentUseAt == 'Y'}">
|
|
| 116 |
- <img src="${_IMG}/btn/use_yes.gif"/>
|
|
| 117 |
- </c:if> |
|
| 118 |
- <c:if test="${result.commentUseAt == 'N'}">
|
|
| 119 |
- <img src="${_IMG}/btn/use_no.gif"/>
|
|
| 120 |
- </c:if> |
|
| 121 |
- </td> |
|
| 122 |
- <td> |
|
| 123 |
- <c:if test="${result.svcAt == 'Y'}">
|
|
| 124 |
- <img src="${_IMG}/btn/use_yes.gif"/>
|
|
| 125 |
- </c:if> |
|
| 126 |
- <c:if test="${result.svcAt == 'N'}">
|
|
| 127 |
- <img src="${_IMG}/btn/use_no.gif"/>
|
|
| 128 |
- </c:if> |
|
| 129 |
- </td> |
|
| 130 |
- <td> |
|
| 131 |
- <c:url var="manageUrl" value="/mng/cop/bbs/selectBoardList.do${_BASE_PARAM}">
|
|
| 132 |
- <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 133 |
- </c:url> |
|
| 134 |
- <a href="${manageUrl}" onclick="fnBBS_Manage(this.href);return false;"><img src="${_IMG}/btn/btn_letter.gif"/></a>
|
|
| 135 |
- </td> |
|
| 136 |
- <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 137 |
- <td> |
|
| 138 |
- <c:url var="viewUrl" value="/mng/cop/bbs/SelectBBSMasterInf.do${_PAGE_PARAM}">
|
|
| 139 |
- <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 140 |
- <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 141 |
- </c:url> |
|
| 142 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 143 |
- <c:url var="delUrl" value="/mng/cop/bbs/DeleteBBSMasterInf.do${_PAGE_PARAM}">
|
|
| 144 |
- <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 145 |
- <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 146 |
- </c:url> |
|
| 147 |
- <a href="${delUrl}" onclick="fn_egov_delete_brdMstr(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 148 |
- </td> |
|
| 149 |
- <c:if test="${searchVO.selectMode eq 'Y'}"><td><a href="#" onclick="fn_egov_selectBbsList('<c:out value="${result.bbsId}"/>', '<c:out value="${result.bbsNm}"/>');return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td></c:if>
|
|
| 150 |
- </tr> |
|
| 151 |
- </c:forEach> |
|
| 71 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 152 | 72 |
|
| 153 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 154 |
- <tr> |
|
| 155 |
- <td class="listCenter" colspan="8"><spring:message code="common.nodata.msg" /></td> |
|
| 156 |
- </tr> |
|
| 157 |
- </c:if> |
|
| 73 |
+<div class="list-type sm"> |
|
| 74 |
+ <table> |
|
| 75 |
+ <colgroup> |
|
| 76 |
+ <col style="width:110px"> |
|
| 77 |
+ <col> |
|
| 78 |
+ <col style="width:130px"> |
|
| 79 |
+ <col style="width:130px"> |
|
| 80 |
+ <col style="width:130px"> |
|
| 81 |
+ <col style="width:160px"> |
|
| 82 |
+ <col style="width:160px"> |
|
| 83 |
+ <c:if test="${searchVO.selectMode eq 'Y'}"><col style="width:130px"></c:if>
|
|
| 84 |
+ </colgroup> |
|
| 85 |
+ <thead> |
|
| 86 |
+ <tr> |
|
| 87 |
+ <th>번호</th> |
|
| 88 |
+ <th>게시판명</th> |
|
| 89 |
+ <th>코멘트사용</th> |
|
| 90 |
+ <th>사용여부</th> |
|
| 91 |
+ <th>게시글관리</th> |
|
| 92 |
+ <th>생성일</th> |
|
| 93 |
+ <th>관리</th> |
|
| 94 |
+ <c:if test="${searchVO.selectMode eq 'Y'}"><th>선택</th></c:if>
|
|
| 95 |
+ </tr> |
|
| 96 |
+ </thead> |
|
| 97 |
+ <tbody> |
|
| 98 |
+ <c:forEach items="${resultList}" var="result" varStatus="status">
|
|
| 99 |
+ <tr> |
|
| 100 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 101 |
+ <td data-tit="게시판명"><c:out value="${result.bbsNm}"/></td>
|
|
| 102 |
+ <td data-tit="코멘트사용"> |
|
| 103 |
+ <c:if test="${result.commentUseAt == 'Y'}">
|
|
| 104 |
+ <span class="label-state spot">Y</span> |
|
| 105 |
+ </c:if> |
|
| 106 |
+ <c:if test="${result.commentUseAt == 'N'}">
|
|
| 107 |
+ <span class="label-state">N</span> |
|
| 108 |
+ </c:if> |
|
| 109 |
+ </td> |
|
| 110 |
+ <td data-tit="사용여부"> |
|
| 111 |
+ <c:if test="${result.svcAt == 'Y'}">
|
|
| 112 |
+ <span class="label-state spot">Y</span> |
|
| 113 |
+ </c:if> |
|
| 114 |
+ <c:if test="${result.svcAt == 'N'}">
|
|
| 115 |
+ <span class="label-state">N</span> |
|
| 116 |
+ </c:if> |
|
| 117 |
+ </td> |
|
| 118 |
+ <td data-tit="게시글관리"> |
|
| 119 |
+ <c:url var="manageUrl" value="/mng/cop/bbs/selectBoardList.do${_BASE_PARAM}">
|
|
| 120 |
+ <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 121 |
+ </c:url> |
|
| 122 |
+ <a href="${manageUrl}" onclick="fnBBS_Manage(this.href);return false;" class="btn btn-sm spot">게시글관리</a>
|
|
| 123 |
+ </td> |
|
| 124 |
+ <td data-tit="생성일"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 125 |
+ <td data-tit="관리"> |
|
| 126 |
+ <div class="btn-cont"> |
|
| 127 |
+ <c:url var="viewUrl" value="/mng/cop/bbs/SelectBBSMasterInf.do${_PAGE_PARAM}">
|
|
| 128 |
+ <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 129 |
+ <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 130 |
+ </c:url> |
|
| 131 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 158 | 132 |
|
| 159 |
- </tbody> |
|
| 160 |
- </table> |
|
| 161 |
- |
|
| 162 |
- <div id="paging"> |
|
| 163 |
- <c:url var="pageUrl" value="/mng/cop/bbs/SelectBBSMasterInfs.do${_PAGE_PARAM}">
|
|
| 164 |
- </c:url> |
|
| 133 |
+ <c:url var="delUrl" value="/mng/cop/bbs/DeleteBBSMasterInf.do${_PAGE_PARAM}">
|
|
| 134 |
+ <c:param name="bbsId" value="${result.bbsId}"/>
|
|
| 135 |
+ <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 136 |
+ </c:url> |
|
| 137 |
+ <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a>
|
|
| 138 |
+ </div> |
|
| 139 |
+ </td> |
|
| 140 |
+ <c:if test="${searchVO.selectMode eq 'Y'}">
|
|
| 141 |
+ <td data-tit="선택"> |
|
| 142 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_selectBbsList('<c:out value="${result.bbsId}"/>', '<c:out value="${result.bbsNm}"/>');return false;">선택</button>
|
|
| 143 |
+ </td> |
|
| 144 |
+ </c:if> |
|
| 145 |
+ </tr> |
|
| 146 |
+ </c:forEach> |
|
| 147 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 148 |
+ <tr> |
|
| 149 |
+ <td class="" colspan="${searchVO.selectMode eq 'Y' ? '8' : '7'}"><spring:message code="common.nodata.msg" /></td>
|
|
| 150 |
+ </tr> |
|
| 151 |
+ </c:if> |
|
| 152 |
+ </tbody> |
|
| 153 |
+ </table> |
|
| 154 |
+</div> |
|
| 165 | 155 |
|
| 166 |
- <ul> |
|
| 167 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 168 |
- </ul> |
|
| 169 |
- </div> |
|
| 170 |
- |
|
| 171 |
- <div id="bbs_search"> |
|
| 172 |
- <form name="frm" method="post" action="<c:url value="/mng/cop/bbs/SelectBBSMasterInfs.do"/>"> |
|
| 173 |
- <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 174 |
- <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 175 |
- <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 176 |
- <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/>
|
|
| 177 |
- <input type="hidden" name="registSeCode" value="${searchVO.registSeCode}"/>
|
|
| 178 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 179 |
- <select name="searchCondition" id="ftext"> |
|
| 180 |
- <!--<option selected value=''>--선택하세요--</option>--> |
|
| 181 |
- <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> >게시판명</option>
|
|
| 182 |
- <!-- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >게시판유형</option>-->
|
|
| 183 |
- </select> |
|
| 184 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 185 |
- <input type="text" name="searchKeyword" value="<c:out value="${searchVO.searchKeyword}"/>" class="inp_s" id="inp_text" />
|
|
| 186 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색" />
|
|
| 187 |
- </form> |
|
| 188 |
- </div> |
|
| 189 |
- |
|
| 190 |
- <c:if test="${not empty searchVO.siteId }">
|
|
| 191 |
- <div class="btn_r"> |
|
| 156 |
+<c:url var="pageUrl" value="/mng/cop/bbs/SelectBBSMasterInfs.do${_PAGE_PARAM}">
|
|
| 157 |
+</c:url> |
|
| 158 |
+<ul class="paging"> |
|
| 159 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 160 |
+</ul> |
|
| 161 |
+ |
|
| 162 |
+<c:if test="${not empty searchVO.siteId }">
|
|
| 163 |
+ <div class="fnc-area"> |
|
| 164 |
+ <div class="r-area"> |
|
| 192 | 165 |
<c:url var="addUrl" value="/mng/cop/bbs/addBBSMaster.do${_PAGE_PARAM}"></c:url>
|
| 193 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 194 |
- </div> |
|
| 195 |
- </c:if> |
|
| 196 |
-</div> |
|
| 166 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 167 |
+ </div> |
|
| 168 |
+ </div> |
|
| 169 |
+</c:if> |
|
| 197 | 170 |
|
| 198 | 171 |
<c:choose> |
| 199 | 172 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/CtgryList.jsp
... | ... | @@ -0,0 +1,160 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 5 | + <c:param name="title" value="${param.ctgrymasterNm}"/> | |
| 6 | +</c:import> | |
| 7 | + | |
| 8 | + | |
| 9 | +<script> | |
| 10 | + function fn_egov_delete(url){ | |
| 11 | + if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 12 | + document.location.href = url; | |
| 13 | + } | |
| 14 | + } | |
| 15 | +</script> | |
| 16 | + | |
| 17 | +<div class="menu-board"> | |
| 18 | + <table> | |
| 19 | + <colgroup> | |
| 20 | + <col> | |
| 21 | + <col style="width: 50%;"> | |
| 22 | + <%--<col>--%> | |
| 23 | + <col> | |
| 24 | + <col> | |
| 25 | + <col> | |
| 26 | + </colgroup> | |
| 27 | + <thead> | |
| 28 | + <tr> | |
| 29 | + <th>카테고리ID</th> | |
| 30 | + <th>카테고리명</th> | |
| 31 | + <%--<th>카테고리 서브값</th>--%> | |
| 32 | + <th>순서변경</th> | |
| 33 | + <th>하위로추가</th> | |
| 34 | + <th>관리</th> | |
| 35 | + </tr> | |
| 36 | + </thead> | |
| 37 | + </table> | |
| 38 | + | |
| 39 | + <c:set var="_ROOT_ID" value=""/> | |
| 40 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 41 | + <c:choose> | |
| 42 | + <c:when test="${empty result.upperCtgryId}"> | |
| 43 | + <c:set var="_ROOT_ID" value="${result.ctgryId}"/> | |
| 44 | + </c:when> | |
| 45 | + <c:otherwise> | |
| 46 | + <ul class="menu-depth depth${result.ctgryLevel}"> | |
| 47 | + <li> | |
| 48 | + <table> | |
| 49 | + <colgroup> | |
| 50 | + <col> | |
| 51 | + <col style="width: 50%;"> | |
| 52 | + <%--<col>--%> | |
| 53 | + <col> | |
| 54 | + <col> | |
| 55 | + <col> | |
| 56 | + </colgroup> | |
| 57 | + <tbody> | |
| 58 | + <tr> | |
| 59 | + <td><c:out value="${result.ctgryId}"/></td> | |
| 60 | + <td class="menu-tit"> | |
| 61 | + <span class="label num sm spot${result.ctgryLevel}"><c:out value="${result.ctgryLevel}"/></span> | |
| 62 | + <c:choose> | |
| 63 | + <c:when test="${not empty result.upperCtgryId}"><c:out value="${result.ctgryNm}"/></c:when> | |
| 64 | + <c:otherwise><c:out value="${param.ctgrymasterNm}"/></c:otherwise> | |
| 65 | + </c:choose> | |
| 66 | + </td> | |
| 67 | + <%--<td><c:out value="${result.ctgryVal}"/></td>--%> | |
| 68 | + <td> | |
| 69 | + <c:if test="${not empty result.upperCtgryId}"> | |
| 70 | + <c:url var="uSortUrl" value="/mng/cop/bbs/ctg/updateBBSCtgrySortOrdr.do"> | |
| 71 | + <c:param name="sortTyCode" value="U"/> | |
| 72 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 73 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 74 | + <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 75 | + <c:param name="upperCtgryId" value="${result.upperCtgryId}"/> | |
| 76 | + <c:param name="sortOrdr" value="${result.sortOrdr}"/> | |
| 77 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 78 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 79 | + </c:url> | |
| 80 | + <c:url var="dSortUrl" value="/mng/cop/bbs/ctg/updateBBSCtgrySortOrdr.do"> | |
| 81 | + <c:param name="sortTyCode" value="D"/> | |
| 82 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 83 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 84 | + <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 85 | + <c:param name="upperCtgryId" value="${result.upperCtgryId}"/> | |
| 86 | + <c:param name="sortOrdr" value="${result.sortOrdr}"/> | |
| 87 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 88 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 89 | + </c:url> | |
| 90 | + | |
| 91 | + <a href="${uSortUrl}" class="btn btn-sm spot"> | |
| 92 | + <i class="ico-sm-arrow-up spot"></i> | |
| 93 | + <span class="txt-hide">위</span> | |
| 94 | + </a> | |
| 95 | + <a href="${dSortUrl}" class="btn btn-sm spot"> | |
| 96 | + <i class="ico-sm-arrow-down spot"></i> | |
| 97 | + <span class="txt-hide">아래</span> | |
| 98 | + </a> | |
| 99 | + </c:if> | |
| 100 | + </td> | |
| 101 | + <td> | |
| 102 | + <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgry.do"> | |
| 103 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 104 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 105 | + <c:param name="upperCtgryId" value="${result.ctgryId}"/> | |
| 106 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 107 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 108 | + </c:url> | |
| 109 | + <a href="${addUrl}" class="btn btn-sm spot">하위로 추가</a> | |
| 110 | + </td> | |
| 111 | + <td> | |
| 112 | + <c:if test="${not empty result.upperCtgryId}"> | |
| 113 | + <c:url var="viewUrl" value="/mng/cop/bbs/ctg/selectBBSCtgry.do"> | |
| 114 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 115 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 116 | + <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 117 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 118 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 119 | + </c:url> | |
| 120 | + <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a> | |
| 121 | + <c:url var="delUrl" value="/mng/cop/bbs/ctg/deleteBBSCtgry.do"> | |
| 122 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 123 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 124 | + <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 125 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 126 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 127 | + </c:url> | |
| 128 | + <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a> | |
| 129 | + </c:if> | |
| 130 | + </td> | |
| 131 | + </tr> | |
| 132 | + </tbody> | |
| 133 | + </table> | |
| 134 | + </li> | |
| 135 | + </ul> | |
| 136 | + </c:otherwise> | |
| 137 | + </c:choose> | |
| 138 | + </c:forEach> | |
| 139 | + <%-- | |
| 140 | + <c:if test="${fn:length(resultList) == 1}"> | |
| 141 | + <tr> | |
| 142 | + <td class="listCenter" colspan="6"><spring:message code="common.nodata.msg" /></td> | |
| 143 | + </tr> | |
| 144 | + </c:if> | |
| 145 | + --%> | |
| 146 | +</div> | |
| 147 | + | |
| 148 | +<div class="fnc-area mt20"> | |
| 149 | + <div class="r-area"> | |
| 150 | + <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgry.do"> | |
| 151 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 152 | + <c:param name="ctgrymasterId" value="${searchVO.ctgrymasterId}"/> | |
| 153 | + <c:param name="upperCtgryId" value="${_ROOT_ID}"/> | |
| 154 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 155 | + </c:url> | |
| 156 | + <a href="${addUrl}" class="btn spot2">생성</a> | |
| 157 | + </div> | |
| 158 | +</div> | |
| 159 | + | |
| 160 | +<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/CtgryMasterList.jsp
... | ... | @@ -0,0 +1,154 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:choose> | |
| 5 | + <c:when test="${searchVO.sysTyCode eq 'SYS02'}"> | |
| 6 | + <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 7 | + <c:param name="menu" value="CURRICULUM_MANAGE"/> | |
| 8 | + <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 9 | + <c:param name="depth2" value=""/> | |
| 10 | + <c:param name="title" value="과정코드관리"/> | |
| 11 | + </c:import> | |
| 12 | + </c:when> | |
| 13 | + <c:otherwise> | |
| 14 | + <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 15 | + <c:param name="menu" value="BOARD_MANAGE"/> | |
| 16 | + <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 17 | + <c:param name="depth2" value=""/> | |
| 18 | + <c:param name="title" value="카테고리관리"/> | |
| 19 | + </c:import> | |
| 20 | + </c:otherwise> | |
| 21 | +</c:choose> | |
| 22 | + | |
| 23 | +<script> | |
| 24 | + function fnCtgy_Manage(url) { | |
| 25 | + var win = window.open(url ,'ctgy',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); | |
| 26 | + if(win != null) { | |
| 27 | + win.focus(); | |
| 28 | + } | |
| 29 | + } | |
| 30 | + | |
| 31 | + function fn_egov_delete(url){ | |
| 32 | + if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 33 | + document.location.href = url; | |
| 34 | + } | |
| 35 | + } | |
| 36 | +</script> | |
| 37 | + | |
| 38 | +<c:if test="${USER_INFO.userSe > 10}"> | |
| 39 | + <form id="listForm" name="listForm" action="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" method="post"> | |
| 40 | + <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> | |
| 41 | + </form> | |
| 42 | +</c:if> | |
| 43 | + | |
| 44 | +<div class="fnc-area"> | |
| 45 | + <div class="r-area"> | |
| 46 | + <form id="searchForm" name="searchForm" action="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" method="post"> | |
| 47 | + <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 48 | + <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 49 | + | |
| 50 | + <div class="sch-area"> | |
| 51 | + <div class="sch-option"> | |
| 52 | + <select name="searchCondition" id="searchCondition"> | |
| 53 | + <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> >대분류명</option> | |
| 54 | + </select> | |
| 55 | + </div> | |
| 56 | + <div class="sch"> | |
| 57 | + <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'> | |
| 58 | + <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> | |
| 59 | + </div> | |
| 60 | + </div> | |
| 61 | + </form> | |
| 62 | + </div> | |
| 63 | +</div> | |
| 64 | + | |
| 65 | + | |
| 66 | +<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 67 | +<div class="list-type sm"> | |
| 68 | + <table> | |
| 69 | + <colgroup> | |
| 70 | + <col style="width:110px"> | |
| 71 | + <col> | |
| 72 | + <col> | |
| 73 | + <col style="width:130px"> | |
| 74 | + <col style="width:160px"> | |
| 75 | + <col style="width:130px"> | |
| 76 | + </colgroup> | |
| 77 | + <thead> | |
| 78 | + <tr> | |
| 79 | + <th>번호</th> | |
| 80 | + <th>대분류코드</th> | |
| 81 | + <th>대분류명</th> | |
| 82 | + <th>카테고리관리</th> | |
| 83 | + <th>생성일</th> | |
| 84 | + <th>관리</th> | |
| 85 | + </tr> | |
| 86 | + </thead> | |
| 87 | + <tbody> | |
| 88 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 89 | + <tr> | |
| 90 | + <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 91 | + <td data-tit="대분류코드"><c:out value="${result.ctgrymasterId}"/></td> | |
| 92 | + <td data-tit="대분류명"><c:out value="${result.ctgrymasterNm}"/></td> | |
| 93 | + <td data-tit="카테고리관리"> | |
| 94 | + <a href="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryList.do"><c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/><c:param name="ctgrymasterNm" value="${result.ctgrymasterNm}"/></c:url>" onclick="fnCtgy_Manage(this.href);return false;" class="btn btn-sm spot">카테고리관리</a> | |
| 95 | + </td> | |
| 96 | + <td data-tit="생성일"><c:out value="${result.creatDt}"/></td> | |
| 97 | + <td data-tit="관리"> | |
| 98 | + <div class="btn-cont"> | |
| 99 | + <c:url var="viewUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMaster.do"> | |
| 100 | + <c:param name="siteId" value="${result.siteId}"/> | |
| 101 | + <c:param name="sysTyCode" value="${result.sysTyCode}"/> | |
| 102 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 103 | + <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 104 | + <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 105 | + <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if> | |
| 106 | + </c:url> | |
| 107 | + <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a> | |
| 108 | + | |
| 109 | + <c:url var="delUrl" value="/mng/cop/bbs/ctg/deleteBBSCtgryMaster.do"> | |
| 110 | + <c:param name="siteId" value="${result.siteId}"/> | |
| 111 | + <c:param name="sysTyCode" value="${result.sysTyCode}"/> | |
| 112 | + <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 113 | + <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 114 | + <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 115 | + <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if> | |
| 116 | + </c:url> | |
| 117 | + <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a> | |
| 118 | + </div> | |
| 119 | + </td> | |
| 120 | + </tr> | |
| 121 | + </c:forEach> | |
| 122 | + | |
| 123 | + <c:if test="${fn:length(resultList) == 0}"> | |
| 124 | + <tr> | |
| 125 | + <td class="" colspan="6"><spring:message code="common.nodata.msg" /></td> | |
| 126 | + </tr> | |
| 127 | + </c:if> | |
| 128 | + </tbody> | |
| 129 | + </table> | |
| 130 | +</div> | |
| 131 | + | |
| 132 | +<c:url var="pageUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"> | |
| 133 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 134 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 135 | + <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 136 | + <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 137 | +</c:url> | |
| 138 | +<ul class="paging"> | |
| 139 | + <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 140 | +</ul> | |
| 141 | + | |
| 142 | +<c:if test="${not empty searchVO.siteId }"> | |
| 143 | + <div class="fnc-area"> | |
| 144 | + <div class="r-area"> | |
| 145 | + <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgryMaster.do"> | |
| 146 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 147 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 148 | + </c:url> | |
| 149 | + <a href="${addUrl}" class="btn spot2">생성</a> | |
| 150 | + </div> | |
| 151 | + </div> | |
| 152 | +</c:if> | |
| 153 | + | |
| 154 | +<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/CtgryMasterRegist.jsp
... | ... | @@ -0,0 +1,100 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:set var="_MODE" value=""/> | |
| 5 | +<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs/ctg"/> | |
| 6 | +<c:set var="_ACTION" value=""/> | |
| 7 | + | |
| 8 | +<c:choose> | |
| 9 | + <c:when test="${empty searchVO.ctgrymasterId}"> | |
| 10 | + <c:set var="_MODE" value="REG"/> | |
| 11 | + <c:set var="_ACTION" value="${_PREFIX}/insertBBSCtgryMaster.do"/> | |
| 12 | + </c:when> | |
| 13 | + <c:otherwise> | |
| 14 | + <c:set var="_MODE" value="UPT"/> | |
| 15 | + <c:set var="_ACTION" value="${_PREFIX}/updateBBSCtgryMaster.do"/> | |
| 16 | + </c:otherwise> | |
| 17 | +</c:choose> | |
| 18 | + | |
| 19 | +<c:choose> | |
| 20 | + <c:when test="${searchVO.sysTyCode eq 'SYS02'}"> | |
| 21 | + <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 22 | + <c:param name="menu" value="CURRICULUM_MANAGE"/> | |
| 23 | + <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 24 | + <c:param name="depth2" value=""/> | |
| 25 | + <c:param name="title" value="과정코드관리"/> | |
| 26 | + </c:import> | |
| 27 | + </c:when> | |
| 28 | + <c:otherwise> | |
| 29 | + <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 30 | + <c:param name="menu" value="BOARD_MANAGE"/> | |
| 31 | + <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 32 | + <c:param name="depth2" value=""/> | |
| 33 | + <c:param name="title" value="카테고리관리"/> | |
| 34 | + </c:import> | |
| 35 | + </c:otherwise> | |
| 36 | +</c:choose> | |
| 37 | + | |
| 38 | +<script src="<c:url value="/validator.do"/>"></script> | |
| 39 | +<validator:javascript formName="ctgryMaster" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 40 | +<script> | |
| 41 | +function fn_egov_regist(frm) { | |
| 42 | + | |
| 43 | + if (!validateCtgryMaster(frm)){ | |
| 44 | + return false; | |
| 45 | + } | |
| 46 | + | |
| 47 | + if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 48 | + return false; | |
| 49 | + } | |
| 50 | + | |
| 51 | +} | |
| 52 | +</script> | |
| 53 | + | |
| 54 | +<form:form commandName="ctgryMaster" name="ctgryMaster" action="${_ACTION}" method="post" onsubmit="return fn_egov_regist(this)"> | |
| 55 | + <form:hidden path="siteId"/> | |
| 56 | + <form:hidden path="sysTyCode"/> | |
| 57 | + <form:hidden path="ctgrymasterId"/> | |
| 58 | + | |
| 59 | + <!-- 검색조건 유지 --> | |
| 60 | + <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/> | |
| 61 | + <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/> | |
| 62 | + <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 63 | + | |
| 64 | + <fieldset> | |
| 65 | + <legend class="hdn">카테고리마스터 입력 폼</legend> | |
| 66 | + | |
| 67 | + <div class="write-type"> | |
| 68 | + <table> | |
| 69 | + <colgroup> | |
| 70 | + <col style="width:250px" /> | |
| 71 | + <col /> | |
| 72 | + </colgroup> | |
| 73 | + <tbody> | |
| 74 | + <tr> | |
| 75 | + <th><label for="clCode">대분류명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 76 | + <td> | |
| 77 | + <form:input path="ctgrymasterNm" cssClass="q4"/> | |
| 78 | + <div><form:errors path="ctgrymasterNm" /></div> | |
| 79 | + </td> | |
| 80 | + </tr> | |
| 81 | + </tbody> | |
| 82 | + </table> | |
| 83 | + </div> | |
| 84 | + | |
| 85 | + <div class="btn-cont"> | |
| 86 | + <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button> | |
| 87 | + <c:url var="listUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"> | |
| 88 | + <c:param name="siteId" value="${searchVO.siteId}" /> | |
| 89 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}" /> | |
| 90 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 91 | + <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 92 | + <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 93 | + </c:url> | |
| 94 | + <a href="${listUrl}" class="btn btn-lg">목록</a> | |
| 95 | + </div> | |
| 96 | + </fieldset> | |
| 97 | +</form:form> | |
| 98 | + | |
| 99 | + | |
| 100 | +<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/CtgryRegist.jsp
... | ... | @@ -0,0 +1,105 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:set var="_MODE" value=""/> | |
| 5 | +<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs/ctg"/> | |
| 6 | +<c:set var="_ACTION" value=""/> | |
| 7 | + | |
| 8 | +<c:choose> | |
| 9 | + <c:when test="${empty searchVO.ctgryId}"> | |
| 10 | + <c:set var="_MODE" value="REG"/> | |
| 11 | + <c:set var="_ACTION" value="${_PREFIX}/insertBBSCtgry.do"/> | |
| 12 | + </c:when> | |
| 13 | + <c:otherwise> | |
| 14 | + <c:set var="_MODE" value="UPT"/> | |
| 15 | + <c:set var="_ACTION" value="${_PREFIX}/updateBBSCtgry.do"/> | |
| 16 | + </c:otherwise> | |
| 17 | +</c:choose> | |
| 18 | + | |
| 19 | +<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 20 | + <c:param name="title" value="${param.ctgrymasterNm}"/> | |
| 21 | +</c:import> | |
| 22 | + | |
| 23 | +<script src="<c:url value="/validator.do"/>"></script> | |
| 24 | +<validator:javascript formName="ctgry" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 25 | +<script> | |
| 26 | +function fn_egov_regist(frm) { | |
| 27 | + if (!validateCtgry(frm)){ | |
| 28 | + return false; | |
| 29 | + } | |
| 30 | + | |
| 31 | + if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 32 | + return false; | |
| 33 | + } | |
| 34 | +} | |
| 35 | +</script> | |
| 36 | + | |
| 37 | +<form:form commandName="ctgry" name="ctgry" action="${_ACTION}" method="post" onsubmit="return fn_egov_regist(this)"> | |
| 38 | + | |
| 39 | + <input type="hidden" name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 40 | + <input type="hidden" name="type" value="${param.type}"/> | |
| 41 | + <input type="hidden" name="sysTyCode" value="${param.sysTyCode}"/> | |
| 42 | + <form:hidden path="ctgrymasterId"/> | |
| 43 | + <form:hidden path="ctgryId"/> | |
| 44 | + <form:hidden path="sortOrdr"/> | |
| 45 | + | |
| 46 | + <fieldset> | |
| 47 | + <legend class="hdn">카테고리 입력 폼</legend> | |
| 48 | + | |
| 49 | + <div class="write-type"> | |
| 50 | + <table> | |
| 51 | + <colgroup> | |
| 52 | + <col style="width:250px" /> | |
| 53 | + <col /> | |
| 54 | + </colgroup> | |
| 55 | + <tbody> | |
| 56 | + <tr> | |
| 57 | + <th><label for="upperCtgryId">상위카테고리</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 58 | + <td> | |
| 59 | + <div class="selectbox"> | |
| 60 | + <select name="upperCtgryId" id="upperCtgryId"> | |
| 61 | + <c:forEach var="result" items="${ctgryList}" varStatus="status"> | |
| 62 | + <option value="${result.ctgryId}" <c:if test="${result.ctgryId == ctgry.upperCtgryId}">selected="selected"</c:if>><c:out value="(${result.ctgryId}) ${result.ctgryNm}"/></option> | |
| 63 | + </c:forEach> | |
| 64 | + </select> | |
| 65 | + </div> | |
| 66 | + </td> | |
| 67 | + </tr> | |
| 68 | + <tr> | |
| 69 | + <th><label for="ctgryNm">카테고리명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 70 | + <td> | |
| 71 | + <form:input path="ctgryNm" cssClass="q4"/> | |
| 72 | + <div><form:errors path="ctgryNm" /></div> | |
| 73 | + </td> | |
| 74 | + </tr> | |
| 75 | + <c:if test="${param.sysTyCode eq 'SYS02'}"> | |
| 76 | + <tr> | |
| 77 | + <th><label for="ctgryVal">카테고리 서브값</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 78 | + <td><form:input path="ctgryVal" cssClass="q4"/></td> | |
| 79 | + </tr> | |
| 80 | + <tr> | |
| 81 | + <th><label for="ctgryCn">카테고리 설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 82 | + <td><form:input path="ctgryCn" cssClass="q4"/></td> | |
| 83 | + </tr> | |
| 84 | + </c:if> | |
| 85 | + </tbody> | |
| 86 | + </table> | |
| 87 | + </div> | |
| 88 | + | |
| 89 | + <div class="btn-cont"> | |
| 90 | + <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button> | |
| 91 | + <c:url var="listUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryList.do"> | |
| 92 | + <c:param name="ctgrymasterId" value="${searchVO.ctgrymasterId}" /> | |
| 93 | + <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}" /> | |
| 94 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 95 | + <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 96 | + <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 97 | + <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 98 | + <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 99 | + </c:url> | |
| 100 | + <a href="${listUrl}" class="btn btn-lg">목록</a> | |
| 101 | + </div> | |
| 102 | + </fieldset> | |
| 103 | +</form:form> | |
| 104 | + | |
| 105 | +<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryList.jsp
... | ... | @@ -1,158 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 9 | -<c:set var="_C_IMG" value="${pageContext.request.contextPath}/template/common/images"/> | |
| 10 | - | |
| 11 | -<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 12 | - <c:param name="title" value="${param.ctgrymasterNm}"/> | |
| 13 | -</c:import> | |
| 14 | - | |
| 15 | - | |
| 16 | -<script type="text/javaScript" language="javascript" defer="defer"> | |
| 17 | - | |
| 18 | - function fn_egov_delete(url){ | |
| 19 | - if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 20 | - document.location.href = url; | |
| 21 | - } | |
| 22 | - } | |
| 23 | -</script> | |
| 24 | - | |
| 25 | -<div id="cntnts"> | |
| 26 | - | |
| 27 | -<form name="listForm" id="listForm" method="post"> | |
| 28 | - | |
| 29 | - <table class="chart_board"> | |
| 30 | - <colgroup> | |
| 31 | - <col class="co1"/> | |
| 32 | - <col class="co3"/> | |
| 33 | - <c:if test="${param.type ne 'N'}"> | |
| 34 | - <col class="co6"/> | |
| 35 | - <col class="co6"/> | |
| 36 | - <col class="co6"/> | |
| 37 | - </c:if> | |
| 38 | - <col class="co6"/> | |
| 39 | - </colgroup> | |
| 40 | - <caption class="hdn">카테고리관리</caption> | |
| 41 | - <thead> | |
| 42 | - <tr> | |
| 43 | - <th>카테고리ID</th> | |
| 44 | - <th>카테고리명</th> | |
| 45 | - <c:if test="${param.type ne 'N'}"> | |
| 46 | - <th>카테고리 서브값</th> | |
| 47 | - <th>순서변경</th> | |
| 48 | - <th>하위로추가</th> | |
| 49 | - </c:if> | |
| 50 | - <th>관리</th> | |
| 51 | - </tr> | |
| 52 | - </thead> | |
| 53 | - <tbody> | |
| 54 | - <c:set var="_ROOT_ID" value=""/> | |
| 55 | - <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 56 | - <c:choose> | |
| 57 | - <c:when test="${empty result.upperCtgryId}"> | |
| 58 | - <c:set var="_ROOT_ID" value="${result.ctgryId}"/> | |
| 59 | - </c:when> | |
| 60 | - <c:otherwise> | |
| 61 | - <tr> | |
| 62 | - <td><c:out value="${result.ctgryId}"/></td> | |
| 63 | - <td class="tit"> | |
| 64 | - <c:forEach begin="1" end="${result.ctgryLevel}" step="1"> | |
| 65 | - | |
| 66 | - </c:forEach> | |
| 67 | - <img src="${_IMG}/btn/folder_${result.ctgryLevel}.gif"/> | |
| 68 | - <c:choose> | |
| 69 | - <c:when test="${not empty result.upperCtgryId}"><c:out value="${result.ctgryNm}"/></c:when> | |
| 70 | - <c:otherwise><c:out value="${param.ctgrymasterNm}"/></c:otherwise> | |
| 71 | - </c:choose> | |
| 72 | - </td> | |
| 73 | - <c:if test="${param.type ne 'N'}"> | |
| 74 | - <td><c:out value="${result.ctgryVal}"/></td> | |
| 75 | - <td> | |
| 76 | - <c:if test="${not empty result.upperCtgryId}"> | |
| 77 | - <c:url var="uSortUrl" value="/mng/cop/bbs/ctg/updateBBSCtgrySortOrdr.do"> | |
| 78 | - <c:param name="sortTyCode" value="U"/> | |
| 79 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 80 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 81 | - <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 82 | - <c:param name="upperCtgryId" value="${result.upperCtgryId}"/> | |
| 83 | - <c:param name="sortOrdr" value="${result.sortOrdr}"/> | |
| 84 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 85 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 86 | - </c:url> | |
| 87 | - <c:url var="dSortUrl" value="/mng/cop/bbs/ctg/updateBBSCtgrySortOrdr.do"> | |
| 88 | - <c:param name="sortTyCode" value="D"/> | |
| 89 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 90 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 91 | - <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 92 | - <c:param name="upperCtgryId" value="${result.upperCtgryId}"/> | |
| 93 | - <c:param name="sortOrdr" value="${result.sortOrdr}"/> | |
| 94 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 95 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 96 | - </c:url> | |
| 97 | - | |
| 98 | - <a href="${uSortUrl}"><img src="${_IMG}/btn/btn_goup.gif"/></a> | |
| 99 | - <a href="${dSortUrl}"><img src="${_IMG}/btn/btn_godown.gif"/></a> | |
| 100 | - </c:if> | |
| 101 | - </td> | |
| 102 | - <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgry.do"> | |
| 103 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 104 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 105 | - <c:param name="upperCtgryId" value="${result.ctgryId}"/> | |
| 106 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 107 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 108 | - </c:url> | |
| 109 | - <td> | |
| 110 | - <a href="${addUrl}"><img src="${_IMG}/btn/add_btn_2.gif"/></a> | |
| 111 | - </td> | |
| 112 | - </c:if> | |
| 113 | - <td> | |
| 114 | - <c:if test="${not empty result.upperCtgryId}"> | |
| 115 | - <c:url var="viewUrl" value="/mng/cop/bbs/ctg/selectBBSCtgry.do"> | |
| 116 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 117 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 118 | - <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 119 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 120 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 121 | - </c:url> | |
| 122 | - <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a> | |
| 123 | - <c:url var="delUrl" value="/mng/cop/bbs/ctg/deleteBBSCtgry.do"> | |
| 124 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 125 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 126 | - <c:param name="ctgryId" value="${result.ctgryId}"/> | |
| 127 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 128 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 129 | - </c:url> | |
| 130 | - <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a> | |
| 131 | - </c:if> | |
| 132 | - </td> | |
| 133 | - </tr> | |
| 134 | - </c:otherwise> | |
| 135 | - </c:choose> | |
| 136 | - </c:forEach> | |
| 137 | - <c:if test="${fn:length(resultList) == 1}"> | |
| 138 | - <tr> | |
| 139 | - <td class="listCenter" colspan="6"><spring:message code="common.nodata.msg" /></td> | |
| 140 | - </tr> | |
| 141 | - </c:if> | |
| 142 | - </tbody> | |
| 143 | - </table> | |
| 144 | - | |
| 145 | - <div class="btn_r"> | |
| 146 | - <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgry.do"> | |
| 147 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 148 | - <c:param name="ctgrymasterId" value="${searchVO.ctgrymasterId}"/> | |
| 149 | - <c:param name="upperCtgryId" value="${_ROOT_ID}"/> | |
| 150 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 151 | - </c:url> | |
| 152 | - <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a> | |
| 153 | - </div> | |
| 154 | -</form> | |
| 155 | - | |
| 156 | -</div> | |
| 157 | - | |
| 158 | -<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList.jsp
... | ... | @@ -1,156 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 9 | -<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> | |
| 10 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 11 | - | |
| 12 | -<c:choose> | |
| 13 | - <c:when test="${searchVO.sysTyCode eq 'SYS02'}"> | |
| 14 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 15 | - <c:param name="menu" value="CURRICULUM_MANAGE"/> | |
| 16 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 17 | - <c:param name="depth2" value=""/> | |
| 18 | - <c:param name="title" value="과정코드관리"/> | |
| 19 | - </c:import> | |
| 20 | - </c:when> | |
| 21 | - <c:otherwise> | |
| 22 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 23 | - <c:param name="menu" value="BOARD_MANAGE"/> | |
| 24 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 25 | - <c:param name="depth2" value=""/> | |
| 26 | - <c:param name="title" value="카테고리관리"/> | |
| 27 | - </c:import> | |
| 28 | - </c:otherwise> | |
| 29 | -</c:choose> | |
| 30 | - | |
| 31 | -<script type="text/javaScript" language="javascript" defer="defer"> | |
| 32 | - | |
| 33 | - function fnCtgy_Manage(url) { | |
| 34 | - var win = window.open(url ,'ctgy',' scrollbars=yes, resizable=yes, left=0, top=0, width=900,height=650'); | |
| 35 | - if(win != null) { | |
| 36 | - win.focus(); | |
| 37 | - } | |
| 38 | - } | |
| 39 | - | |
| 40 | - function fn_egov_delete(url){ | |
| 41 | - if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 42 | - document.location.href = url; | |
| 43 | - } | |
| 44 | - } | |
| 45 | - // --> | |
| 46 | -</script> | |
| 47 | - | |
| 48 | -<div id="cntnts"> | |
| 49 | - <c:if test="${USER_INFO.userSe > 10}"> | |
| 50 | - <form id="listForm" name="listForm" action="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" method="post"> | |
| 51 | - <div id="bbs_search"> | |
| 52 | - <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> | |
| 53 | - </div> | |
| 54 | - </form> | |
| 55 | - </c:if> | |
| 56 | - <p class="total">총 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 57 | - | |
| 58 | - <table class="chart_board"> | |
| 59 | - <colgroup> | |
| 60 | - <col class="co1"/> | |
| 61 | - <col class="co1"/> | |
| 62 | - <col class="co3"/> | |
| 63 | - <col class="co6"/> | |
| 64 | - <col class="co6"/> | |
| 65 | - <col class="co6"/> | |
| 66 | - </colgroup> | |
| 67 | - <caption class="hdn">카테고리관리</caption> | |
| 68 | - <thead> | |
| 69 | - <tr> | |
| 70 | - <th>번호</th> | |
| 71 | - <th>대분류코드</th> | |
| 72 | - <th>대분류명</th> | |
| 73 | - <th>카테고리관리</th> | |
| 74 | - <th>생성일</th> | |
| 75 | - <th>관리</th> | |
| 76 | - </tr> | |
| 77 | - </thead> | |
| 78 | - <tbody> | |
| 79 | - <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 80 | - <tr> | |
| 81 | - <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 82 | - <td><c:out value="${result.ctgrymasterId}"/></td> | |
| 83 | - <td class="tit"><c:out value="${result.ctgrymasterNm}"/></td> | |
| 84 | - <td><a href="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryList.do"><c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/><c:param name="ctgrymasterNm" value="${result.ctgrymasterNm}"/></c:url>" onclick="fnCtgy_Manage(this.href);return false;"><img src="${_IMG}/btn/btn_cateadmin.gif"/></a></td> | |
| 85 | - <td><c:out value="${result.creatDt}"/></td> | |
| 86 | - <td> | |
| 87 | - <c:url var="viewUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMaster.do"> | |
| 88 | - <c:param name="siteId" value="${result.siteId}"/> | |
| 89 | - <c:param name="sysTyCode" value="${result.sysTyCode}"/> | |
| 90 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 91 | - <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 92 | - <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 93 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if> | |
| 94 | - </c:url> | |
| 95 | - <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a> | |
| 96 | - <c:url var="delUrl" value="/mng/cop/bbs/ctg/deleteBBSCtgryMaster.do"> | |
| 97 | - <c:param name="siteId" value="${result.siteId}"/> | |
| 98 | - <c:param name="sysTyCode" value="${result.sysTyCode}"/> | |
| 99 | - <c:param name="ctgrymasterId" value="${result.ctgrymasterId}"/> | |
| 100 | - <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 101 | - <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 102 | - <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if> | |
| 103 | - </c:url> | |
| 104 | - <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a> | |
| 105 | - </td> | |
| 106 | - </tr> | |
| 107 | - </c:forEach> | |
| 108 | - <c:if test="${fn:length(resultList) == 0}"> | |
| 109 | - <tr> | |
| 110 | - <td class="listCenter" colspan="6"><spring:message code="common.nodata.msg" /></td> | |
| 111 | - </tr> | |
| 112 | - </c:if> | |
| 113 | - | |
| 114 | - </tbody> | |
| 115 | - </table> | |
| 116 | - | |
| 117 | - <c:if test="${not empty searchVO.siteId }"> | |
| 118 | - <div class="btn_r"> | |
| 119 | - <c:url var="addUrl" value="/mng/cop/bbs/ctg/addBBSCtgryMaster.do"> | |
| 120 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 121 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 122 | - </c:url> | |
| 123 | - <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a> | |
| 124 | - </div> | |
| 125 | - </c:if> | |
| 126 | - | |
| 127 | - <div id="paging"> | |
| 128 | - <c:url var="pageUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"> | |
| 129 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 130 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 131 | - <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 132 | - <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 133 | - </c:url> | |
| 134 | - | |
| 135 | - <ul> | |
| 136 | - <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 137 | - </ul> | |
| 138 | - </div> | |
| 139 | - | |
| 140 | - <div id="bbs_search"> | |
| 141 | - <form id="searchForm" name="searchForm" action="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" method="post"> | |
| 142 | - <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 143 | - <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 144 | - <label for="ftext" class="hdn">분류검색</label> | |
| 145 | - <select name="searchCondition" id="ftext"> | |
| 146 | - <!-- option selected value=''>--선택하세요--</option--> | |
| 147 | - <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> >대분류명</option> | |
| 148 | - </select> | |
| 149 | - <label for="inp_text" class="hdn">검색어입력</label> | |
| 150 | - <input type="text" name="searchKeyword" value="<c:out value="${searchVO.searchKeyword}"/>" class="inp_s" id="inp_text" /> | |
| 151 | - <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색" /> | |
| 152 | - </form> | |
| 153 | - </div> | |
| 154 | -</div> | |
| 155 | - | |
| 156 | -<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterList02.jsp
... | ... | @@ -1,400 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 9 | -<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> | |
| 10 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 11 | - | |
| 12 | -<c:choose> | |
| 13 | - <c:when test="${searchVO.sysTyCode eq 'SYS02'}"> | |
| 14 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 15 | - <c:param name="menu" value="CURRICULUM_MANAGE"/> | |
| 16 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 17 | - <c:param name="depth2" value=""/> | |
| 18 | - <c:param name="title" value="과정코드관리"/> | |
| 19 | - </c:import> | |
| 20 | - </c:when> | |
| 21 | - <c:otherwise> | |
| 22 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 23 | - <c:param name="menu" value="BOARD_MANAGE"/> | |
| 24 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 25 | - <c:param name="depth2" value=""/> | |
| 26 | - <c:param name="title" value="카테고리관리"/> | |
| 27 | - </c:import> | |
| 28 | - </c:otherwise> | |
| 29 | -</c:choose> | |
| 30 | - | |
| 31 | -<script> | |
| 32 | - function fnCtgy_Manage(url) { | |
| 33 | - var win = window.open(url ,'ctgy',' scrollbars=yes, resizable=yes, left=0, top=0, width=900,height=650'); | |
| 34 | - if(win != null) { | |
| 35 | - win.focus(); | |
| 36 | - } | |
| 37 | - } | |
| 38 | - | |
| 39 | -$(document).ready(function(){ | |
| 40 | - $(".btn_code").click(function(){ | |
| 41 | - var id = $(this).data("id"), | |
| 42 | - name = $(this).data("name"), | |
| 43 | - url = "/mng/cop/bbs/ctg/selectBBSCtgryList.do?ctgrymasterId="+id+"&ctgrymasterNm="+name+"&sysTyCode=SYS02"; | |
| 44 | - | |
| 45 | - window.open(url ,'ctgy',' scrollbars=yes, resizable=yes, left=0, top=0, width=900,height=650'); | |
| 46 | - return false; | |
| 47 | - }); | |
| 48 | - | |
| 49 | - $() | |
| 50 | -}); | |
| 51 | -</script> | |
| 52 | -<style> | |
| 53 | -.overarea{width:100%;overflow:scroll;} | |
| 54 | -.box_basecode{width:2800px;} | |
| 55 | -td{text-align:center;} | |
| 56 | -td.tit{text-align:left;} | |
| 57 | -</style> | |
| 58 | -<div id="cntnts"> | |
| 59 | - <div class="overarea"> | |
| 60 | - <div class="box_basecode"> | |
| 61 | - <table class="chart3"> | |
| 62 | - <colgroup> | |
| 63 | - <col width="110px;"/> | |
| 64 | - <col width="200px;"/> | |
| 65 | - <col width="120px"/> | |
| 66 | - <col width="130px"/> | |
| 67 | - <col width="180px"/> | |
| 68 | - <col width="140px"/> | |
| 69 | - <col width="50px"/> | |
| 70 | - <col width="190px"/> | |
| 71 | - <col width="50px"/> | |
| 72 | - <col width="90px"/> | |
| 73 | - <col width="60px"/> | |
| 74 | - <col width="*"/> | |
| 75 | - <col width="50px"/> | |
| 76 | - <col width="50px"/> | |
| 77 | - <col width="50px"/> | |
| 78 | - <col width="90px"/> | |
| 79 | - <col width="90px"/> | |
| 80 | - <col width="100px"/> | |
| 81 | - <col width="60px"/> | |
| 82 | - <col width="50px"/> | |
| 83 | - <col width="90px"/> | |
| 84 | - <col width="110px"/> | |
| 85 | - <col width="80px"/> | |
| 86 | - <col width="110px"/> | |
| 87 | - <col width="180px"/> | |
| 88 | - <col width="120px"/> | |
| 89 | - </colgroup> | |
| 90 | - <thead> | |
| 91 | - <tr> | |
| 92 | - <th rowspan="3" class="incarnadine">이수구분</th> | |
| 93 | - <th rowspan="3" class="incarnadine">관리구분</th> | |
| 94 | - <th rowspan="3" class="incarnadine">강의유형</th> | |
| 95 | - <th rowspan="3" class="incarnadine">비강의유형</th> | |
| 96 | - <th rowspan="3" class="incarnadine">평가</th> | |
| 97 | - <th rowspan="2" colspan="2" class="purple">언어코드</th> | |
| 98 | - <th rowspan="2" colspan="2" class="purple">주관기관</th> | |
| 99 | - <th rowspan="2" colspan="3" class="whiteblue">수료기준</th> | |
| 100 | - <th colspan="3" class="green">성적기준</th> | |
| 101 | - <th rowspan="2" colspan="2" class="pink">총괄평가기준</th> | |
| 102 | - <th rowspan="3" class="gray">수업영역</th> | |
| 103 | - <th rowspan="2" colspan="2" class="blue">레벨</th> | |
| 104 | - <th rowspan="2" colspan="2" class="purple2">대상</th> | |
| 105 | - <th rowspan="3" class="gray">학기</th> | |
| 106 | - <th rowspan="3" class="blue2">교육장소</th> | |
| 107 | - <th rowspan="2" colspan="2" class="purple2">사업비</th> | |
| 108 | - </tr> | |
| 109 | - <tr> | |
| 110 | - <th colspan="2" class="green">Letter Grade</th> | |
| 111 | - <th rowspan="2" class="green">P/F</th> | |
| 112 | - </tr> | |
| 113 | - <tr> | |
| 114 | - <th class="purple">구분</th> | |
| 115 | - <th class="purple">코드</th> | |
| 116 | - <th class="purple">구분</th> | |
| 117 | - <th class="purple">코드</th> | |
| 118 | - <th class="whiteblue">구분</th> | |
| 119 | - <th class="whiteblue">기준</th> | |
| 120 | - <th class="whiteblue">설명</th> | |
| 121 | - <th class="green">등급</th> | |
| 122 | - <th class="green">평점</th> | |
| 123 | - <th class="pink">1depth</th> | |
| 124 | - <th class="pink">2depth</th> | |
| 125 | - <th class="blue">1depth</th> | |
| 126 | - <th class="blue">2depth</th> | |
| 127 | - <th class="purple2">본교생여부<br/>(Y/N)</th> | |
| 128 | - <th class="purple2"></th> | |
| 129 | - <th class="purple2">1depth</th> | |
| 130 | - <th class="purple2">2depth</th> | |
| 131 | - </tr> | |
| 132 | - </thead> | |
| 133 | - <tbody> | |
| 134 | - <%-- Letter Grade 등급 --%> | |
| 135 | - <c:set var="lgTypeListSplit"> | |
| 136 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000011}"> | |
| 137 | - <c:if test="${result.upperCtgryId eq 'CTG_0000000000000090'}"> | |
| 138 | - ,${result.ctgryNm} | |
| 139 | - </c:if> | |
| 140 | - </c:forEach> | |
| 141 | - </c:set> | |
| 142 | - <c:set var="lgTypeList" value="${fn:split(lgTypeListSplit,',')}"/> | |
| 143 | - | |
| 144 | - <%-- Letter Grade 평점 --%> | |
| 145 | - <c:set var="lgValListSplit"> | |
| 146 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000011}"> | |
| 147 | - <c:if test="${result.upperCtgryId eq 'CTG_0000000000000090'}"> | |
| 148 | - ,${result.ctgryVal} | |
| 149 | - </c:if> | |
| 150 | - </c:forEach> | |
| 151 | - </c:set> | |
| 152 | - <c:set var="lgValList" value="${fn:split(lgValListSplit,',')}"/> | |
| 153 | - | |
| 154 | - <%-- P/F --%> | |
| 155 | - <c:set var="pfListSplit"> | |
| 156 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000011}"> | |
| 157 | - <c:if test="${result.upperCtgryId eq 'CTG_0000000000000091'}"> | |
| 158 | - ,${result.ctgryNm} | |
| 159 | - </c:if> | |
| 160 | - </c:forEach> | |
| 161 | - </c:set> | |
| 162 | - <c:set var="pfList" value="${fn:split(pfListSplit,',')}"/> | |
| 163 | - | |
| 164 | - <%-- 총괄평가기준 Depth1 --%> | |
| 165 | - <c:set var="totalD1ListSplit"> | |
| 166 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000012}"> | |
| 167 | - <c:if test="${result.ctgryLevel eq '1'}"> | |
| 168 | - ,${result.ctgryNm} | |
| 169 | - </c:if> | |
| 170 | - </c:forEach> | |
| 171 | - </c:set> | |
| 172 | - <c:set var="totalD1List" value="${fn:split(totalD1ListSplit,',')}"/> | |
| 173 | - | |
| 174 | - <%-- 총괄평가기준 Depth2 --%> | |
| 175 | - <c:set var="totalD2ListSplit"> | |
| 176 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000012}"> | |
| 177 | - <c:if test="${result.ctgryLevel eq '2'}"> | |
| 178 | - ,${result.ctgryNm} | |
| 179 | - </c:if> | |
| 180 | - </c:forEach> | |
| 181 | - </c:set> | |
| 182 | - <c:set var="total2DList" value="${fn:split(totalD2ListSplit,',')}"/> | |
| 183 | - | |
| 184 | - <%-- 레벨 Depth1 --%> | |
| 185 | - <c:set var="lvlD1ListSplit"> | |
| 186 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000014}"> | |
| 187 | - <c:if test="${result.ctgryLevel eq '1'}"> | |
| 188 | - ,${result.ctgryNm} | |
| 189 | - </c:if> | |
| 190 | - </c:forEach> | |
| 191 | - </c:set> | |
| 192 | - <c:set var="lvlD1List" value="${fn:split(lvlD1ListSplit,',')}"/> | |
| 193 | - | |
| 194 | - <%-- 레벨 Depth2 --%> | |
| 195 | - <c:set var="lvlD2ListSplit"> | |
| 196 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000014}"> | |
| 197 | - <c:if test="${result.ctgryLevel eq '2'}"> | |
| 198 | - ,${result.ctgryNm} | |
| 199 | - </c:if> | |
| 200 | - </c:forEach> | |
| 201 | - </c:set> | |
| 202 | - <c:set var="lvlD2List" value="${fn:split(lvlD2ListSplit,',')}"/> | |
| 203 | - | |
| 204 | - <%-- 사업비 Depth1 --%> | |
| 205 | - <c:set var="feeD1ListSplit"> | |
| 206 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000018}"> | |
| 207 | - <c:if test="${result.ctgryLevel eq '1'}"> | |
| 208 | - ,${result.ctgryNm} | |
| 209 | - </c:if> | |
| 210 | - </c:forEach> | |
| 211 | - </c:set> | |
| 212 | - <c:set var="feeD1List" value="${fn:split(feeD1ListSplit,',')}"/> | |
| 213 | - | |
| 214 | - <%-- 사업비 Depth2 --%> | |
| 215 | - <c:set var="feeD2ListSplit"> | |
| 216 | - <c:forEach var="result" items="${resultList.CTGMST_0000000000018}"> | |
| 217 | - <c:if test="${result.ctgryLevel eq '2'}"> | |
| 218 | - ,${result.ctgryNm} | |
| 219 | - </c:if> | |
| 220 | - </c:forEach> | |
| 221 | - </c:set> | |
| 222 | - <c:set var="feeD2List" value="${fn:split(feeD2ListSplit,',')}"/> | |
| 223 | - | |
| 224 | - <c:forEach var="i" begin="1" end="${listSize - 2}" step="1" varStatus="status"> | |
| 225 | - <tr> | |
| 226 | - <td> | |
| 227 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000003" data-name="이수구분"> | |
| 228 | - <c:out value="${resultList.CTGMST_0000000000003[i].ctgryNm}"/> | |
| 229 | - </a> | |
| 230 | - </td> | |
| 231 | - <td> | |
| 232 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000005" data-name="관리구분"> | |
| 233 | - <c:out value="${resultList.CTGMST_0000000000005[i].ctgryNm}"/> | |
| 234 | - </a> | |
| 235 | - </td> | |
| 236 | - <td> | |
| 237 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000006" data-name="강의유형"> | |
| 238 | - <c:out value="${resultList.CTGMST_0000000000006[i].ctgryNm}"/> | |
| 239 | - </a> | |
| 240 | - </td> | |
| 241 | - <td> | |
| 242 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000007" data-name="비강의유형"> | |
| 243 | - <c:out value="${resultList.CTGMST_0000000000007[i].ctgryNm}"/> | |
| 244 | - </a> | |
| 245 | - </td> | |
| 246 | - <td> | |
| 247 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000008" data-name="평가"> | |
| 248 | - <c:out value="${resultList.CTGMST_0000000000008[i].ctgryNm}"/> | |
| 249 | - </a> | |
| 250 | - </td> | |
| 251 | - | |
| 252 | - <td> | |
| 253 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000002" data-name="언어코드"> | |
| 254 | - <c:out value="${resultList.CTGMST_0000000000002[i].ctgryNm}"/> | |
| 255 | - </a> | |
| 256 | - </td> | |
| 257 | - <td> | |
| 258 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000002" data-name="언어코드"> | |
| 259 | - <c:out value="${resultList.CTGMST_0000000000002[i].ctgryId}"/> | |
| 260 | - </a> | |
| 261 | - </td> | |
| 262 | - <td> | |
| 263 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000009" data-name="주관기관"> | |
| 264 | - <c:out value="${resultList.CTGMST_0000000000009[i].ctgryNm}"/> | |
| 265 | - </a> | |
| 266 | - </td> | |
| 267 | - <td> | |
| 268 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000009" data-name="주관기관"> | |
| 269 | - <c:out value="${resultList.CTGMST_0000000000009[i].ctgryId}"/> | |
| 270 | - </a> | |
| 271 | - </td> | |
| 272 | - | |
| 273 | - <td> | |
| 274 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000010" data-name="수료기준"> | |
| 275 | - <c:out value="${resultList.CTGMST_0000000000010[i].ctgryNm}"/> | |
| 276 | - </a> | |
| 277 | - </td> | |
| 278 | - <td> | |
| 279 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000010" data-name="수료기준"> | |
| 280 | - <c:out value="${resultList.CTGMST_0000000000010[i].ctgryVal}"/> | |
| 281 | - </a> | |
| 282 | - </td> | |
| 283 | - <td class="tit"> | |
| 284 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000010" data-name="수료기준"> | |
| 285 | - <c:out value="${resultList.CTGMST_0000000000010[i].ctgryCn}"/> | |
| 286 | - </a> | |
| 287 | - </td> | |
| 288 | - | |
| 289 | - <td> | |
| 290 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000011" data-name="성적기준"> | |
| 291 | - <c:out value="${lgTypeList[i-1]}"/> | |
| 292 | - </a> | |
| 293 | - </td> | |
| 294 | - <td> | |
| 295 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000011" data-name="성적기준"> | |
| 296 | - <c:out value="${lgValList[i-1]}"/> | |
| 297 | - </a> | |
| 298 | - </td> | |
| 299 | - <td> | |
| 300 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000011" data-name="성적기준"> | |
| 301 | - <c:out value="${pfList[i-1]}"/> | |
| 302 | - </a> | |
| 303 | - </td> | |
| 304 | - | |
| 305 | - <c:if test="${i ne 2 and i ne 3}"> | |
| 306 | - <td <c:if test="${i eq 1}">rowspan="3"</c:if>> | |
| 307 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000012" data-name="총괄평가기준"> | |
| 308 | - <c:choose> | |
| 309 | - <c:when test="${i > 1}"><c:out value="${totalD1List[i-3]}"/></c:when> | |
| 310 | - <c:otherwise><c:out value="${totalD1List[i-1]}"/></c:otherwise> | |
| 311 | - </c:choose> | |
| 312 | - </a> | |
| 313 | - </td> | |
| 314 | - </c:if> | |
| 315 | - <td> | |
| 316 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000012" data-name="총괄평가기준"> | |
| 317 | - <c:out value="${total2DList[i-1]}"/> | |
| 318 | - </a> | |
| 319 | - </td> | |
| 320 | - | |
| 321 | - <td> | |
| 322 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000013" data-name="수업영역"> | |
| 323 | - <c:out value="${resultList.CTGMST_0000000000013[i].ctgryNm}"/> | |
| 324 | - </a> | |
| 325 | - </td> | |
| 326 | - | |
| 327 | - <c:if test="${i ne 2 and i ne 3 and i ne 5 and i ne 7}"> | |
| 328 | - <td <c:if test="${i eq 1}">rowspan="3"</c:if> <c:if test="${i eq 4 or i eq 6}">rowspan="2"</c:if>> | |
| 329 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000014" data-name="레벨"> | |
| 330 | - <c:choose> | |
| 331 | - <c:when test="${i eq 1}"><c:out value="${lvlD1List[i-1]}"/></c:when> | |
| 332 | - <c:when test="${i eq 4}"><c:out value="${lvlD1List[i-3]}"/></c:when> | |
| 333 | - <c:when test="${i eq 6}"><c:out value="${lvlD1List[i-4]}"/></c:when> | |
| 334 | - </c:choose> | |
| 335 | - </a> | |
| 336 | - </td> | |
| 337 | - </c:if> | |
| 338 | - <td> | |
| 339 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000014" data-name="레벨"> | |
| 340 | - <c:out value="${lvlD2List[i-1]}"/> | |
| 341 | - </a> | |
| 342 | - </td> | |
| 343 | - | |
| 344 | - | |
| 345 | - <c:if test="${i eq 1 or i eq 4 or i > 6}"> | |
| 346 | - <td <c:if test="${i eq 1 or i eq 4 }">rowspan="3"</c:if>> | |
| 347 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000015" data-name="대상"> | |
| 348 | - <c:choose> | |
| 349 | - <c:when test="${i eq 1}">일반(N)</c:when> | |
| 350 | - <c:when test="${i eq 4}">본교생(Y)</c:when> | |
| 351 | - </c:choose> | |
| 352 | - </a> | |
| 353 | - </td> | |
| 354 | - </c:if> | |
| 355 | - <td> | |
| 356 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000015" data-name="대상"> | |
| 357 | - <c:choose> | |
| 358 | - <c:when test="${i < 4}"><c:out value="${resultList.CTGMST_0000000000015[i].ctgryNm}"/></c:when> | |
| 359 | - <c:when test="${i > 3}"><c:out value="${resultList.CTGMST_0000000000015[i-3].ctgryNm}"/></c:when> | |
| 360 | - </c:choose> | |
| 361 | - </a> | |
| 362 | - </td> | |
| 363 | - | |
| 364 | - <td> | |
| 365 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000016" data-name="학기"> | |
| 366 | - <c:out value="${resultList.CTGMST_0000000000016[i].ctgryNm}"/> | |
| 367 | - </a> | |
| 368 | - </td> | |
| 369 | - | |
| 370 | - <td> | |
| 371 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000017" data-name="교육장소"> | |
| 372 | - <c:out value="${resultList.CTGMST_0000000000017[i].ctgryNm}"/> | |
| 373 | - </a> | |
| 374 | - </td> | |
| 375 | - | |
| 376 | - <c:if test="${i eq 1 or i eq 8 or i > 14}"> | |
| 377 | - <td <c:if test="${i eq 1 or i eq 8}">rowspan="7"</c:if>> | |
| 378 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000018" data-name="사업비"> | |
| 379 | - <c:choose> | |
| 380 | - <c:when test="${i eq 1}"><c:out value="${feeD1List[0]}"/></c:when> | |
| 381 | - <c:when test="${i eq 8}"><c:out value="${feeD1List[1]}"/></c:when> | |
| 382 | - <c:when test="${i eq 15}"><c:out value="${feeD1List[2]}"/></c:when> | |
| 383 | - </c:choose> | |
| 384 | - </a> | |
| 385 | - </td> | |
| 386 | - </c:if> | |
| 387 | - <td> | |
| 388 | - <a href="#" class="btn_code" data-id="CTGMST_0000000000018" data-name="사업비"> | |
| 389 | - <c:out value="${feeD2List[i-1]}"/> | |
| 390 | - </a> | |
| 391 | - </td> | |
| 392 | - | |
| 393 | - </tr> | |
| 394 | - </c:forEach> | |
| 395 | - </tbody> | |
| 396 | - </table> | |
| 397 | - </div> | |
| 398 | - </div> | |
| 399 | -</div> | |
| 400 | -<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryMasterRegist.jsp
... | ... | @@ -1,110 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 9 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 10 | -<c:set var="_MODE" value=""/> | |
| 11 | -<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs/ctg"/> | |
| 12 | -<c:set var="_ACTION" value=""/> | |
| 13 | - | |
| 14 | -<c:choose> | |
| 15 | - <c:when test="${empty searchVO.ctgrymasterId}"> | |
| 16 | - <c:set var="_MODE" value="REG"/> | |
| 17 | - <c:set var="_ACTION" value="${_PREFIX}/insertBBSCtgryMaster.do"/> | |
| 18 | - </c:when> | |
| 19 | - <c:otherwise> | |
| 20 | - <c:set var="_MODE" value="UPT"/> | |
| 21 | - <c:set var="_ACTION" value="${_PREFIX}/updateBBSCtgryMaster.do"/> | |
| 22 | - </c:otherwise> | |
| 23 | -</c:choose> | |
| 24 | - | |
| 25 | -<c:choose> | |
| 26 | - <c:when test="${searchVO.sysTyCode eq 'SYS02'}"> | |
| 27 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 28 | - <c:param name="menu" value="CURRICULUM_MANAGE"/> | |
| 29 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 30 | - <c:param name="depth2" value=""/> | |
| 31 | - <c:param name="title" value="과정코드관리"/> | |
| 32 | - </c:import> | |
| 33 | - </c:when> | |
| 34 | - <c:otherwise> | |
| 35 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 36 | - <c:param name="menu" value="BOARD_MANAGE"/> | |
| 37 | - <c:param name="depth1" value="CTGRY_ADMIN"/> | |
| 38 | - <c:param name="depth2" value=""/> | |
| 39 | - <c:param name="title" value="카테고리관리"/> | |
| 40 | - </c:import> | |
| 41 | - </c:otherwise> | |
| 42 | -</c:choose> | |
| 43 | - | |
| 44 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 45 | -<validator:javascript formName="ctgryMaster" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 46 | -<script type="text/javaScript" language="javascript" defer="defer"> | |
| 47 | -<!-- | |
| 48 | -function fn_egov_regist(frm) { | |
| 49 | - | |
| 50 | - if (!validateCtgryMaster(frm)){ | |
| 51 | - return false; | |
| 52 | - } | |
| 53 | - | |
| 54 | - if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 55 | - return false; | |
| 56 | - } | |
| 57 | - | |
| 58 | -} | |
| 59 | - | |
| 60 | -// --> | |
| 61 | -</script> | |
| 62 | - | |
| 63 | -<div id="cntnts"> | |
| 64 | - | |
| 65 | -<form:form commandName="ctgryMaster" name="ctgryMaster" action="${_ACTION}" method="post" onsubmit="return fn_egov_regist(this)"> | |
| 66 | - | |
| 67 | - <form:hidden path="siteId"/> | |
| 68 | - <form:hidden path="sysTyCode"/> | |
| 69 | - | |
| 70 | - <form:hidden path="ctgrymasterId"/> | |
| 71 | - | |
| 72 | - <!-- 검색조건 유지 --> | |
| 73 | - <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/> | |
| 74 | - <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/> | |
| 75 | - <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 76 | - | |
| 77 | - <table class="chart2"> | |
| 78 | - <caption>등록폼</caption> | |
| 79 | - <colgroup> | |
| 80 | - <col class="co1"/> | |
| 81 | - <col class="co2"/> | |
| 82 | - </colgroup> | |
| 83 | - <tbody> | |
| 84 | - <tr> | |
| 85 | - <th><em>*</em> <label>대분류명</label></th> | |
| 86 | - <td> | |
| 87 | - <form:input path="ctgrymasterNm" cssClass="inp_long"/> | |
| 88 | - <br/><form:errors path="ctgrymasterNm" /> | |
| 89 | - </td> | |
| 90 | - </tr> | |
| 91 | - </tbody> | |
| 92 | - </table> | |
| 93 | - | |
| 94 | - <div class="btn_r"> | |
| 95 | - <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/> | |
| 96 | - <c:url var="listUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"> | |
| 97 | - <c:param name="siteId" value="${searchVO.siteId}" /> | |
| 98 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}" /> | |
| 99 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 100 | - <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 101 | - <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 102 | - </c:url> | |
| 103 | - <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a> | |
| 104 | - </div> | |
| 105 | - | |
| 106 | -</form:form> | |
| 107 | - | |
| 108 | -</div> | |
| 109 | - | |
| 110 | -<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/ctg/EgovBBSCtgryRegist.jsp
... | ... | @@ -1,188 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 9 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 10 | -<c:set var="_JS" value="${pageContext.request.contextPath}/resources/template/manage/js"/> | |
| 11 | -<c:set var="_C_IMG" value="${pageContext.request.contextPath}/template/common/images"/> | |
| 12 | -<c:set var="_MODE" value=""/> | |
| 13 | -<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs/ctg"/> | |
| 14 | -<c:set var="_ACTION" value=""/> | |
| 15 | - | |
| 16 | -<c:choose> | |
| 17 | - <c:when test="${empty searchVO.ctgryId}"> | |
| 18 | - <c:set var="_MODE" value="REG"/> | |
| 19 | - <c:set var="_ACTION" value="${_PREFIX}/insertBBSCtgry.do"/> | |
| 20 | - </c:when> | |
| 21 | - <c:otherwise> | |
| 22 | - <c:set var="_MODE" value="UPT"/> | |
| 23 | - <c:set var="_ACTION" value="${_PREFIX}/updateBBSCtgry.do"/> | |
| 24 | - </c:otherwise> | |
| 25 | -</c:choose> | |
| 26 | - | |
| 27 | -<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 28 | - <c:param name="title" value="${param.ctgrymasterNm}"/> | |
| 29 | -</c:import> | |
| 30 | - | |
| 31 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 32 | -<validator:javascript formName="ctgry" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 33 | -<script type="text/javascript" src="${_JS}/select_design.js"></script> | |
| 34 | -<script type="text/javaScript" language="javascript" defer="defer"> | |
| 35 | -<!-- | |
| 36 | - | |
| 37 | - | |
| 38 | -function fn_egov_regist(frm) { | |
| 39 | - if (!validateCtgry(frm)){ | |
| 40 | - return false; | |
| 41 | - } | |
| 42 | - | |
| 43 | - if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 44 | - return false; | |
| 45 | - } | |
| 46 | -} | |
| 47 | - | |
| 48 | -// --> | |
| 49 | -</script> | |
| 50 | -<style type="text/css"> | |
| 51 | -<!-- | |
| 52 | -.selectBoxSelectedAreaGlobal { | |
| 53 | - color:#626262; | |
| 54 | - font-size:12px; | |
| 55 | - font-family:dotum; | |
| 56 | - font-weight:normal; | |
| 57 | - background-color:#f5f5f5; | |
| 58 | - padding-top:2px; | |
| 59 | - line-height:22px; | |
| 60 | - padding-left:5px; | |
| 61 | - letter-spacing:-1px; | |
| 62 | -} | |
| 63 | -.selectBoxSelectedAreaFocusGlobal { | |
| 64 | - color:#626262; | |
| 65 | - font-size:12px; | |
| 66 | - font-weight:normal; | |
| 67 | - font-family:dotum; | |
| 68 | - background-color:#f5f5f5; | |
| 69 | - padding-top:2px; | |
| 70 | - line-height:22px; | |
| 71 | - padding-left:5px; | |
| 72 | - letter-spacing:-1px; | |
| 73 | -} | |
| 74 | -.selectBoxOptionGlobal { | |
| 75 | - color:#626262; | |
| 76 | - font-size:12px; | |
| 77 | - font-family:dotum; | |
| 78 | - font-weight:normal; | |
| 79 | - background-color:#f5f5f5; | |
| 80 | - padding-top:2px; | |
| 81 | - line-height:22px; | |
| 82 | - padding-left:5px; | |
| 83 | - letter-spacing:-1px; | |
| 84 | -} | |
| 85 | -.selectBoxOptionOverGlobal { | |
| 86 | - color:#626262; | |
| 87 | - font-size:12px; | |
| 88 | - font-family:dotum; | |
| 89 | - font-weight:normal; | |
| 90 | - background-color:#e6e6e6; | |
| 91 | - padding-top:2px; | |
| 92 | - line-height:22px; | |
| 93 | - padding-left:5px; | |
| 94 | - letter-spacing:-1px; | |
| 95 | -} | |
| 96 | -.selectBoxOptionInnerLayer { | |
| 97 | - overflow:auto; | |
| 98 | - background-color:#f5f5f5; | |
| 99 | - scrollbar-face-color:#F3F3F3; | |
| 100 | - scrollbar-shadow-color:#6C6C6C; | |
| 101 | - scrollbar-highlight-color:#FFFFFF; | |
| 102 | - scrollbar-3dlight-color:#C9C9C9; | |
| 103 | - scrollbar-darkshadow-color:#FFFFFF; | |
| 104 | - scrollbar-track-color:#F3F3F3; | |
| 105 | - scrollbar-arrow-color:#000000; | |
| 106 | -} | |
| 107 | ---> | |
| 108 | -</style> | |
| 109 | -<div id="cntnts"> | |
| 110 | - | |
| 111 | -<form:form commandName="ctgry" name="ctgry" action="${_ACTION}" method="post" onsubmit="return fn_egov_regist(this)"> | |
| 112 | - | |
| 113 | - <input type="hidden" name="ctgrymasterNm" value="${param.ctgrymasterNm}"/> | |
| 114 | - <input type="hidden" name="type" value="${param.type}"/> | |
| 115 | - <input type="hidden" name="sysTyCode" value="${param.sysTyCode}"/> | |
| 116 | - <form:hidden path="ctgrymasterId"/> | |
| 117 | - <form:hidden path="ctgryId"/> | |
| 118 | - <form:hidden path="sortOrdr"/> | |
| 119 | - | |
| 120 | - <table class="chart2"> | |
| 121 | - <caption>등록폼</caption> | |
| 122 | - <colgroup> | |
| 123 | - <col class="co1"/> | |
| 124 | - <col class="co2"/> | |
| 125 | - </colgroup> | |
| 126 | - <tbody> | |
| 127 | - <%-- | |
| 128 | - <tr> | |
| 129 | - <th><label>대분류명</label></th> | |
| 130 | - <td><c:out value='${param.ctgrymasterNm}'/></td> | |
| 131 | - </tr> | |
| 132 | - --%> | |
| 133 | - <tr> | |
| 134 | - <th><em>*</em> <label>상위카테고리</label></th> | |
| 135 | - <td> | |
| 136 | - <select name="upperCtgryId" id="upperCtgryId" style="width:300px;height:21px;display:none;"> | |
| 137 | - <c:forEach var="result" items="${ctgryList}" varStatus="status"> | |
| 138 | - <option value="${result.ctgryId}" <c:if test="${result.ctgryId == ctgry.upperCtgryId}">selected="selected"</c:if> ><c:forEach begin="1" end="${result.ctgryLevel}" step="1"> </c:forEach><c:if test="${result.ctgryLevel ne 0}"><img src=${_IMG}/btn/folder_${result.ctgryLevel}.gif> </c:if><c:out value="${result.ctgryNm}"/></option> | |
| 139 | - </c:forEach> | |
| 140 | - </select> | |
| 141 | - <script> | |
| 142 | - makeSelectBoxGlobal("upperCtgryId", "selectBoxSelectedAreaGlobal", "white", "${_IMG}/btn/select_btn.gif", "selectBoxOptionGlobal", "selectBoxSelectedAreaFocusGlobal", "selectBoxOptionOverGlobal"); | |
| 143 | - </script> | |
| 144 | - </td> | |
| 145 | - </tr> | |
| 146 | - <tr> | |
| 147 | - <th><em>*</em> <label>카테고리명</label></th> | |
| 148 | - <td> | |
| 149 | - <form:input path="ctgryNm" cssClass="inp_long"/> | |
| 150 | - <br/><form:errors path="ctgryNm" /> | |
| 151 | - </td> | |
| 152 | - </tr> | |
| 153 | - <c:if test="${param.sysTyCode eq 'SYS02'}"> | |
| 154 | - <tr> | |
| 155 | - <th><label>카테고리 서브값</label></th> | |
| 156 | - <td> | |
| 157 | - <form:input path="ctgryVal" cssClass="inp_long"/> | |
| 158 | - </td> | |
| 159 | - </tr> | |
| 160 | - <tr> | |
| 161 | - <th><label>카테고리 설명</label></th> | |
| 162 | - <td> | |
| 163 | - <form:textarea path="ctgryCn" cssClass="inp_long" cssStyle="height:150px;"/> | |
| 164 | - </td> | |
| 165 | - </tr> | |
| 166 | - </c:if> | |
| 167 | - </tbody> | |
| 168 | - </table> | |
| 169 | - | |
| 170 | - <div class="btn_r"> | |
| 171 | - <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/> | |
| 172 | - <c:url var="listUrl" value="/mng/cop/bbs/ctg/selectBBSCtgryList.do"> | |
| 173 | - <c:param name="ctgrymasterId" value="${searchVO.ctgrymasterId}" /> | |
| 174 | - <c:param name="ctgrymasterNm" value="${param.ctgrymasterNm}" /> | |
| 175 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 176 | - <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 177 | - <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 178 | - <c:if test="${not empty param.type}"><c:param name="type" value="${param.type}"/></c:if> | |
| 179 | - <c:if test="${not empty param.sysTyCode}"><c:param name="sysTyCode" value="${param.sysTyCode}"/></c:if> | |
| 180 | - </c:url> | |
| 181 | - <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a> | |
| 182 | - </div> | |
| 183 | - | |
| 184 | -</form:form> | |
| 185 | - | |
| 186 | -</div> | |
| 187 | - | |
| 188 | -<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryList.jsp
... | ... | @@ -1,21 +1,13 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 8 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 9 |
-<c:set var="_C_IMG" value="${pageContext.request.contextPath}/template/common/images"/>
|
|
| 10 |
-<c:set var="_C_JS" value="${pageContext.request.contextPath}/template/common/js"/>
|
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 12 | 4 |
<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs"/>
|
| 13 | 5 |
|
| 14 | 6 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 15 | 7 |
<c:param name="title" value="소스 복원"/> |
| 16 | 8 |
</c:import> |
| 17 | 9 |
|
| 18 |
-<script type="text/javascript" language="javascript"> |
|
| 10 |
+<script> |
|
| 19 | 11 |
function fn_egov_Rollback(id){
|
| 20 | 12 |
|
| 21 | 13 |
if(confirm("복원하시겠습니까?")){
|
... | ... | @@ -28,61 +20,53 @@ |
| 28 | 20 |
</c:if> |
| 29 | 21 |
</script> |
| 30 | 22 |
|
| 31 |
-<div id="cntnts"> |
|
| 32 |
- |
|
| 33 |
- |
|
| 34 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 35 |
- |
|
| 36 |
- <table class="chart_board"> |
|
| 37 |
- <colgroup> |
|
| 38 |
- <col class="co1"/> |
|
| 39 |
- <col class="co3"/> |
|
| 40 |
- <col class="co6"/> |
|
| 41 |
- </colgroup> |
|
| 42 |
- <thead> |
|
| 43 |
- <tr> |
|
| 44 |
- <th>번호</th> |
|
| 45 |
- <th>변경일자</th> |
|
| 46 |
- <th>복원</th> |
|
| 47 |
- </tr> |
|
| 48 |
- </thead> |
|
| 49 |
- <tbody> |
|
| 50 |
- |
|
| 51 |
- |
|
| 52 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 53 |
- <tr> |
|
| 54 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 55 |
- <td> |
|
| 56 |
- <c:url var="viewUrl" value="/mng/cop/com/selectBbsSourcHistory.do"> |
|
| 57 |
- <c:param name="bbsSourcHistId" value="${result.bbsSourcHistId}" />
|
|
| 58 |
- <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 59 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 60 |
- </c:url> |
|
| 61 |
- <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 62 |
- </td> |
|
| 63 |
- <td><a href="#" onclick="fn_egov_Rollback('${result.bbsSourcHistId}'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 64 |
- </tr> |
|
| 65 |
- </c:forEach> |
|
| 66 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 67 |
- <tr> |
|
| 68 |
- <td colspan="3" ><spring:message code="common.nodata.msg" /></td> |
|
| 69 |
- </tr> |
|
| 70 |
- </c:if> |
|
| 71 |
- |
|
| 72 |
- </tbody> |
|
| 73 |
- </table> |
|
| 74 |
- |
|
| 75 |
- |
|
| 76 |
- <div id="paging"> |
|
| 77 |
- <c:url var="pageUrl" value="/mng/cop/com/selectBbsSourcHistoryList.do"> |
|
| 78 |
- <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 79 |
- </c:url> |
|
| 80 |
- |
|
| 81 |
- <ul> |
|
| 82 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 83 |
- </ul> |
|
| 84 |
- </div> |
|
| 23 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 24 |
+<div class="list-type sm"> |
|
| 25 |
+ <table> |
|
| 26 |
+ <colgroup> |
|
| 27 |
+ <col style="width:110px"> |
|
| 28 |
+ <col> |
|
| 29 |
+ <col style="width:130px"> |
|
| 30 |
+ </colgroup> |
|
| 31 |
+ <thead> |
|
| 32 |
+ <tr> |
|
| 33 |
+ <th scope="col">번호</th> |
|
| 34 |
+ <th scope="col">변경일자</th> |
|
| 35 |
+ <th scope="col">복원</th> |
|
| 36 |
+ </tr> |
|
| 37 |
+ </thead> |
|
| 38 |
+ <tbody> |
|
| 39 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 40 |
+ <tr> |
|
| 41 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 42 |
+ <td data-tit="변경일자"> |
|
| 43 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectBbsSourcHistory.do"> |
|
| 44 |
+ <c:param name="bbsSourcHistId" value="${result.bbsSourcHistId}" />
|
|
| 45 |
+ <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 46 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 47 |
+ </c:url> |
|
| 48 |
+ <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 49 |
+ </td> |
|
| 50 |
+ <td data-tit="복원"> |
|
| 51 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_Rollback('${result.bbsSourcHistId}'); return false;">선택</button>
|
|
| 52 |
+ </td> |
|
| 85 | 53 |
|
| 86 |
-</div> |
|
| 54 |
+ </tr> |
|
| 55 |
+ </c:forEach> |
|
| 56 |
+ |
|
| 57 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 58 |
+ <tr> |
|
| 59 |
+ <td class="" colspan="3"><spring:message code="common.nodata.msg" /></td> |
|
| 60 |
+ </tr> |
|
| 61 |
+ </c:if> |
|
| 62 |
+ </tbody> |
|
| 63 |
+ </table> |
|
| 64 |
+</div> |
|
| 65 |
+<c:url var="pageUrl" value="/mng/cop/com/selectBbsSourcHistoryList.do"> |
|
| 66 |
+ <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 67 |
+</c:url> |
|
| 68 |
+<ul class="paging"> |
|
| 69 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 70 |
+</ul> |
|
| 87 | 71 |
|
| 88 | 72 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcHistoryView.jsp
... | ... | @@ -1,92 +1,107 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 9 |
- |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 12 | 5 |
<c:param name="title" value="소스 복원"/> |
| 13 | 6 |
</c:import> |
| 14 | 7 |
|
| 8 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 9 |
+<script> |
|
| 10 |
+$(document).ready( function() {
|
|
| 15 | 11 |
|
| 12 |
+ $('#tab02').hide();
|
|
| 13 |
+ $('#sourcNm').focus();
|
|
| 16 | 14 |
|
| 17 |
-<div id="cntnts"> |
|
| 18 |
- |
|
| 19 |
- <form:form commandName="bbsSourcVO" name="bbsSourcVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 20 |
- <form:hidden path="bbsSourcId"/> |
|
| 21 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 22 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 23 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 24 |
- |
|
| 25 |
- <fieldset> |
|
| 26 |
- <legend class="hdn">템플릿 입력 폼</legend> |
|
| 27 |
- |
|
| 28 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 29 |
- <caption> </caption> |
|
| 30 |
- <colgroup> |
|
| 31 |
- <col width="150px" /> |
|
| 32 |
- <col width="*" /> |
|
| 33 |
- </colgroup> |
|
| 34 |
- <tbody> |
|
| 35 |
- <tr> |
|
| 36 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 37 |
- <td> |
|
| 38 |
- <c:choose> |
|
| 39 |
- <c:when test="${not empty bbsSourcVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${bbsSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${bbsSourcVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 40 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 41 |
- </c:choose> |
|
| 42 |
- </td> |
|
| 43 |
- </tr> |
|
| 44 |
- <tr> |
|
| 45 |
- <th><label for="listSourc"><spring:message code="cop.listSourc" /></label></th> |
|
| 46 |
- <td> |
|
| 47 |
- <form:textarea path="listSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 48 |
- <div><form:errors path="listSourc"/></div> |
|
| 49 |
- </td> |
|
| 50 |
- </tr> |
|
| 51 |
- <tr> |
|
| 52 |
- <th><label for="viewSourc"><spring:message code="cop.viewSourc" /></label></th> |
|
| 53 |
- <td> |
|
| 54 |
- <form:textarea path="viewSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 55 |
- <div><form:errors path="viewSourc"/></div> |
|
| 56 |
- </td> |
|
| 57 |
- </tr> |
|
| 58 |
- <tr> |
|
| 59 |
- <th><label for="formSourc"><spring:message code="cop.formSourc" /></label></th> |
|
| 60 |
- <td> |
|
| 61 |
- <form:textarea path="formSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 62 |
- <div><form:errors path="formSourc"/></div> |
|
| 63 |
- </td> |
|
| 64 |
- </tr> |
|
| 65 |
- <tr> |
|
| 66 |
- <th><label for="cmSourc"><spring:message code="cop.cmSourc" /></label></th> |
|
| 67 |
- <td> |
|
| 68 |
- <form:textarea path="cmSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 69 |
- <div><form:errors path="cmSourc"/></div> |
|
| 70 |
- </td> |
|
| 71 |
- </tr> |
|
| 72 |
- </tbody> |
|
| 73 |
- <tfoot> |
|
| 74 |
- </tfoot> |
|
| 75 |
- </table> |
|
| 76 |
- |
|
| 77 |
- <div class="btn_r"> |
|
| 78 |
- <c:url var="listUrl" value="/mng/cop/com/selectBbsSourcHistoryList.do"> |
|
| 79 |
- <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 80 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 81 |
- <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 82 |
- <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 83 |
- </c:url> |
|
| 84 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 85 |
- </div> |
|
| 86 |
- |
|
| 87 |
- </fieldset> |
|
| 88 |
- </form:form> |
|
| 15 |
+ var editor = new Array(2); |
|
| 16 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 17 |
+ var textarea = $(this); |
|
| 18 |
+ var mode = textarea.attr("lang");
|
|
| 19 |
+ var editDiv = $("<div>", {
|
|
| 20 |
+ position: "absolute", |
|
| 21 |
+ width:"100%", |
|
| 22 |
+ height:textarea.height() |
|
| 23 |
+ }).insertBefore(textarea); |
|
| 89 | 24 |
|
| 90 |
- </div> |
|
| 25 |
+ textarea.css("display", "none");
|
|
| 26 |
+ |
|
| 27 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 28 |
+ editor[idx].setFontSize("11px");
|
|
| 29 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 30 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 31 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 32 |
+ |
|
| 33 |
+ textarea.closest("#bbsSourcVO").submit(function() {
|
|
| 34 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 35 |
+ }); |
|
| 36 |
+ }); |
|
| 37 |
+}); |
|
| 38 |
+</script> |
|
| 39 |
+ |
|
| 40 |
+<form:form commandName="bbsSourcVO" name="bbsSourcVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 41 |
+ <form:hidden path="bbsSourcId"/> |
|
| 42 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 43 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 44 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 45 |
+ |
|
| 46 |
+ <fieldset> |
|
| 47 |
+ <legend class="hdn">소스 입력 폼</legend> |
|
| 48 |
+ |
|
| 49 |
+ <div class="write-type"> |
|
| 50 |
+ <table> |
|
| 51 |
+ <colgroup> |
|
| 52 |
+ <col style="width:250px" /> |
|
| 53 |
+ <col /> |
|
| 54 |
+ </colgroup> |
|
| 55 |
+ <tbody> |
|
| 56 |
+ <tr> |
|
| 57 |
+ <th>미리보기이미지</th> |
|
| 58 |
+ <td> |
|
| 59 |
+ <ul class="file-list"> |
|
| 60 |
+ <c:choose> |
|
| 61 |
+ <c:when test="${not empty bbsSourcVO.prevewFileNm}">
|
|
| 62 |
+ <li> |
|
| 63 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 64 |
+ </li> |
|
| 65 |
+ </c:when> |
|
| 66 |
+ <c:otherwise> |
|
| 67 |
+ <li> |
|
| 68 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 69 |
+ </li> |
|
| 70 |
+ </c:otherwise> |
|
| 71 |
+ </c:choose> |
|
| 72 |
+ </ul> |
|
| 73 |
+ </td> |
|
| 74 |
+ </tr> |
|
| 75 |
+ <tr> |
|
| 76 |
+ <th><label for="listSourc"><spring:message code="cop.listSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 77 |
+ <td><form:textarea path="listSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 78 |
+ </tr> |
|
| 79 |
+ <tr> |
|
| 80 |
+ <th><label for="viewSourc"><spring:message code="cop.viewSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 81 |
+ <td><form:textarea path="viewSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 82 |
+ </tr> |
|
| 83 |
+ <tr> |
|
| 84 |
+ <th><label for="formSourc"><spring:message code="cop.formSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 85 |
+ <td><form:textarea path="formSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 86 |
+ </tr> |
|
| 87 |
+ <tr> |
|
| 88 |
+ <th><label for="cmSourc"><spring:message code="cop.cmSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 89 |
+ <td><form:textarea path="cmSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 90 |
+ </tr> |
|
| 91 |
+ </tbody> |
|
| 92 |
+ </table> |
|
| 93 |
+ </div> |
|
| 94 |
+ |
|
| 95 |
+ <div class="btn-cont"> |
|
| 96 |
+ <c:url var="listUrl" value="/mng/cop/com/selectBbsSourcHistoryList.do"> |
|
| 97 |
+ <c:param name="bbsSourcId" value="${searchVO.bbsSourcId}" />
|
|
| 98 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 99 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 100 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 101 |
+ </c:url> |
|
| 102 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 103 |
+ </div> |
|
| 104 |
+ </fieldset> |
|
| 105 |
+</form:form> |
|
| 91 | 106 |
|
| 92 | 107 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcList.jsp
... | ... | @@ -1,12 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:choose> |
| 12 | 5 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
... | ... | @@ -25,7 +18,7 @@ |
| 25 | 18 |
</c:choose> |
| 26 | 19 |
|
| 27 | 20 |
|
| 28 |
-<script type="text/javascript" language="javascript"> |
|
| 21 |
+<script> |
|
| 29 | 22 |
function fn_egov_delete(url){
|
| 30 | 23 |
|
| 31 | 24 |
if(confirm("삭제하시겠습니까?")){
|
... | ... | @@ -36,7 +29,7 @@ |
| 36 | 29 |
function fn_egov_view_HisManage(id) {
|
| 37 | 30 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsSourcHistoryList.do?";
|
| 38 | 31 |
url = url + "bbsSourcId=" + id; |
| 39 |
- var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=760,height=650'); |
|
| 32 |
+ var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 40 | 33 |
if(win != null) {
|
| 41 | 34 |
win.focus(); |
| 42 | 35 |
} |
... | ... | @@ -48,141 +41,149 @@ |
| 48 | 41 |
} |
| 49 | 42 |
</script> |
| 50 | 43 |
|
| 44 |
+<div class="fnc-area"> |
|
| 45 |
+ <div class="r-area"> |
|
| 46 |
+ <form name="frm" action ="<c:url value="/mng/cop/com/selectBbsSourcList.do"/>" method="post"> |
|
| 47 |
+ <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 51 | 48 |
|
| 52 |
-<div id="cntnts"> |
|
| 53 |
- |
|
| 54 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 55 |
- |
|
| 56 |
- <table class="chart_board"> |
|
| 57 |
- <colgroup> |
|
| 58 |
- <col class="co1"/> |
|
| 59 |
- <col class="co6"/> |
|
| 60 |
- <col class="co6"/> |
|
| 61 |
- <col class="co3"/> |
|
| 62 |
- <col class="co6"/> |
|
| 63 |
- <c:if test="${USER_INFO.userSe > 10}"><col class="co6"/></c:if>
|
|
| 64 |
- <col class="co6"/> |
|
| 65 |
- </colgroup> |
|
| 66 |
- <thead> |
|
| 67 |
- <tr> |
|
| 68 |
- <th>번호</th> |
|
| 69 |
- <th>미리보기</th> |
|
| 70 |
- <th><spring:message code="cop.sourcSeCode" /></th> |
|
| 71 |
- <th><spring:message code="cop.sourcNm" /></th> |
|
| 72 |
- <th>등록일/수정일</th> |
|
| 73 |
- <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 74 |
- <th> |
|
| 75 |
- <c:choose> |
|
| 76 |
- <c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
|
| 77 |
- <c:otherwise>복원</c:otherwise> |
|
| 78 |
- </c:choose> |
|
| 79 |
- </th> |
|
| 80 |
- </tr> |
|
| 81 |
- </thead> |
|
| 82 |
- <tbody> |
|
| 83 |
- |
|
| 84 |
- |
|
| 85 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 86 |
- <tr> |
|
| 87 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 88 |
- <td> |
|
| 89 |
- <c:choose> |
|
| 90 |
- <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 91 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 92 |
- </c:choose> |
|
| 93 |
- </td> |
|
| 94 |
- <td><c:out value="${result.sourcSeCodeNm}"/></td>
|
|
| 95 |
- <td><c:out value="${result.sourcNm}"/></td>
|
|
| 96 |
- <td> |
|
| 97 |
- <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 98 |
- <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 99 |
- </td> |
|
| 100 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 101 |
- <td> |
|
| 102 |
- <c:url var="viewUrl" value="/mng/cop/com/selectBbsSourc.do"> |
|
| 103 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 104 |
- <c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
|
| 105 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 106 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 107 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 108 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 109 |
- </c:url> |
|
| 110 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 111 |
- <c:url var="delUrl" value="/mng/cop/com/deleteBbsSourc.do"> |
|
| 112 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 113 |
- <c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
|
| 114 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 115 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 116 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 117 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 118 |
- </c:url> |
|
| 119 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 120 |
- </td> |
|
| 121 |
- </c:if> |
|
| 122 |
- <td> |
|
| 123 |
- <c:choose> |
|
| 124 |
- <c:when test="${searchVO.selectMode eq 'Y'}"><a href="#" onclick="fn_egov_selectSourc('<c:out value="${result.bbsSourcId}"/>', '<c:out value="${result.sourcNm}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></c:when>
|
|
| 125 |
- <c:otherwise><a href="#" onclick="fn_egov_view_HisManage('<c:out value="${result.bbsSourcId}"/>');return false;"><img src="${_IMG}/btn/btn_search02.gif" alt="찾기"/></a></c:otherwise>
|
|
| 126 |
- </c:choose> |
|
| 127 |
- </td> |
|
| 128 |
- </tr> |
|
| 129 |
- </c:forEach> |
|
| 130 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 131 |
- <tr> |
|
| 132 |
- <td colspan="7" ><spring:message code="common.nodata.msg" /></td> |
|
| 133 |
- </tr> |
|
| 134 |
- </c:if> |
|
| 135 |
- |
|
| 136 |
- </tbody> |
|
| 137 |
- </table> |
|
| 138 |
- |
|
| 139 |
- |
|
| 140 |
- |
|
| 141 |
- <div id="paging"> |
|
| 142 |
- <c:url var="pageUrl" value="/mng/cop/com/selectBbsSourcList.do?"> |
|
| 143 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 144 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 145 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 146 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 147 |
- </c:url> |
|
| 148 |
- |
|
| 149 |
- <ul> |
|
| 150 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 151 |
- </ul> |
|
| 152 |
- </div> |
|
| 153 |
- |
|
| 154 |
- <div id="bbs_search"> |
|
| 155 |
- <form name="frm" action ="<c:url value="/mng/cop/com/selectBbsSourcList.do"/>" method="post"> |
|
| 156 |
- <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 157 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 158 |
- <select name="searchSourcSeCode" id="searchSourcSeCode" class="searchCate inp"> |
|
| 159 |
- <option value=""><spring:message code="cop.sourcSeCode" /></option> |
|
| 160 |
- <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 161 |
- <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchSourcSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 162 |
- </c:forEach> |
|
| 163 |
- </select> |
|
| 49 |
+ <div class="sch-area"> |
|
| 50 |
+ <div class="sch-option"> |
|
| 51 |
+ <select name="searchSourcSeCode" id="searchSourcSeCode"> |
|
| 52 |
+ <option value=""><spring:message code="cop.sourcSeCode" /></option> |
|
| 53 |
+ <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 54 |
+ <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchSourcSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 55 |
+ </c:forEach> |
|
| 56 |
+ </select> |
|
| 164 | 57 |
<select name="searchCondition" id="searchCondition"> |
| 165 |
- <option selected value=''>분류검색</option> |
|
| 166 |
- <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 167 |
- </select> |
|
| 168 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 169 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 170 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 171 |
- </form> |
|
| 172 |
- </div> |
|
| 173 |
- |
|
| 174 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 175 |
- <div class="btn_r"> |
|
| 176 |
- <c:url var="addUrl" value="/mng/cop/com/addBbsSourc.do"> |
|
| 177 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 178 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 179 |
- </c:url> |
|
| 180 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 181 |
- </div> |
|
| 182 |
- </c:if> |
|
| 58 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 59 |
+ </select> |
|
| 60 |
+ </div> |
|
| 61 |
+ <div class="sch"> |
|
| 62 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 63 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 64 |
+ </div> |
|
| 65 |
+ </div> |
|
| 66 |
+ </form> |
|
| 67 |
+ </div> |
|
| 68 |
+</div> |
|
| 183 | 69 |
|
| 184 |
-</div> |
|
| 70 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 71 |
+<div class="list-type sm"> |
|
| 72 |
+ <table> |
|
| 73 |
+ <colgroup> |
|
| 74 |
+ <col style="width:110px"> |
|
| 75 |
+ <col> |
|
| 76 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><col style="width:100px"></c:if>
|
|
| 77 |
+ <col> |
|
| 78 |
+ <col style="width:160px"> |
|
| 79 |
+ <c:if test="${USER_INFO.userSe > 10}"><col style="width:160px"></c:if>
|
|
| 80 |
+ <col style="width:130px"> |
|
| 81 |
+ </colgroup> |
|
| 82 |
+ <thead> |
|
| 83 |
+ <tr> |
|
| 84 |
+ <th scope="col">번호</th> |
|
| 85 |
+ <th scope="col">미리보기</th> |
|
| 86 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><th><spring:message code="cop.sourcSeCode" /></th></c:if>
|
|
| 87 |
+ <th scope="col"><spring:message code="cop.sourcNm" /></th> |
|
| 88 |
+ <th scope="col">등록일/수정일</th> |
|
| 89 |
+ <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 90 |
+ <th scope="col"> |
|
| 91 |
+ <c:set var="type"> |
|
| 92 |
+ <c:choose> |
|
| 93 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
|
| 94 |
+ <c:otherwise>복원</c:otherwise> |
|
| 95 |
+ </c:choose> |
|
| 96 |
+ </c:set> |
|
| 97 |
+ <c:out value="${type}"/>
|
|
| 98 |
+ </th> |
|
| 99 |
+ </tr> |
|
| 100 |
+ </thead> |
|
| 101 |
+ <tbody> |
|
| 102 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 103 |
+ <tr> |
|
| 104 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 105 |
+ <td data-tit="미리보기"> |
|
| 106 |
+ <c:choose> |
|
| 107 |
+ <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 108 |
+ <c:otherwise><img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 109 |
+ </c:choose> |
|
| 110 |
+ </td> |
|
| 111 |
+ <c:if test="${searchVO.selectMode ne 'Y'}">
|
|
| 112 |
+ <td data-tit="<spring:message code="cop.sourcSeCode" />"><c:out value="${result.sourcSeCodeNm}"/></td>
|
|
| 113 |
+ </c:if> |
|
| 114 |
+ <td data-tit="<spring:message code="cop.sourcNm" />"><c:out value="${result.sourcNm}"/></td>
|
|
| 115 |
+ <td data-tit="등록일/수정일"> |
|
| 116 |
+ <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 117 |
+ <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 118 |
+ </td> |
|
| 119 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 120 |
+ <td data-tit="관리"> |
|
| 121 |
+ <div class="btn-cont"> |
|
| 122 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectBbsSourc.do"> |
|
| 123 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 124 |
+ <c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
|
| 125 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 126 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 127 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 128 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 129 |
+ </c:url> |
|
| 130 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 185 | 131 |
|
| 132 |
+ <c:url var="delUrl" value="/mng/cop/com/deleteBbsSourc.do"> |
|
| 133 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 134 |
+ <c:param name="bbsSourcId" value="${result.bbsSourcId}" />
|
|
| 135 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 136 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 137 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 138 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 139 |
+ </c:url> |
|
| 140 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제" onclick="fn_egov_delete(this.href);return false;"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 141 |
+ </div> |
|
| 142 |
+ </td> |
|
| 143 |
+ </c:if> |
|
| 144 |
+ <td data-tit="${type}">
|
|
| 145 |
+ <c:choose> |
|
| 146 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">
|
|
| 147 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_selectSourc('<c:out value="${result.bbsSourcId}"/>', '<c:out value="${result.sourcNm}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;">선택</button>
|
|
| 148 |
+ </c:when> |
|
| 149 |
+ <c:otherwise> |
|
| 150 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_view_HisManage('<c:out value="${result.bbsSourcId}"/>');return false;">찾기</button>
|
|
| 151 |
+ </c:otherwise> |
|
| 152 |
+ </c:choose> |
|
| 153 |
+ </td> |
|
| 154 |
+ </tr> |
|
| 155 |
+ </c:forEach> |
|
| 156 |
+ |
|
| 157 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 158 |
+ <tr> |
|
| 159 |
+ <td class="" colspan="${searchVO.selectMode eq 'Y' ? '6' : '7'}"><spring:message code="common.nodata.msg" /></td>
|
|
| 160 |
+ </tr> |
|
| 161 |
+ </c:if> |
|
| 162 |
+ </tbody> |
|
| 163 |
+ </table> |
|
| 164 |
+</div> |
|
| 165 |
+ |
|
| 166 |
+<c:url var="pageUrl" value="/mng/cop/com/selectBbsSourcList.do?"> |
|
| 167 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 168 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 169 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 170 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 171 |
+</c:url> |
|
| 172 |
+<ul class="paging"> |
|
| 173 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 174 |
+</ul> |
|
| 175 |
+ |
|
| 176 |
+<c:if test="${USER_INFO.userSe > 10 and searchVO.selectMode ne 'Y'}">
|
|
| 177 |
+ <div class="fnc-area"> |
|
| 178 |
+ <div class="r-area"> |
|
| 179 |
+ <c:url var="addUrl" value="/mng/cop/com/addBbsSourc.do"> |
|
| 180 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 181 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 182 |
+ </c:url> |
|
| 183 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 184 |
+ </div> |
|
| 185 |
+ </div> |
|
| 186 |
+</c:if> |
|
| 186 | 187 |
|
| 187 | 188 |
<c:choose> |
| 188 | 189 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsSourcRegister.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
|
| 10 | 4 |
<c:set var="_MODE" value=""/> |
| 11 | 5 |
|
... | ... | @@ -39,10 +33,10 @@ |
| 39 | 33 |
</c:otherwise> |
| 40 | 34 |
</c:choose> |
| 41 | 35 |
|
| 42 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 36 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 43 | 37 |
<validator:javascript formName="bbsSourcVO" staticJavascript="false" xhtml="true" cdata="false"/> |
| 44 |
- |
|
| 45 |
-<script type="text/javaScript" language="javascript"> |
|
| 38 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 39 |
+<script> |
|
| 46 | 40 |
|
| 47 | 41 |
/* ******************************************************** |
| 48 | 42 |
* 저장처리화면 |
... | ... | @@ -59,6 +53,7 @@ |
| 59 | 53 |
} |
| 60 | 54 |
} |
| 61 | 55 |
|
| 56 |
+var editor = new Array(4); |
|
| 62 | 57 |
function fn_egov_loadOriginSource() {
|
| 63 | 58 |
|
| 64 | 59 |
if(confirm('불러오시겠습니까?')) {
|
... | ... | @@ -70,10 +65,12 @@ |
| 70 | 65 |
$('#viewSourc').val(data.viewSourc);
|
| 71 | 66 |
$('#formSourc').val(data.formSourc);
|
| 72 | 67 |
$('#cmSourc').val(data.cmSourc);
|
| 73 |
- }) |
|
| 74 |
- .success(function() {})
|
|
| 75 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 76 |
- .complete(function() {});
|
|
| 68 |
+ |
|
| 69 |
+ editor[0].getSession().setValue(data.listSourc); |
|
| 70 |
+ editor[1].getSession().setValue(data.viewSourc); |
|
| 71 |
+ editor[2].getSession().setValue(data.formSourc); |
|
| 72 |
+ editor[3].getSession().setValue(data.cmSourc); |
|
| 73 |
+ }); |
|
| 77 | 74 |
} |
| 78 | 75 |
} |
| 79 | 76 |
|
... | ... | @@ -81,7 +78,7 @@ |
| 81 | 78 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsSourcList.do?";
|
| 82 | 79 |
url = url + "selectMode=Y"; |
| 83 | 80 |
|
| 84 |
- var win = window.open(url ,'bbsSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 81 |
+ var win = window.open(url ,'bbsSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 85 | 82 |
if(win != null) {
|
| 86 | 83 |
win.focus(); |
| 87 | 84 |
} |
... | ... | @@ -90,123 +87,151 @@ |
| 90 | 87 |
function fn_egov_updateSourc(id, nm, fileNm) {
|
| 91 | 88 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsCopySource.do?";
|
| 92 | 89 |
url += "bbsSourcId=" + id; |
| 93 |
- |
|
| 94 |
- $.getJSON(url, function(data) {
|
|
| 95 |
- $('#listSourc').val(data.listSourc);
|
|
| 96 |
- $('#viewSourc').val(data.viewSourc);
|
|
| 97 |
- $('#formSourc').val(data.formSourc);
|
|
| 98 |
- $('#cmSourc').val(data.cmSourc);
|
|
| 99 |
- }) |
|
| 100 |
- .success(function() {})
|
|
| 101 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 102 |
- .complete(function() {});
|
|
| 90 |
+ |
|
| 91 |
+ $.getJSON(url, function(data) {
|
|
| 92 |
+ $('#listSourc').val(data.listSourc);
|
|
| 93 |
+ $('#viewSourc').val(data.viewSourc);
|
|
| 94 |
+ $('#formSourc').val(data.formSourc);
|
|
| 95 |
+ $('#cmSourc').val(data.cmSourc);
|
|
| 96 |
+ |
|
| 97 |
+ editor[0].getSession().setValue(data.listSourc); |
|
| 98 |
+ editor[1].getSession().setValue(data.viewSourc); |
|
| 99 |
+ editor[2].getSession().setValue(data.formSourc); |
|
| 100 |
+ editor[3].getSession().setValue(data.cmSourc); |
|
| 101 |
+ }); |
|
| 103 | 102 |
} |
| 104 | 103 |
|
| 104 |
+$(document).ready( function() {
|
|
| 105 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 106 |
+ var textarea = $(this); |
|
| 107 |
+ var mode = textarea.attr("lang");
|
|
| 108 |
+ var editDiv = $("<div>", {
|
|
| 109 |
+ position: "absolute", |
|
| 110 |
+ width:"100%", |
|
| 111 |
+ height:textarea.height() |
|
| 112 |
+ }).insertBefore(textarea); |
|
| 113 |
+ |
|
| 114 |
+ textarea.css("display", "none");
|
|
| 115 |
+ |
|
| 116 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 117 |
+ editor[idx].setFontSize("11px");
|
|
| 118 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 119 |
+ editor[idx].setTheme("ace/theme/chrome");
|
|
| 120 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 121 |
+ |
|
| 122 |
+ textarea.closest("#bbsSourcVO").submit(function() {
|
|
| 123 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 124 |
+ }); |
|
| 125 |
+ }); |
|
| 126 |
+}); |
|
| 105 | 127 |
|
| 106 | 128 |
</script> |
| 107 | 129 |
|
| 130 |
+<form:form commandName="bbsSourcVO" name="bbsSourcVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 131 |
+ <form:hidden path="bbsSourcId"/> |
|
| 132 |
+ <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 133 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 134 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 135 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 136 |
+ <input name="searchSourcSeCode" type="hidden" value="<c:out value='${searchVO.searchSourcSeCode}'/>"/>
|
|
| 108 | 137 |
|
| 109 |
-<div id="cntnts"> |
|
| 110 |
- |
|
| 111 |
- <form:form commandName="bbsSourcVO" name="bbsSourcVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 112 |
- <form:hidden path="bbsSourcId"/> |
|
| 113 |
- <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 114 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 115 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 116 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 117 |
- <input name="searchSourcSeCode" type="hidden" value="<c:out value='${searchVO.searchSourcSeCode}'/>"/>
|
|
| 118 |
- |
|
| 119 |
- <fieldset> |
|
| 138 |
+ <fieldset> |
|
| 120 | 139 |
<legend class="hdn">소스 입력 폼</legend> |
| 121 |
- |
|
| 122 |
- <a href="#" onclick="fn_egov_loadOriginSource(); return false;"><img src="${_IMG}/btn/btn_basic_sauce.gif" alt="기본소스 불러오기"/></a>
|
|
| 123 |
- <a href="#" onclick="fn_egov_selectSourc(); return false;"><img src="${_IMG}/btn/btn_sauce_copy.gif" alt="소스 복사하기"/></a>
|
|
| 124 |
- |
|
| 125 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 126 |
- <caption> </caption> |
|
| 127 |
- <colgroup> |
|
| 128 |
- <col width="150px" /> |
|
| 129 |
- <col width="*" /> |
|
| 130 |
- </colgroup> |
|
| 131 |
- <tbody> |
|
| 132 |
- <tr> |
|
| 133 |
- <th><em>*</em> <label for="sourcSeCode"><spring:message code="cop.sourcSeCode" /></label></th> |
|
| 134 |
- <td> |
|
| 135 |
- <form:select path="sourcSeCode"> |
|
| 136 |
- <form:option value="">선택</form:option> |
|
| 137 |
- <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 138 |
- </form:select> |
|
| 139 |
- <div><form:errors path="sourcSeCode"/></div> |
|
| 140 |
- </td> |
|
| 141 |
- </tr> |
|
| 142 |
- <tr> |
|
| 143 |
- <th><em>*</em> <label for="sourcNm"><spring:message code="cop.sourcNm" /></label></th> |
|
| 144 |
- <td> |
|
| 145 |
- <form:input path="sourcNm" size="70" maxlength="70" cssClass="inp_long" /> |
|
| 146 |
- <div><form:errors path="sourcNm"/></div> |
|
| 147 |
- </td> |
|
| 148 |
- </tr> |
|
| 149 |
- <tr> |
|
| 150 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 151 |
- <td> |
|
| 152 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" title="미리보기이미지" class="input300 inp" > |
|
| 153 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 154 |
- <br><c:choose> |
|
| 155 |
- <c:when test="${not empty bbsSourcVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 156 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 157 |
- </c:choose> |
|
| 158 |
- </c:if> |
|
| 159 |
- </td> |
|
| 160 |
- </tr> |
|
| 161 |
- <tr> |
|
| 162 |
- <th><em>*</em> <label for="listSourc"><spring:message code="cop.listSourc" /></label></th> |
|
| 163 |
- <td> |
|
| 164 |
- <form:textarea path="listSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 165 |
- <div><form:errors path="listSourc"/></div> |
|
| 166 |
- </td> |
|
| 167 |
- </tr> |
|
| 168 |
- <tr> |
|
| 169 |
- <th><em>*</em> <label for="viewSourc"><spring:message code="cop.viewSourc" /></label></th> |
|
| 170 |
- <td> |
|
| 171 |
- <form:textarea path="viewSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 172 |
- <div><form:errors path="viewSourc"/></div> |
|
| 173 |
- </td> |
|
| 174 |
- </tr> |
|
| 175 |
- <tr> |
|
| 176 |
- <th><em>*</em> <label for="formSourc"><spring:message code="cop.formSourc" /></label></th> |
|
| 177 |
- <td> |
|
| 178 |
- <form:textarea path="formSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 179 |
- <div><form:errors path="formSourc"/></div> |
|
| 180 |
- </td> |
|
| 181 |
- </tr> |
|
| 182 |
- <tr> |
|
| 183 |
- <th><em>*</em> <label for="cmSourc"><spring:message code="cop.cmSourc" /></label></th> |
|
| 184 |
- <td> |
|
| 185 |
- <form:textarea path="cmSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 186 |
- <div><form:errors path="cmSourc"/></div> |
|
| 187 |
- </td> |
|
| 188 |
- </tr> |
|
| 189 |
- </tbody> |
|
| 190 |
- <tfoot> |
|
| 191 |
- </tfoot> |
|
| 192 |
- </table> |
|
| 193 |
- |
|
| 194 |
- <div class="btn_r"> |
|
| 195 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 196 |
- <c:url var="listUrl" value="/mng/cop/com/selectBbsSourcList.do"> |
|
| 197 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 198 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 199 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 200 |
- <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 201 |
- <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 202 |
- </c:url> |
|
| 203 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 204 |
- </div> |
|
| 205 |
- |
|
| 206 |
- </fieldset> |
|
| 207 |
- </form:form> |
|
| 208 | 140 |
|
| 209 |
- </div> |
|
| 141 |
+ <div class="fnc-area"> |
|
| 142 |
+ <div class="l-area"> |
|
| 143 |
+ <button class="btn-sm spot2" onclick="fn_egov_selectSourc(); return false;">소스 복사하기</button> |
|
| 144 |
+ </div> |
|
| 145 |
+ </div> |
|
| 146 |
+ |
|
| 147 |
+ <div class="write-type"> |
|
| 148 |
+ <table> |
|
| 149 |
+ <colgroup> |
|
| 150 |
+ <col style="width:250px" /> |
|
| 151 |
+ <col /> |
|
| 152 |
+ </colgroup> |
|
| 153 |
+ <tbody> |
|
| 154 |
+ <tr> |
|
| 155 |
+ <th><label for="sourcSeCode"><spring:message code="cop.sourcSeCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 156 |
+ <td> |
|
| 157 |
+ <div class="selectbox"> |
|
| 158 |
+ <form:select path="sourcSeCode"> |
|
| 159 |
+ <form:option value="">선택</form:option> |
|
| 160 |
+ <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 161 |
+ </form:select> |
|
| 162 |
+ </div> |
|
| 163 |
+ <div><form:errors path="sourcSeCode"/></div> |
|
| 164 |
+ </td> |
|
| 165 |
+ </tr> |
|
| 166 |
+ <tr> |
|
| 167 |
+ <th><label for="sourcNm"><spring:message code="cop.sourcNm" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 168 |
+ <td> |
|
| 169 |
+ <form:input path="sourcNm" size="70" maxlength="70" cssClass="q1" /> |
|
| 170 |
+ <div><form:errors path="sourcNm"/></div> |
|
| 171 |
+ </td> |
|
| 172 |
+ </tr> |
|
| 173 |
+ <tr> |
|
| 174 |
+ <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 175 |
+ <td> |
|
| 176 |
+ <div class="file-add-txt-area"> |
|
| 177 |
+ <div class="file-custom"> |
|
| 178 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 179 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 180 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 181 |
+ </div> |
|
| 182 |
+ </div> |
|
| 183 |
+ <c:if test="${_MODE eq 'UPT'}">
|
|
| 184 |
+ <ul class="file-list"> |
|
| 185 |
+ <c:choose> |
|
| 186 |
+ <c:when test="${not empty bbsSourcVO.prevewFileNm}">
|
|
| 187 |
+ <li> |
|
| 188 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 189 |
+ <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 190 |
+ </li> |
|
| 191 |
+ </c:when> |
|
| 192 |
+ <c:otherwise> |
|
| 193 |
+ <li> |
|
| 194 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 195 |
+ </li> |
|
| 196 |
+ </c:otherwise> |
|
| 197 |
+ </c:choose> |
|
| 198 |
+ </ul> |
|
| 199 |
+ </c:if> |
|
| 200 |
+ </td> |
|
| 201 |
+ </tr> |
|
| 202 |
+ <tr> |
|
| 203 |
+ <th><label for="listSourc"><spring:message code="cop.listSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 204 |
+ <td><form:textarea path="listSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 205 |
+ </tr> |
|
| 206 |
+ <tr> |
|
| 207 |
+ <th><label for="viewSourc"><spring:message code="cop.viewSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 208 |
+ <td><form:textarea path="viewSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 209 |
+ </tr> |
|
| 210 |
+ <tr> |
|
| 211 |
+ <th><label for="formSourc"><spring:message code="cop.formSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 212 |
+ <td><form:textarea path="formSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <th><label for="cmSourc"><spring:message code="cop.cmSourc" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 216 |
+ <td><form:textarea path="cmSourc" rows="10" cssStyle="width:90%;" lang="jsp"/></td> |
|
| 217 |
+ </tr> |
|
| 218 |
+ </tbody> |
|
| 219 |
+ </table> |
|
| 220 |
+ </div> |
|
| 221 |
+ |
|
| 222 |
+ <div class="btn-cont"> |
|
| 223 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 224 |
+ <c:url var="listUrl" value="/mng/cop/com/selectBbsSourcList.do"> |
|
| 225 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 226 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 227 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 228 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 229 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 230 |
+ </c:url> |
|
| 231 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 232 |
+ </div> |
|
| 233 |
+ </fieldset> |
|
| 234 |
+</form:form> |
|
| 210 | 235 |
|
| 211 | 236 |
<c:choose> |
| 212 | 237 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryList.jsp
... | ... | @@ -1,23 +1,14 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 8 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 9 |
-<c:set var="_C_IMG" value="${pageContext.request.contextPath}/template/common/images"/>
|
|
| 10 |
-<c:set var="_C_JS" value="${pageContext.request.contextPath}/template/common/js"/>
|
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 12 | 4 |
<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/bbs"/>
|
| 13 | 5 |
|
| 14 | 6 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 15 | 7 |
<c:param name="title" value="템플릿 복원"/> |
| 16 | 8 |
</c:import> |
| 17 | 9 |
|
| 18 |
-<script type="text/javascript" language="javascript"> |
|
| 10 |
+<script> |
|
| 19 | 11 |
function fn_egov_Rollback(id){
|
| 20 |
- |
|
| 21 | 12 |
if(confirm("복원하시겠습니까?")){
|
| 22 | 13 |
document.location.href = "${pageContext.request.contextPath}/mng/cop/com/updateBbsTemplateRollBack.do?bbsTmplatId=${searchVO.bbsTmplatId}&bbsTmplatHistId=" + id;
|
| 23 | 14 |
} |
... | ... | @@ -28,61 +19,47 @@ |
| 28 | 19 |
</c:if> |
| 29 | 20 |
</script> |
| 30 | 21 |
|
| 31 |
-<div id="cntnts"> |
|
| 32 |
- |
|
| 33 |
- |
|
| 34 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 35 |
- |
|
| 36 |
- <table class="chart_board"> |
|
| 37 |
- <colgroup> |
|
| 38 |
- <col class="co1"/> |
|
| 39 |
- <col class="co3"/> |
|
| 40 |
- <col class="co6"/> |
|
| 41 |
- </colgroup> |
|
| 42 |
- <thead> |
|
| 43 |
- <tr> |
|
| 44 |
- <th>번호</th> |
|
| 45 |
- <th>변경일자</th> |
|
| 46 |
- <th>복원</th> |
|
| 47 |
- </tr> |
|
| 48 |
- </thead> |
|
| 49 |
- <tbody> |
|
| 50 |
- |
|
| 51 |
- |
|
| 52 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 53 |
- <tr> |
|
| 54 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 55 |
- <td> |
|
| 56 |
- <c:url var="viewUrl" value="/mng/cop/com/selectBbsTemplateHistory.do"> |
|
| 57 |
- <c:param name="bbsTmplatHistId" value="${result.bbsTmplatHistId}" />
|
|
| 58 |
- <c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
|
| 59 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 60 |
- </c:url> |
|
| 61 |
- <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 62 |
- </td> |
|
| 63 |
- <td><a href="#" onclick="fn_egov_Rollback('${result.bbsTmplatHistId}'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 64 |
- </tr> |
|
| 65 |
- </c:forEach> |
|
| 66 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 67 |
- <tr> |
|
| 68 |
- <td colspan="3" ><spring:message code="common.nodata.msg" /></td> |
|
| 69 |
- </tr> |
|
| 70 |
- </c:if> |
|
| 71 |
- |
|
| 72 |
- </tbody> |
|
| 73 |
- </table> |
|
| 74 |
- |
|
| 75 |
- |
|
| 76 |
- <div id="paging"> |
|
| 77 |
- <c:url var="pageUrl" value="/mng/cop/com/selectBbsTemplateHistoryList.do"> |
|
| 78 |
- <c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
|
| 79 |
- </c:url> |
|
| 80 |
- |
|
| 81 |
- <ul> |
|
| 82 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 83 |
- </ul> |
|
| 84 |
- </div> |
|
| 22 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 23 |
+<div class="list-type sm"> |
|
| 24 |
+ <table> |
|
| 25 |
+ <colgroup> |
|
| 26 |
+ <col style="width:110px"> |
|
| 27 |
+ <col> |
|
| 28 |
+ <col style="width:130px"> |
|
| 29 |
+ </colgroup> |
|
| 30 |
+ <thead> |
|
| 31 |
+ <tr> |
|
| 32 |
+ <th scope="col">번호</th> |
|
| 33 |
+ <th scope="col">변경일자</th> |
|
| 34 |
+ <th scope="col">복원</th> |
|
| 35 |
+ </tr> |
|
| 36 |
+ </thead> |
|
| 37 |
+ <tbody> |
|
| 38 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 39 |
+ <tr> |
|
| 40 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 41 |
+ <td data-tit="변경일자"> |
|
| 42 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectBbsTemplateHistory.do"> |
|
| 43 |
+ <c:param name="bbsTmplatHistId" value="${result.bbsTmplatHistId}" />
|
|
| 44 |
+ <c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
|
| 45 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 46 |
+ </c:url> |
|
| 47 |
+ <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 48 |
+ </td> |
|
| 49 |
+ <td data-tit="복원"> |
|
| 50 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_Rollback('${result.bbsTmplatHistId}'); return false;">선택</button>
|
|
| 51 |
+ </td> |
|
| 85 | 52 |
|
| 86 |
-</div> |
|
| 53 |
+ </tr> |
|
| 54 |
+ </c:forEach> |
|
| 55 |
+ |
|
| 56 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 57 |
+ <tr> |
|
| 58 |
+ <td class="" colspan="3"><spring:message code="common.nodata.msg" /></td> |
|
| 59 |
+ </tr> |
|
| 60 |
+ </c:if> |
|
| 61 |
+ </tbody> |
|
| 62 |
+ </table> |
|
| 63 |
+</div> |
|
| 87 | 64 |
|
| 88 | 65 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateHistoryView.jsp
... | ... | @@ -1,78 +1,99 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 9 |
- |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 12 | 5 |
<c:param name="title" value="템플릿 복원"/> |
| 13 | 6 |
</c:import> |
| 14 | 7 |
|
| 8 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 9 |
+<script> |
|
| 10 |
+ $(document).ready( function() {
|
|
| 11 |
+ var editor = new Array(2); |
|
| 12 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 13 |
+ var textarea = $(this); |
|
| 14 |
+ var mode = textarea.attr("lang");
|
|
| 15 |
+ var editDiv = $("<div>", {
|
|
| 16 |
+ position: "absolute", |
|
| 17 |
+ width:"100%", |
|
| 18 |
+ height:textarea.height() |
|
| 19 |
+ }).insertBefore(textarea); |
|
| 15 | 20 |
|
| 21 |
+ textarea.css("display", "none");
|
|
| 16 | 22 |
|
| 17 |
-<div id="cntnts"> |
|
| 18 |
- |
|
| 19 |
- <form:form commandName="bbsTmplatVO" name="bbsTmplatVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 20 |
- <form:hidden path="bbsTmplatId"/> |
|
| 21 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 22 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 23 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 24 |
- |
|
| 25 |
- <fieldset> |
|
| 23 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 24 |
+ editor[idx].setFontSize("11px");
|
|
| 25 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 26 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 27 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 28 |
+ |
|
| 29 |
+ textarea.closest("#lytTmplatVO").submit(function() {
|
|
| 30 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 31 |
+ }); |
|
| 32 |
+ }); |
|
| 33 |
+ }); |
|
| 34 |
+</script> |
|
| 35 |
+ |
|
| 36 |
+<form:form commandName="bbsTmplatVO" name="bbsTmplatVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 37 |
+ <form:hidden path="bbsTmplatId"/> |
|
| 38 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 39 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 40 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 41 |
+ |
|
| 42 |
+ <fieldset> |
|
| 26 | 43 |
<legend class="hdn">템플릿 입력 폼</legend> |
| 27 |
- |
|
| 28 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 29 |
- <caption> </caption> |
|
| 30 |
- <colgroup> |
|
| 31 |
- <col width="150px" /> |
|
| 32 |
- <col width="*" /> |
|
| 33 |
- </colgroup> |
|
| 34 |
- <tbody> |
|
| 35 |
- <tr> |
|
| 36 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 37 |
- <td> |
|
| 38 |
- <c:choose> |
|
| 39 |
- <c:when test="${not empty bbsTmplatVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${bbsTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${bbsTmplatVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 40 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 41 |
- </c:choose> |
|
| 42 |
- </td> |
|
| 43 |
- </tr> |
|
| 44 |
- <tr> |
|
| 45 |
- <th><label for="cssSourc">스타일 소스</label></th> |
|
| 46 |
- <td> |
|
| 47 |
- <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 48 |
- <div><form:errors path="cssSourc"/></div> |
|
| 49 |
- </td> |
|
| 50 |
- </tr> |
|
| 51 |
- <tr> |
|
| 52 |
- <th><label for="scriptSourc">스크립트 소스</label></th> |
|
| 53 |
- <td> |
|
| 54 |
- <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 55 |
- <div><form:errors path="scriptSourc"/></div> |
|
| 56 |
- </td> |
|
| 57 |
- </tr> |
|
| 58 |
- </tbody> |
|
| 59 |
- <tfoot> |
|
| 60 |
- </tfoot> |
|
| 61 |
- </table> |
|
| 62 |
- |
|
| 63 |
- <div class="btn_r"> |
|
| 64 |
- <c:url var="listUrl" value="/mng/cop/com/selectBbsTemplateHistoryList.do"> |
|
| 65 |
- <c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
|
| 66 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 67 |
- <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 68 |
- <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 69 |
- </c:url> |
|
| 70 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 71 |
- </div> |
|
| 72 |
- |
|
| 73 |
- </fieldset> |
|
| 74 |
- </form:form> |
|
| 75 | 44 |
|
| 76 |
- </div> |
|
| 45 |
+ <div class="write-type"> |
|
| 46 |
+ <table> |
|
| 47 |
+ <colgroup> |
|
| 48 |
+ <col style="width:250px" /> |
|
| 49 |
+ <col /> |
|
| 50 |
+ </colgroup> |
|
| 51 |
+ <tbody> |
|
| 52 |
+ <tr> |
|
| 53 |
+ <th>미리보기이미지</th> |
|
| 54 |
+ <td> |
|
| 55 |
+ <ul class="file-list"> |
|
| 56 |
+ <c:choose> |
|
| 57 |
+ <c:when test="${not empty bbsTmplatVO.prevewFileNm}">
|
|
| 58 |
+ <li> |
|
| 59 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 60 |
+ </li> |
|
| 61 |
+ </c:when> |
|
| 62 |
+ <c:otherwise> |
|
| 63 |
+ <li> |
|
| 64 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 65 |
+ </li> |
|
| 66 |
+ </c:otherwise> |
|
| 67 |
+ </c:choose> |
|
| 68 |
+ </ul> |
|
| 69 |
+ </td> |
|
| 70 |
+ </tr> |
|
| 71 |
+ <tr> |
|
| 72 |
+ <th><label for="cssSourc">스타일 소스</label></th> |
|
| 73 |
+ <td> |
|
| 74 |
+ <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" lang="css"/> |
|
| 75 |
+ </td> |
|
| 76 |
+ </tr> |
|
| 77 |
+ <tr> |
|
| 78 |
+ <th><label for="scriptSourc">스크립트 소스</label></th> |
|
| 79 |
+ <td> |
|
| 80 |
+ <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" lang="javascript"/> |
|
| 81 |
+ </td> |
|
| 82 |
+ </tr> |
|
| 83 |
+ </tbody> |
|
| 84 |
+ </table> |
|
| 85 |
+ </div> |
|
| 86 |
+ |
|
| 87 |
+ <div class="btn-cont"> |
|
| 88 |
+ <c:url var="listUrl" value="/mng/cop/com/selectBbsTemplateHistoryList.do"> |
|
| 89 |
+ <c:param name="bbsTmplatId" value="${searchVO.bbsTmplatId}" />
|
|
| 90 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 91 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 92 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 93 |
+ </c:url> |
|
| 94 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 95 |
+ </div> |
|
| 96 |
+ </fieldset> |
|
| 97 |
+</form:form> |
|
| 77 | 98 |
|
| 78 | 99 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateList.jsp
... | ... | @@ -1,12 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:choose> |
| 12 | 5 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
... | ... | @@ -25,9 +18,8 @@ |
| 25 | 18 |
</c:choose> |
| 26 | 19 |
|
| 27 | 20 |
|
| 28 |
-<script type="text/javascript" language="javascript"> |
|
| 21 |
+<script> |
|
| 29 | 22 |
function fn_egov_delete(url){
|
| 30 |
- |
|
| 31 | 23 |
if(confirm("삭제하시겠습니까?")){
|
| 32 | 24 |
document.location.href = url; |
| 33 | 25 |
} |
... | ... | @@ -37,7 +29,7 @@ |
| 37 | 29 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsTemplateHistoryList.do?";
|
| 38 | 30 |
url = url + "bbsTmplatId=" + id; |
| 39 | 31 |
|
| 40 |
- var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=760,height=650'); |
|
| 32 |
+ var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 41 | 33 |
if(win != null) {
|
| 42 | 34 |
win.focus(); |
| 43 | 35 |
} |
... | ... | @@ -49,139 +41,150 @@ |
| 49 | 41 |
} |
| 50 | 42 |
</script> |
| 51 | 43 |
|
| 44 |
+<div class="fnc-area"> |
|
| 45 |
+ <div class="r-area"> |
|
| 46 |
+ <form name="frm" action ="<c:url value="/mng/cop/com/selectBbsTemplateList.do"/>" method="post"> |
|
| 47 |
+ <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 52 | 48 |
|
| 53 |
-<div id="cntnts"> |
|
| 49 |
+ <div class="sch-area"> |
|
| 50 |
+ <div class="sch-option"> |
|
| 51 |
+ <select name="searchTmplatSeCode" id="searchTmplatSeCode"> |
|
| 52 |
+ <option value=""><spring:message code="cop.tmplatSeCode" /></option> |
|
| 53 |
+ <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 54 |
+ <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 55 |
+ </c:forEach> |
|
| 56 |
+ </select> |
|
| 54 | 57 |
|
| 55 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 56 |
- |
|
| 57 |
- <table class="chart_board"> |
|
| 58 |
- <colgroup> |
|
| 59 |
- <col class="co1"/> |
|
| 60 |
- <col class="co6"/> |
|
| 61 |
- <col class="co6"/> |
|
| 62 |
- <col class="co3"/> |
|
| 63 |
- <col class="co6"/> |
|
| 64 |
- <c:if test="${USER_INFO.userSe > 10}"><col class="co6"/></c:if>
|
|
| 65 |
- <col class="co6"/> |
|
| 66 |
- </colgroup> |
|
| 67 |
- <thead> |
|
| 68 |
- <tr> |
|
| 69 |
- <th>번호</th> |
|
| 70 |
- <th>미리보기</th> |
|
| 71 |
- <th><spring:message code="cop.tmplatSeCode" /></th> |
|
| 72 |
- <th><spring:message code="cop.tmplatNm" /></th> |
|
| 73 |
- <th>등록일/수정일</th> |
|
| 74 |
- <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 75 |
- <th> |
|
| 76 |
- <c:choose> |
|
| 58 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 59 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 60 |
+ </select> |
|
| 61 |
+ </div> |
|
| 62 |
+ <div class="sch"> |
|
| 63 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 64 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 65 |
+ </div> |
|
| 66 |
+ </div> |
|
| 67 |
+ </form> |
|
| 68 |
+ </div> |
|
| 69 |
+</div> |
|
| 70 |
+ |
|
| 71 |
+ |
|
| 72 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 73 |
+<div class="list-type sm"> |
|
| 74 |
+ <table> |
|
| 75 |
+ <colgroup> |
|
| 76 |
+ <col style="width:110px"> |
|
| 77 |
+ <col> |
|
| 78 |
+ <col style="width:100px"> |
|
| 79 |
+ <col> |
|
| 80 |
+ <col style="width:160px"> |
|
| 81 |
+ <c:if test="${USER_INFO.userSe > 10}"><col style="width:160px"></c:if>
|
|
| 82 |
+ <col style="width:130px"> |
|
| 83 |
+ </colgroup> |
|
| 84 |
+ <thead> |
|
| 85 |
+ <tr> |
|
| 86 |
+ <th scope="col">번호</th> |
|
| 87 |
+ <th scope="col">미리보기</th> |
|
| 88 |
+ <th><spring:message code="cop.tmplatLcasCode" /></th> |
|
| 89 |
+ <th scope="col"><spring:message code="cop.tmplatNm" /></th> |
|
| 90 |
+ <th scope="col">등록일/수정일</th> |
|
| 91 |
+ <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 92 |
+ <th scope="col"> |
|
| 93 |
+ <c:set var="type"> |
|
| 94 |
+ <c:choose> |
|
| 77 | 95 |
<c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
| 78 | 96 |
<c:otherwise>복원</c:otherwise> |
| 79 | 97 |
</c:choose> |
| 80 |
- </th> |
|
| 81 |
- </tr> |
|
| 82 |
- </thead> |
|
| 83 |
- <tbody> |
|
| 84 |
- |
|
| 85 |
- |
|
| 86 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 87 |
- <tr> |
|
| 88 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 89 |
- <td> |
|
| 90 |
- <c:choose> |
|
| 91 |
- <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 92 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 93 |
- </c:choose> |
|
| 94 |
- </td> |
|
| 95 |
- <td><c:out value="${result.tmplatSeCodeNm}"/></td>
|
|
| 96 |
- <td><c:out value="${result.tmplatNm}"/></td>
|
|
| 97 |
- <td> |
|
| 98 |
- <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 99 |
- <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 100 |
- </td> |
|
| 101 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 102 |
- <td> |
|
| 103 |
- <c:url var="viewUrl" value="/mng/cop/com/selectBbsTemplate.do"> |
|
| 104 |
- <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 105 |
- <c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
|
| 106 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 107 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 108 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 109 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 110 |
- </c:url> |
|
| 111 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 112 |
- <c:url var="delUrl" value="/mng/cop/com/deleteBbsTemplate.do"> |
|
| 113 |
- <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 114 |
- <c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
|
| 115 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 116 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 117 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 118 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 119 |
- </c:url> |
|
| 120 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 121 |
- </td> |
|
| 122 |
- </c:if> |
|
| 123 |
- <td> |
|
| 124 |
- <c:choose> |
|
| 125 |
- <c:when test="${searchVO.selectMode eq 'Y'}"><a href="#" onclick="fn_egov_selectTemplate('<c:out value="${result.bbsTmplatId}"/>', '<c:out value="${result.tmplatNm}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></c:when>
|
|
| 126 |
- <c:otherwise><a href="#" onclick="fn_egov_view_HisManage('<c:out value="${result.bbsTmplatId}"/>');return false;"><img src="${_IMG}/btn/btn_search02.gif" alt="찾기"/></a></c:otherwise>
|
|
| 127 |
- </c:choose> |
|
| 128 |
- </td> |
|
| 129 |
- </tr> |
|
| 130 |
- </c:forEach> |
|
| 131 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 132 |
- <tr> |
|
| 133 |
- <td colspan="7" ><spring:message code="common.nodata.msg" /></td> |
|
| 134 |
- </tr> |
|
| 135 |
- </c:if> |
|
| 136 |
- |
|
| 137 |
- </tbody> |
|
| 138 |
- </table> |
|
| 139 |
- |
|
| 140 |
- |
|
| 141 |
- |
|
| 142 |
- <div id="paging"> |
|
| 143 |
- <c:url var="pageUrl" value="/mng/cop/com/selectBbsTemplateList.do?"> |
|
| 144 |
- <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 145 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 146 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 147 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 148 |
- </c:url> |
|
| 149 |
- |
|
| 150 |
- <ul> |
|
| 151 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 152 |
- </ul> |
|
| 153 |
- </div> |
|
| 154 |
- |
|
| 155 |
- <div id="bbs_search"> |
|
| 156 |
- <form name="frm" action ="<c:url value="/mng/cop/com/selectBbsTemplateList.do"/>" method="post"> |
|
| 157 |
- <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 158 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 159 |
- <select name="searchTmplatSeCode" id="searchTmplatSeCode" class="searchCate inp"> |
|
| 160 |
- <option value=""><spring:message code="cop.tmplatSeCode" /></option> |
|
| 161 |
- <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 162 |
- <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 163 |
- </c:forEach> |
|
| 164 |
- </select> |
|
| 165 |
- <select name="searchCondition" id="searchCondition"> |
|
| 166 |
- <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 167 |
- </select> |
|
| 168 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 169 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 170 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 171 |
- </form> |
|
| 172 |
- </div> |
|
| 173 |
- |
|
| 174 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 175 |
- <div class="btn_r"> |
|
| 176 |
- <c:url var="addUrl" value="/mng/cop/com/addBbsTemplate.do"> |
|
| 177 |
- <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 178 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 179 |
- </c:url> |
|
| 180 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 181 |
- </div> |
|
| 182 |
- </c:if> |
|
| 98 |
+ </c:set> |
|
| 99 |
+ <c:out value="${type}"/>
|
|
| 100 |
+ </th> |
|
| 101 |
+ </tr> |
|
| 102 |
+ </thead> |
|
| 103 |
+ <tbody> |
|
| 104 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 105 |
+ <tr> |
|
| 106 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 107 |
+ <td data-tit="미리보기"> |
|
| 108 |
+ <c:choose> |
|
| 109 |
+ <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 110 |
+ <c:otherwise><img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 111 |
+ </c:choose> |
|
| 112 |
+ </td> |
|
| 113 |
+ <td data-tit="<spring:message code="cop.tmplatLcasCode" />"><c:out value="${result.tmplatSeCodeNm}"/></td>
|
|
| 114 |
+ <td data-tit="<spring:message code="cop.tmplatNm" />"><c:out value="${result.tmplatNm}"/></td>
|
|
| 115 |
+ <td data-tit="등록일/수정일"> |
|
| 116 |
+ <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 117 |
+ <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 118 |
+ </td> |
|
| 119 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 120 |
+ <td data-tit="관리"> |
|
| 121 |
+ <div class="btn-cont"> |
|
| 122 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectBbsTemplate.do"> |
|
| 123 |
+ <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 124 |
+ <c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
|
| 125 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 126 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 127 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 128 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 129 |
+ </c:url> |
|
| 130 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 183 | 131 |
|
| 184 |
-</div> |
|
| 132 |
+ <c:url var="delUrl" value="/mng/cop/com/deleteBbsTemplate.do"> |
|
| 133 |
+ <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 134 |
+ <c:param name="bbsTmplatId" value="${result.bbsTmplatId}" />
|
|
| 135 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 136 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 137 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 138 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 139 |
+ </c:url> |
|
| 140 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제" onclick="fn_egov_delete(this.href);return false;"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 141 |
+ </div> |
|
| 142 |
+ </td> |
|
| 143 |
+ </c:if> |
|
| 144 |
+ <td data-tit="${type}">
|
|
| 145 |
+ <c:choose> |
|
| 146 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">
|
|
| 147 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_selectTemplate('<c:out value="${result.bbsTmplatId}"/>', '<c:out value="${result.tmplatNm}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;">선택</button>
|
|
| 148 |
+ </c:when> |
|
| 149 |
+ <c:otherwise> |
|
| 150 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_view_HisManage('<c:out value="${result.bbsTmplatId}"/>');return false;">찾기</button>
|
|
| 151 |
+ </c:otherwise> |
|
| 152 |
+ </c:choose> |
|
| 153 |
+ </td> |
|
| 154 |
+ </tr> |
|
| 155 |
+ </c:forEach> |
|
| 156 |
+ |
|
| 157 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 158 |
+ <tr> |
|
| 159 |
+ <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> |
|
| 160 |
+ </tr> |
|
| 161 |
+ </c:if> |
|
| 162 |
+ </tbody> |
|
| 163 |
+ </table> |
|
| 164 |
+</div> |
|
| 165 |
+ |
|
| 166 |
+<c:url var="pageUrl" value="/mng/cop/com/selectBbsTemplateList.do?"> |
|
| 167 |
+ <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 168 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 169 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 170 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 171 |
+</c:url> |
|
| 172 |
+<ul class="paging"> |
|
| 173 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 174 |
+</ul> |
|
| 175 |
+ |
|
| 176 |
+ |
|
| 177 |
+<c:if test="${USER_INFO.userSe > 10 and searchVO.selectMode ne 'Y'}">
|
|
| 178 |
+ <div class="fnc-area"> |
|
| 179 |
+ <div class="r-area"> |
|
| 180 |
+ <c:url var="addUrl" value="/mng/cop/com/addBbsTemplate.do"> |
|
| 181 |
+ <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 182 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 183 |
+ </c:url> |
|
| 184 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 185 |
+ </div> |
|
| 186 |
+ </div> |
|
| 187 |
+</c:if> |
|
| 185 | 188 |
|
| 186 | 189 |
|
| 187 | 190 |
<c:choose> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/BbsTemplateRegister.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
|
| 10 | 4 |
<c:set var="_MODE" value=""/> |
| 11 | 5 |
<c:set var="_PREFIX" value="${pageContext.request.contextPath}/mng/cop/com"/>
|
... | ... | @@ -38,10 +32,10 @@ |
| 38 | 32 |
</c:otherwise> |
| 39 | 33 |
</c:choose> |
| 40 | 34 |
|
| 41 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 35 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 42 | 36 |
<validator:javascript formName="bbsTmplatVO" staticJavascript="false" xhtml="true" cdata="false"/> |
| 43 |
- |
|
| 44 |
-<script type="text/javaScript" language="javascript"> |
|
| 37 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 38 |
+<script> |
|
| 45 | 39 |
|
| 46 | 40 |
/* ******************************************************** |
| 47 | 41 |
* 저장처리화면 |
... | ... | @@ -62,115 +56,152 @@ |
| 62 | 56 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsTemplateList.do?";
|
| 63 | 57 |
url = url + "selectMode=Y"; |
| 64 | 58 |
|
| 65 |
- var win = window.open(url ,'bbsTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 59 |
+ var win = window.open(url ,'bbsTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 66 | 60 |
if(win != null) {
|
| 67 | 61 |
win.focus(); |
| 68 | 62 |
} |
| 69 | 63 |
} |
| 70 | 64 |
|
| 65 |
+var editor = new Array(2); |
|
| 71 | 66 |
function fn_egov_updateTemplate(id, nm, fileNm) {
|
| 72 | 67 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsCopyTemplate.do?";
|
| 73 | 68 |
url += "bbsTmplatId=" + id; |
| 74 |
- |
|
| 75 |
- $.getJSON(url, function(data) {
|
|
| 76 |
- $('#cssSourc').val(data.cssSourc);
|
|
| 77 |
- $('#scriptSourc').val(data.scriptSourc);
|
|
| 78 |
- }) |
|
| 79 |
- .success(function() {})
|
|
| 80 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 81 |
- .complete(function() {});
|
|
| 69 |
+ |
|
| 70 |
+ $.getJSON(url, function(data) {
|
|
| 71 |
+ $('#cssSourc').val(data.cssSourc);
|
|
| 72 |
+ $('#scriptSourc').val(data.scriptSourc);
|
|
| 73 |
+ |
|
| 74 |
+ editor[0].getSession().setValue(data.cssSourc); |
|
| 75 |
+ editor[1].getSession().setValue(data.scriptSourc); |
|
| 76 |
+ }); |
|
| 82 | 77 |
} |
| 83 | 78 |
|
| 79 |
+$(document).ready( function() {
|
|
| 80 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 81 |
+ var textarea = $(this); |
|
| 82 |
+ var mode = textarea.attr("lang");
|
|
| 83 |
+ var editDiv = $("<div>", {
|
|
| 84 |
+ position: "absolute", |
|
| 85 |
+ width:"100%", |
|
| 86 |
+ height:textarea.height() |
|
| 87 |
+ }).insertBefore(textarea); |
|
| 84 | 88 |
|
| 89 |
+ textarea.css("display", "none");
|
|
| 90 |
+ |
|
| 91 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 92 |
+ editor[idx].setFontSize("11px");
|
|
| 93 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 94 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 95 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 96 |
+ |
|
| 97 |
+ textarea.closest("#lytTmplatVO").submit(function() {
|
|
| 98 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 99 |
+ }); |
|
| 100 |
+ }); |
|
| 101 |
+}); |
|
| 85 | 102 |
</script> |
| 86 | 103 |
|
| 104 |
+<form:form commandName="bbsTmplatVO" name="bbsTmplatVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 105 |
+ <form:hidden path="bbsTmplatId"/> |
|
| 106 |
+ <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 107 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 108 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 109 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 110 |
+ <input name="searchTmplatSeCode" type="hidden" value="<c:out value='${searchVO.searchTmplatSeCode}'/>"/>
|
|
| 87 | 111 |
|
| 88 |
-<div id="cntnts"> |
|
| 89 |
- |
|
| 90 |
- <form:form commandName="bbsTmplatVO" name="bbsTmplatVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 91 |
- <form:hidden path="bbsTmplatId"/> |
|
| 92 |
- <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 93 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 94 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 95 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 96 |
- <input name="searchTmplatSeCode" type="hidden" value="<c:out value='${searchVO.searchTmplatSeCode}'/>"/>
|
|
| 97 |
- |
|
| 98 |
- <fieldset> |
|
| 112 |
+ <fieldset> |
|
| 99 | 113 |
<legend class="hdn">템플릿 입력 폼</legend> |
| 100 |
- |
|
| 101 |
- <a href="#" onclick="fn_egov_selectTemplate(); return false;"><img src="${_IMG}/btn/btn_temp_copy.gif" alt="템플릿 복사하기"/></a>
|
|
| 102 |
- |
|
| 103 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 104 |
- <caption> </caption> |
|
| 105 |
- <colgroup> |
|
| 106 |
- <col width="150px" /> |
|
| 107 |
- <col width="*" /> |
|
| 108 |
- </colgroup> |
|
| 109 |
- <tbody> |
|
| 110 |
- <tr> |
|
| 111 |
- <th><em>*</em> <label for="tmplatSeCode"><spring:message code="cop.tmplatSeCode" /></label></th> |
|
| 112 |
- <td> |
|
| 113 |
- <form:select path="tmplatSeCode"> |
|
| 114 |
- <form:option value="">선택</form:option> |
|
| 115 |
- <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 116 |
- </form:select> |
|
| 117 |
- <div><form:errors path="tmplatSeCode"/></div> |
|
| 118 |
- </td> |
|
| 119 |
- </tr> |
|
| 120 |
- <tr> |
|
| 121 |
- <th><em>*</em> <label for="tmplatNm"><spring:message code="cop.tmplatNm" /></label></th> |
|
| 122 |
- <td> |
|
| 123 |
- <form:input path="tmplatNm" size="70" maxlength="70" cssClass="inp_long" /> |
|
| 124 |
- <div><form:errors path="tmplatNm"/></div> |
|
| 125 |
- </td> |
|
| 126 |
- </tr> |
|
| 127 |
- <tr> |
|
| 128 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 129 |
- <td> |
|
| 130 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" title="미리보기이미지" class="input300 inp" > |
|
| 131 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 132 |
- <br><c:choose> |
|
| 133 |
- <c:when test="${not empty bbsTmplatVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 134 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 135 |
- </c:choose> |
|
| 136 |
- </c:if> |
|
| 137 |
- </td> |
|
| 138 |
- </tr> |
|
| 139 |
- <tr> |
|
| 140 |
- <th><label for="cssSourc">스타일 소스</label></th> |
|
| 141 |
- <td> |
|
| 142 |
- <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 143 |
- <div><form:errors path="cssSourc"/></div> |
|
| 144 |
- </td> |
|
| 145 |
- </tr> |
|
| 146 |
- <tr> |
|
| 147 |
- <th><label for="scriptSourc">스크립트 소스</label></th> |
|
| 148 |
- <td> |
|
| 149 |
- <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 150 |
- <div><form:errors path="scriptSourc"/></div> |
|
| 151 |
- </td> |
|
| 152 |
- </tr> |
|
| 153 |
- </tbody> |
|
| 154 |
- <tfoot> |
|
| 155 |
- </tfoot> |
|
| 156 |
- </table> |
|
| 157 |
- |
|
| 158 |
- <div class="btn_r"> |
|
| 159 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 160 |
- <c:url var="listUrl" value="/mng/cop/com/selectBbsTemplateList.do"> |
|
| 161 |
- <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 162 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 163 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 164 |
- <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 165 |
- <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 166 |
- </c:url> |
|
| 167 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 168 |
- </div> |
|
| 169 |
- |
|
| 170 |
- </fieldset> |
|
| 171 |
- </form:form> |
|
| 172 | 114 |
|
| 173 |
- </div> |
|
| 115 |
+ <div class="fnc-area"> |
|
| 116 |
+ <div class="l-area"> |
|
| 117 |
+ <button class="btn-sm spot2" onclick="fn_egov_selectTemplate(); return false;">템플릿 복사하기</button> |
|
| 118 |
+ </div> |
|
| 119 |
+ </div> |
|
| 120 |
+ |
|
| 121 |
+ <div class="write-type"> |
|
| 122 |
+ <table> |
|
| 123 |
+ <colgroup> |
|
| 124 |
+ <col style="width:250px" /> |
|
| 125 |
+ <col /> |
|
| 126 |
+ </colgroup> |
|
| 127 |
+ <tbody> |
|
| 128 |
+ <tr> |
|
| 129 |
+ <th><label for="tmplatSeCode"><spring:message code="cop.tmplatSeCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 130 |
+ <td> |
|
| 131 |
+ <div class="selectbox"> |
|
| 132 |
+ <form:select path="tmplatSeCode"> |
|
| 133 |
+ <form:option value="">선택</form:option> |
|
| 134 |
+ <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 135 |
+ </form:select> |
|
| 136 |
+ </div> |
|
| 137 |
+ <div><form:errors path="tmplatSeCode"/></div> |
|
| 138 |
+ </td> |
|
| 139 |
+ </tr> |
|
| 140 |
+ <tr> |
|
| 141 |
+ <th><label for="tmplatNm"><spring:message code="cop.tmplatNm" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 142 |
+ <td> |
|
| 143 |
+ <form:input path="tmplatNm" size="70" maxlength="70" cssClass="q1" /> |
|
| 144 |
+ <div><form:errors path="tmplatNm"/></div> |
|
| 145 |
+ </td> |
|
| 146 |
+ </tr> |
|
| 147 |
+ <tr> |
|
| 148 |
+ <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 149 |
+ <td> |
|
| 150 |
+ <div class="file-add-txt-area"> |
|
| 151 |
+ <div class="file-custom"> |
|
| 152 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 153 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 154 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 155 |
+ </div> |
|
| 156 |
+ </div> |
|
| 157 |
+ <c:if test="${_MODE eq 'UPT'}">
|
|
| 158 |
+ <ul class="file-list"> |
|
| 159 |
+ <c:choose> |
|
| 160 |
+ <c:when test="${not empty bbsTmplatVO.prevewFileNm}">
|
|
| 161 |
+ <li> |
|
| 162 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 163 |
+ <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 164 |
+ </li> |
|
| 165 |
+ </c:when> |
|
| 166 |
+ <c:otherwise> |
|
| 167 |
+ <li> |
|
| 168 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 169 |
+ </li> |
|
| 170 |
+ </c:otherwise> |
|
| 171 |
+ </c:choose> |
|
| 172 |
+ </ul> |
|
| 173 |
+ </c:if> |
|
| 174 |
+ </td> |
|
| 175 |
+ </tr> |
|
| 176 |
+ <tr> |
|
| 177 |
+ <th><label for="cssSourc">스타일 소스</label></th> |
|
| 178 |
+ <td> |
|
| 179 |
+ <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" lang="css"/> |
|
| 180 |
+ </td> |
|
| 181 |
+ </tr> |
|
| 182 |
+ <tr> |
|
| 183 |
+ <th><label for="scriptSourc">스크립트 소스</label></th> |
|
| 184 |
+ <td> |
|
| 185 |
+ <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" lang="javascript"/> |
|
| 186 |
+ </td> |
|
| 187 |
+ </tr> |
|
| 188 |
+ </tbody> |
|
| 189 |
+ </table> |
|
| 190 |
+ </div> |
|
| 191 |
+ |
|
| 192 |
+ <div class="btn-cont"> |
|
| 193 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 194 |
+ <c:url var="listUrl" value="/mng/cop/com/selectBbsTemplateList.do"> |
|
| 195 |
+ <c:param name="searchTmplatSeCode" value="${searchVO.searchTmplatSeCode}" />
|
|
| 196 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 197 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 198 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 199 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 200 |
+ </c:url> |
|
| 201 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 202 |
+ </div> |
|
| 203 |
+ </fieldset> |
|
| 204 |
+</form:form> |
|
| 174 | 205 |
|
| 175 | 206 |
<c:choose> |
| 176 | 207 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryList.jsp
... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 |
</c:if> |
| 20 | 20 |
</script> |
| 21 | 21 |
|
| 22 |
-<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 22 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 23 | 23 |
<div class="list-type sm"> |
| 24 | 24 |
<table> |
| 25 | 25 |
<colgroup> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryView.jsp
... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 |
<input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
| 58 | 58 |
|
| 59 | 59 |
<fieldset> |
| 60 |
- <legend class="hdn">템플릿 입력 폼</legend> |
|
| 60 |
+ <legend class="hdn">소스 입력 폼</legend> |
|
| 61 | 61 |
|
| 62 | 62 |
<div class="write-type"> |
| 63 | 63 |
<table> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 |
|
| 73 | 73 |
|
| 74 | 74 |
|
| 75 |
-<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 75 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 76 | 76 |
<div class="list-type sm"> |
| 77 | 77 |
<table> |
| 78 | 78 |
<colgroup> |
... | ... | @@ -161,7 +161,7 @@ |
| 161 | 161 |
|
| 162 | 162 |
<c:if test="${fn:length(resultList) == 0}">
|
| 163 | 163 |
<tr> |
| 164 |
- <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> |
|
| 164 |
+ <td class="" colspan="${searchVO.selectMode eq 'Y' ? '6' : '7'}"><spring:message code="common.nodata.msg" /></td>
|
|
| 165 | 165 |
</tr> |
| 166 | 166 |
</c:if> |
| 167 | 167 |
</tbody> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
... | ... | @@ -92,8 +92,6 @@ |
| 92 | 92 |
} |
| 93 | 93 |
|
| 94 | 94 |
function fn_egov_updateSourc(id, nm, fileNm) {
|
| 95 |
- alert(11111); |
|
| 96 |
- |
|
| 97 | 95 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectLytCopySource.do?";
|
| 98 | 96 |
url += "lytSourcId=" + id; |
| 99 | 97 |
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryList.jsp
... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 |
</script> |
| 21 | 21 |
|
| 22 | 22 |
|
| 23 |
-<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 23 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 24 | 24 |
<div class="list-type sm"> |
| 25 | 25 |
<table> |
| 26 | 26 |
<colgroup> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateList.jsp
... | ... | @@ -93,7 +93,7 @@ |
| 93 | 93 |
</div> |
| 94 | 94 |
</div> |
| 95 | 95 |
|
| 96 |
-<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 96 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 97 | 97 |
<div class="list-type sm"> |
| 98 | 98 |
<table> |
| 99 | 99 |
<colgroup> |
... | ... | @@ -187,7 +187,7 @@ |
| 187 | 187 |
|
| 188 | 188 |
<c:if test="${fn:length(resultList) == 0}">
|
| 189 | 189 |
<tr> |
| 190 |
- <td class="" colspan="8"><spring:message code="common.nodata.msg" /></td> |
|
| 190 |
+ <td class="" colspan="${searchVO.selectMode eq 'Y' ? '7' : '8'}"><spring:message code="common.nodata.msg" /></td>
|
|
| 191 | 191 |
</tr> |
| 192 | 192 |
</c:if> |
| 193 | 193 |
</tbody> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeList.jsp
... | ... | @@ -8,9 +8,9 @@ |
| 8 | 8 |
<c:param name="title" value="공통코드관리"/> |
| 9 | 9 |
</c:import> |
| 10 | 10 |
|
| 11 |
-<script type="text/javascript"> |
|
| 11 |
+<script> |
|
| 12 | 12 |
function fn_egov_CmmnCode(url) {
|
| 13 |
- var win = window.open(url ,'code',' scrollbars=yes, resizable=yes, left=0, top=0, width=760,height=650'); |
|
| 13 |
+ var win = window.open(url ,'code',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 14 | 14 |
if(win != null) {
|
| 15 | 15 |
win.focus(); |
| 16 | 16 |
} |
... | ... | @@ -24,112 +24,118 @@ |
| 24 | 24 |
</script> |
| 25 | 25 |
|
| 26 | 26 |
|
| 27 |
-<form name="listForm" action="<c:url value='${_PREFIX}/EgovCcmCmmnCodeList.do'/>" method="post">
|
|
| 28 |
- <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 27 |
+<div class="fnc-area"> |
|
| 28 |
+ <div class="r-area"> |
|
| 29 |
+ <form name="listForm" action="${_PREFIX}/EgovCcmCmmnCodeList.do" method="post">
|
|
| 30 |
+ <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 29 | 31 |
|
| 30 |
- <div id="bbs_search"> |
|
| 31 |
- <label for="searchCondition" class="hdn">분류검색</label> |
|
| 32 |
- <select id="searchCondition" name="searchCondition" class="select"> |
|
| 33 |
- <option value='1' <c:if test="${searchVO.searchCondition eq '1' || searchVO.searchCondition eq ''}">selected="selected"</c:if>>코드ID</option>
|
|
| 34 |
- <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드ID명</option>
|
|
| 35 |
- </select> |
|
| 36 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 37 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 38 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 32 |
+ <div class="sch-area"> |
|
| 33 |
+ <div class="sch-option"> |
|
| 34 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 35 |
+ <option value='1' <c:if test="${searchVO.searchCondition eq '1' || searchVO.searchCondition eq ''}">selected="selected"</c:if>>코드ID</option>
|
|
| 36 |
+ <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드ID명</option>
|
|
| 37 |
+ </select> |
|
| 38 |
+ </div> |
|
| 39 |
+ <div class="sch"> |
|
| 40 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 41 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 42 |
+ </div> |
|
| 43 |
+ </div> |
|
| 44 |
+ </form> |
|
| 39 | 45 |
</div> |
| 46 |
+</div> |
|
| 40 | 47 |
|
| 41 |
- <p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 42 | 48 |
|
| 43 |
- <div class="list-type sm"> |
|
| 44 |
- <table> |
|
| 45 |
- <colgroup> |
|
| 46 |
- <col style="width:110px"> |
|
| 47 |
- <col> |
|
| 48 |
- <col> |
|
| 49 |
- <col style="width:130px"> |
|
| 50 |
- <col style="width:130px"> |
|
| 51 |
- <col style="width:160px"> |
|
| 52 |
- <col style="width:130px"> |
|
| 53 |
- </colgroup> |
|
| 54 |
- <thead> |
|
| 55 |
- <tr> |
|
| 56 |
- <th>순번</th> |
|
| 57 |
- <th>코드ID</th> |
|
| 58 |
- <th>코드ID명</th> |
|
| 59 |
- <th>사용여부</th> |
|
| 60 |
- <th>코드갯수</th> |
|
| 61 |
- <th>하위코드</th> |
|
| 62 |
- <th>관리</th> |
|
| 63 |
- </tr> |
|
| 64 |
- </thead> |
|
| 65 |
- <tbody> |
|
| 66 |
- <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 67 |
- <tr> |
|
| 68 |
- <td data-tit="순번"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 69 |
- <td data-tit="코드ID"><c:out value="${resultInfo.codeId}"/></td>
|
|
| 70 |
- <td data-tit="코드ID명"><c:out value="${resultInfo.codeIdNm}"/></td>
|
|
| 71 |
- <td data-tit="사용여부"> |
|
| 49 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 50 |
+ |
|
| 51 |
+<div class="list-type sm"> |
|
| 52 |
+ <table> |
|
| 53 |
+ <colgroup> |
|
| 54 |
+ <col style="width:110px"> |
|
| 55 |
+ <col> |
|
| 56 |
+ <col> |
|
| 57 |
+ <col style="width:130px"> |
|
| 58 |
+ <col style="width:130px"> |
|
| 59 |
+ <col style="width:160px"> |
|
| 60 |
+ <col style="width:130px"> |
|
| 61 |
+ </colgroup> |
|
| 62 |
+ <thead> |
|
| 63 |
+ <tr> |
|
| 64 |
+ <th>순번</th> |
|
| 65 |
+ <th>코드ID</th> |
|
| 66 |
+ <th>코드ID명</th> |
|
| 67 |
+ <th>사용여부</th> |
|
| 68 |
+ <th>코드갯수</th> |
|
| 69 |
+ <th>하위코드</th> |
|
| 70 |
+ <th>관리</th> |
|
| 71 |
+ </tr> |
|
| 72 |
+ </thead> |
|
| 73 |
+ <tbody> |
|
| 74 |
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 75 |
+ <tr> |
|
| 76 |
+ <td data-tit="순번"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 77 |
+ <td data-tit="코드ID"><c:out value="${resultInfo.codeId}"/></td>
|
|
| 78 |
+ <td data-tit="코드ID명"><c:out value="${resultInfo.codeIdNm}"/></td>
|
|
| 79 |
+ <td data-tit="사용여부"> |
|
| 80 |
+ <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 81 |
+ <span class="label-state spot">Y</span> |
|
| 82 |
+ </c:if> |
|
| 83 |
+ <c:if test="${resultInfo.useAt eq 'N'}">
|
|
| 84 |
+ <span class="label-state">N</span> |
|
| 85 |
+ </c:if> |
|
| 86 |
+ </td> |
|
| 87 |
+ <td data-tit="코드갯수"><c:out value="${resultInfo.codeCnt}"/></td>
|
|
| 88 |
+ <td data-tit="하위코드"> |
|
| 89 |
+ <a href="/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeList.do?searchCode=<c:out value="${resultInfo.codeId}"/>" onclick="fn_egov_CmmnCode(this.href);return false;" class="btn btn-sm spot">하위코드관리</a>
|
|
| 90 |
+ </td> |
|
| 91 |
+ <td data-tit="관리"> |
|
| 92 |
+ <div class="btn-cont"> |
|
| 93 |
+ <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnCodeModify.do">
|
|
| 94 |
+ <c:param name="modifyAt" value="Y"/> |
|
| 95 |
+ <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 96 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 97 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 98 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 99 |
+ </c:url> |
|
| 100 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 101 |
+ |
|
| 72 | 102 |
<c:if test="${resultInfo.useAt eq 'Y'}">
|
| 73 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 74 |
- </c:if> |
|
| 75 |
- <c:if test="${resultInfo.useAt eq 'N'}">
|
|
| 76 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 77 |
- </c:if> |
|
| 78 |
- </td> |
|
| 79 |
- <td data-tit="코드갯수"><c:out value="${resultInfo.codeCnt}"/></td>
|
|
| 80 |
- <td data-tit="하위코드"><a href="/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeList.do?searchCode=<c:out value="${resultInfo.codeId}"/>" onclick="fn_egov_CmmnCode(this.href);return false;"><img src="${_IMG}/btn/code.gif" alt="하위코드관리"/></a></td>
|
|
| 81 |
- <td data-tit="관리"> |
|
| 82 |
- <div class="btn-cont"> |
|
| 83 |
- <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnCodeModify.do">
|
|
| 84 |
- <c:param name="modifyAt" value="Y"/> |
|
| 103 |
+ <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnCodeRemove.do">
|
|
| 85 | 104 |
<c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
| 86 | 105 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 87 | 106 |
<c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
| 88 | 107 |
<c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
| 89 | 108 |
</c:url> |
| 90 |
- <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 109 |
+ <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a>
|
|
| 110 |
+ </c:if> |
|
| 111 |
+ </div> |
|
| 112 |
+ </td> |
|
| 113 |
+ </tr> |
|
| 114 |
+ </c:forEach> |
|
| 115 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 116 |
+ <tr> |
|
| 117 |
+ <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> |
|
| 118 |
+ </tr> |
|
| 119 |
+ </c:if> |
|
| 120 |
+ </tbody> |
|
| 121 |
+ </table> |
|
| 122 |
+</div> |
|
| 91 | 123 |
|
| 92 |
- <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 93 |
- <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnCodeRemove.do">
|
|
| 94 |
- <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 95 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 96 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 97 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 98 |
- </c:url> |
|
| 99 |
- <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a>
|
|
| 100 |
- </c:if> |
|
| 101 |
- </div> |
|
| 102 |
- </td> |
|
| 103 |
- </tr> |
|
| 104 |
- </c:forEach> |
|
| 105 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 106 |
- <tr> |
|
| 107 |
- <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 108 |
- </tr> |
|
| 109 |
- </c:if> |
|
| 110 |
- </tbody> |
|
| 111 |
- </table> |
|
| 112 |
- </div> |
|
| 124 |
+<c:url var="pageUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do?">
|
|
| 125 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 126 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 127 |
+</c:url> |
|
| 128 |
+<ul class="paging"> |
|
| 129 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 130 |
+</ul> |
|
| 113 | 131 |
|
| 114 |
- <div id="paging"> |
|
| 115 |
- <c:url var="pageUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do?">
|
|
| 116 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 117 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 118 |
- </c:url> |
|
| 119 |
- <ul> |
|
| 120 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 121 |
- </ul> |
|
| 122 |
- </div> |
|
| 123 |
- |
|
| 124 |
- <div class="btn_r"> |
|
| 132 |
+<div class="fnc-area"> |
|
| 133 |
+ <div class="r-area"> |
|
| 125 | 134 |
<c:url var="registerUrl" value="${_PREFIX}/EgovCcmCmmnCodeRegist.do?">
|
| 126 | 135 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 127 | 136 |
<c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
| 128 | 137 |
<c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
| 129 | 138 |
</c:url> |
| 130 |
- <a href="${registerUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 139 |
+ <a href="${registerUrl}" class="btn spot2">생성</a>
|
|
| 131 | 140 |
</div> |
| 132 |
- |
|
| 133 |
- |
|
| 134 |
-</form> |
|
| 135 |
- |
|
| 141 |
+</div>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeModify.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cca"/> |
| 10 | 4 |
|
| 11 | 5 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
... | ... | @@ -15,7 +9,7 @@ |
| 15 | 9 |
<c:param name="title" value="공통코드 관리"/> |
| 16 | 10 |
</c:import> |
| 17 | 11 |
|
| 18 |
-<script type="text/javaScript" language="javascript"> |
|
| 12 |
+<script> |
|
| 19 | 13 |
function fn_egov_modify_CmmnCode(form){
|
| 20 | 14 |
|
| 21 | 15 |
if(!validateCmmnCode(form)){
|
... | ... | @@ -29,65 +23,72 @@ |
| 29 | 23 |
} |
| 30 | 24 |
</script> |
| 31 | 25 |
|
| 32 |
-<div id="cntnts"> |
|
| 33 |
- |
|
| 34 | 26 |
<form:form commandName="cmmnCode" name="cmmnCode" method="post" action="${_PREFIX}/EgovCcmCmmnCodeModify.do">
|
| 35 |
-<form:hidden path="clCode"/> |
|
| 36 |
-<form:hidden path="codeId"/> |
|
| 37 |
-<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 38 |
-<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 39 |
-<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 27 |
+ <form:hidden path="clCode"/> |
|
| 28 |
+ <form:hidden path="codeId"/> |
|
| 29 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 30 |
+ <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 31 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 40 | 32 |
|
| 41 |
- <table class="chart2"> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col width="150"/> |
|
| 44 |
- <col width=""/> |
|
| 45 |
- </colgroup> |
|
| 46 |
- <tr> |
|
| 47 |
- <th><em>*</em> 분류코드명</th> |
|
| 48 |
- <td><c:out value="${cmmnCode.clCodeNm}"/></td>
|
|
| 49 |
- </tr> |
|
| 50 |
- <tr> |
|
| 51 |
- <th><em>*</em> 코드ID</th> |
|
| 52 |
- <td><c:out value="${cmmnCode.codeId}"/> </td>
|
|
| 53 |
- </tr> |
|
| 54 |
- <tr> |
|
| 55 |
- <th><em>*</em> <label for="codeIdNm">코드ID명</label></th> |
|
| 56 |
- <td> |
|
| 57 |
- <form:input path="codeIdNm" size="60" maxlength="60" cssClass="inp_long"/> |
|
| 58 |
- <form:errors path="codeIdNm"/> |
|
| 59 |
- </td> |
|
| 60 |
- </tr> |
|
| 61 |
- <tr> |
|
| 62 |
- <th><em>*</em> <label for="codeIdDc">코드ID설명</label></th> |
|
| 63 |
- <td> |
|
| 64 |
- <form:textarea path="codeIdDc" rows="7" cols="60" cssClass="inp_default"/> |
|
| 65 |
- <form:errors path="codeIdDc"/> |
|
| 66 |
- </td> |
|
| 67 |
- </tr> |
|
| 68 |
- <tr style="display:none;"> |
|
| 69 |
- <th><em>*</em> <label for="useAt">사용여부</label></th> |
|
| 70 |
- <td> |
|
| 71 |
- <spring:message code="button.yes" /> : <form:radiobutton path="useAt" value="Y" /> |
|
| 72 |
- <spring:message code="button.no" /> : <form:radiobutton path="useAt" value="N" /> |
|
| 73 |
- <br/><form:errors path="useAt" /> |
|
| 74 |
- </td> |
|
| 75 |
- </tr> |
|
| 76 |
- </table> |
|
| 33 |
+ <fieldset> |
|
| 34 |
+ <legend class="hdn">공통코드 입력 폼</legend> |
|
| 77 | 35 |
|
| 78 |
- <div class="btn_r"> |
|
| 79 |
- <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do">
|
|
| 80 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 81 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 82 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 83 |
- </c:url> |
|
| 84 |
- <input type="image" src="<c:url value='${_IMG}/btn/btn_modify.gif'/>" alt="수정" onclick="return fn_egov_modify_CmmnCode(this.form);"/>
|
|
| 36 |
+ <div class="write-type"> |
|
| 37 |
+ <table> |
|
| 38 |
+ <colgroup> |
|
| 39 |
+ <col style="width:250px" /> |
|
| 40 |
+ <col /> |
|
| 41 |
+ </colgroup> |
|
| 42 |
+ <tbody> |
|
| 43 |
+ <tr> |
|
| 44 |
+ <th>분류코드명</th> |
|
| 45 |
+ <td><c:out value="${cmmnCode.clCodeNm}"/></td>
|
|
| 46 |
+ </tr> |
|
| 47 |
+ <tr> |
|
| 48 |
+ <th>코드ID</th> |
|
| 49 |
+ <td><c:out value="${cmmnCode.codeId}"/></td>
|
|
| 50 |
+ </tr> |
|
| 51 |
+ <tr> |
|
| 52 |
+ <th><label for="codeIdNm">코드ID명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 53 |
+ <td> |
|
| 54 |
+ <form:input path="codeIdNm" size="60" maxlength="60" cssClass="q1" /> |
|
| 55 |
+ <div><form:errors path="codeIdNm"/></div> |
|
| 56 |
+ </td> |
|
| 57 |
+ </tr> |
|
| 58 |
+ <tr> |
|
| 59 |
+ <th><label for="codeIdDc">코드ID설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 60 |
+ <td> |
|
| 61 |
+ <form:textarea path="codeIdDc" rows="7" cols="60"/> |
|
| 62 |
+ <div><form:errors path="codeIdDc"/></div> |
|
| 63 |
+ </td> |
|
| 64 |
+ </tr> |
|
| 65 |
+ <tr style="display:none;"> |
|
| 66 |
+ <th>사용여부</th> |
|
| 67 |
+ <td> |
|
| 68 |
+ <div class="checkradio"> |
|
| 69 |
+ <form:radiobutton path="useAt" value="Y" /> |
|
| 70 |
+ <label for="useAt1"><spring:message code="button.yes" /></label> |
|
| 71 |
+ </div> |
|
| 72 |
+ <div class="checkradio"> |
|
| 73 |
+ <form:radiobutton path="useAt" value="N" /> |
|
| 74 |
+ <label for="useAt2"><spring:message code="button.no" /></label> |
|
| 75 |
+ </div> |
|
| 76 |
+ </td> |
|
| 77 |
+ </tr> |
|
| 78 |
+ </tbody> |
|
| 79 |
+ </table> |
|
| 80 |
+ </div> |
|
| 85 | 81 |
|
| 86 |
- <a href="<c:out value="${listUrl}"/>"><img src="<c:url value='${_IMG}/btn/btn_list.gif'/>" alt="목록"/></a>
|
|
| 87 |
- </div> |
|
| 88 |
- |
|
| 89 |
- |
|
| 82 |
+ <div class="btn-cont"> |
|
| 83 |
+ <button type="submit" class="btn-lg spot2" onclick="return fn_egov_modify_CmmnCode(this.form);">수정</button> |
|
| 84 |
+ <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do">
|
|
| 85 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 86 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 87 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 88 |
+ </c:url> |
|
| 89 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 90 |
+ </div> |
|
| 91 |
+ </fieldset> |
|
| 90 | 92 |
</form:form> |
| 91 |
-</div> |
|
| 92 | 93 |
|
| 93 | 94 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeRegist.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cca"/> |
| 10 | 4 |
|
| 11 | 5 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
... | ... | @@ -15,7 +9,7 @@ |
| 15 | 9 |
<c:param name="title" value="공통코드 관리"/> |
| 16 | 10 |
</c:import> |
| 17 | 11 |
|
| 18 |
-<script type="text/javaScript" language="javascript"> |
|
| 12 |
+<script> |
|
| 19 | 13 |
function fn_egov_regist_CmmnCode(form){
|
| 20 | 14 |
|
| 21 | 15 |
if(!validateCmmnCode(form)){
|
... | ... | @@ -30,70 +24,80 @@ |
| 30 | 24 |
} |
| 31 | 25 |
</script> |
| 32 | 26 |
|
| 33 |
-<div id="cntnts"> |
|
| 34 |
- |
|
| 35 | 27 |
<form:form commandName="cmmnCode" name="cmmnCode" method="post" action="${_PREFIX}/EgovCcmCmmnCodeRegist.do">
|
| 36 |
-<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 37 |
-<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 38 |
-<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 28 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 29 |
+ <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 30 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 39 | 31 |
|
| 40 |
- <table class="chart2"> |
|
| 41 |
- <colgroup> |
|
| 42 |
- <col width="150"/> |
|
| 43 |
- <col width=""/> |
|
| 44 |
- </colgroup> |
|
| 45 |
- <tr> |
|
| 46 |
- <th><em>*</em> <label for="clCodeDc">분류코드</label></th> |
|
| 47 |
- <td> |
|
| 48 |
- <select name="clCode" class="select"> |
|
| 49 |
- <c:forEach var="result" items="${cmmnClCode}" varStatus="status">
|
|
| 50 |
- <option value='<c:out value="${result.clCode}"/>'><c:out value="${result.clCodeNm}"/></option>
|
|
| 51 |
- </c:forEach> |
|
| 52 |
- </select> |
|
| 53 |
- </td> |
|
| 54 |
- </tr> |
|
| 55 |
- <tr> |
|
| 56 |
- <th><em>*</em> <label for="codeId">코드ID</label></th> |
|
| 57 |
- <td> |
|
| 58 |
- <form:input path="codeId" size="6" maxlength="6" cssClass="inp"/> |
|
| 59 |
- <form:errors path="codeId"/> |
|
| 60 |
- </td> |
|
| 61 |
- </tr> |
|
| 62 |
- <tr> |
|
| 63 |
- <th><em>*</em> <label for="codeIdNm">코드ID명</label></th> |
|
| 64 |
- <td> |
|
| 65 |
- <form:input path="codeIdNm" size="60" maxlength="60" cssClass="inp_long"/> |
|
| 66 |
- <form:errors path="codeIdNm"/> |
|
| 67 |
- </td> |
|
| 68 |
- </tr> |
|
| 69 |
- <tr> |
|
| 70 |
- <th><em>*</em> <label for="codeIdDc">코드ID설명</label></th> |
|
| 71 |
- <td> |
|
| 72 |
- <form:textarea path="codeIdDc" rows="7" cols="60" cssClass="inp_default"/> |
|
| 73 |
- <form:errors path="codeIdDc"/> |
|
| 74 |
- </td> |
|
| 75 |
- </tr> |
|
| 76 |
- <tr style="display:none;"> |
|
| 77 |
- <th><em>*</em> <label for="useAt">사용여부</label></th> |
|
| 78 |
- <td> |
|
| 79 |
- <spring:message code="button.yes" /> : <form:radiobutton path="useAt" value="Y" /> |
|
| 80 |
- <spring:message code="button.no" /> : <form:radiobutton path="useAt" value="N" /> |
|
| 81 |
- <br/><form:errors path="useAt" /> |
|
| 82 |
- </td> |
|
| 83 |
- </tr> |
|
| 84 |
- </table> |
|
| 32 |
+ <fieldset> |
|
| 33 |
+ <legend class="hdn">공통코드 입력 폼</legend> |
|
| 85 | 34 |
|
| 86 |
- <div class="btn_r"> |
|
| 87 |
- <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do">
|
|
| 88 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 89 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 90 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 91 |
- </c:url> |
|
| 92 |
- <input type="image" src="${_IMG}/btn/btn_regist.gif" alt="저장" onclick="return fn_egov_regist_CmmnCode(this.form);"/>
|
|
| 93 |
- <a href="<c:out value="${listUrl}"/>"><img src="${_IMG}/btn/btn_list.gif" alt="취소"/></a>
|
|
| 94 |
- </div> |
|
| 35 |
+ <div class="write-type"> |
|
| 36 |
+ <table> |
|
| 37 |
+ <colgroup> |
|
| 38 |
+ <col style="width:250px" /> |
|
| 39 |
+ <col /> |
|
| 40 |
+ </colgroup> |
|
| 41 |
+ <tbody> |
|
| 42 |
+ <tr> |
|
| 43 |
+ <th><label for="clCode">분류코드</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 44 |
+ <td> |
|
| 45 |
+ <select name="clCode"> |
|
| 46 |
+ <c:forEach var="result" items="${cmmnClCode}" varStatus="status">
|
|
| 47 |
+ <option value='<c:out value="${result.clCode}"/>'><c:out value="${result.clCodeNm}"/></option>
|
|
| 48 |
+ </c:forEach> |
|
| 49 |
+ </select> |
|
| 50 |
+ </td> |
|
| 51 |
+ </tr> |
|
| 95 | 52 |
|
| 53 |
+ <tr> |
|
| 54 |
+ <th><label for="codeId">코드ID</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 55 |
+ <td> |
|
| 56 |
+ <form:input path="codeId" size="6" maxlength="6" cssClass="q1" /> |
|
| 57 |
+ <div><form:errors path="codeId"/></div> |
|
| 58 |
+ </td> |
|
| 59 |
+ </tr> |
|
| 60 |
+ <tr> |
|
| 61 |
+ <th><label for="codeIdNm">코드ID명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 62 |
+ <td> |
|
| 63 |
+ <form:input path="codeIdNm" size="60" maxlength="60" cssClass="q1" /> |
|
| 64 |
+ <div><form:errors path="codeIdNm"/></div> |
|
| 65 |
+ </td> |
|
| 66 |
+ </tr> |
|
| 67 |
+ <tr> |
|
| 68 |
+ <th><label for="codeIdDc">코드ID설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 69 |
+ <td> |
|
| 70 |
+ <form:textarea path="codeIdDc" rows="7" cols="60"/> |
|
| 71 |
+ <div><form:errors path="codeIdDc"/></div> |
|
| 72 |
+ </td> |
|
| 73 |
+ </tr> |
|
| 74 |
+ <tr style="display:none;"> |
|
| 75 |
+ <th>사용여부</th> |
|
| 76 |
+ <td> |
|
| 77 |
+ <div class="checkradio"> |
|
| 78 |
+ <form:radiobutton path="useAt" value="Y" /> |
|
| 79 |
+ <label for="useAt1"><spring:message code="button.yes" /></label> |
|
| 80 |
+ </div> |
|
| 81 |
+ <div class="checkradio"> |
|
| 82 |
+ <form:radiobutton path="useAt" value="N" /> |
|
| 83 |
+ <label for="useAt2"><spring:message code="button.no" /></label> |
|
| 84 |
+ </div> |
|
| 85 |
+ </td> |
|
| 86 |
+ </tr> |
|
| 87 |
+ </tbody> |
|
| 88 |
+ </table> |
|
| 89 |
+ </div> |
|
| 90 |
+ |
|
| 91 |
+ <div class="btn-cont"> |
|
| 92 |
+ <button type="submit" class="btn-lg spot2" onclick="return fn_egov_regist_CmmnCode(this.form);">확인</button> |
|
| 93 |
+ <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do">
|
|
| 94 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 95 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 96 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 97 |
+ </c:url> |
|
| 98 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 99 |
+ </div> |
|
| 100 |
+ </fieldset> |
|
| 96 | 101 |
</form:form> |
| 97 |
-</div> |
|
| 98 | 102 |
|
| 99 | 103 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeList.jsp
... | ... | @@ -1,17 +1,13 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> |
|
| 7 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 8 | 4 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cde"/> |
| 9 | 5 |
|
| 10 | 6 |
<c:import url="/mng/template/popTop.do" charEncoding="utf-8"> |
| 11 | 7 |
<c:param name="title" value="공통코드관리"/> |
| 12 | 8 |
</c:import> |
| 13 | 9 |
|
| 14 |
-<script type="text/javascript"> |
|
| 10 |
+<script> |
|
| 15 | 11 |
function fn_egov_delete(url){
|
| 16 | 12 |
|
| 17 | 13 |
if(confirm("삭제하시겠습니까?")){
|
... | ... | @@ -20,106 +16,110 @@ |
| 20 | 16 |
} |
| 21 | 17 |
</script> |
| 22 | 18 |
|
| 23 |
-<div id="cntnts"> |
|
| 24 |
-<form name="listForm" action="<c:url value='${_PREFIX}/EgovCcmCmmnDetailCodeList.do'/>" method="post">
|
|
| 25 |
-<input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 26 |
- <p class="total">총 게시물 ${paginationInfo.totalRecordCount}개ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 27 | 19 |
|
| 28 |
- <table class="chart_board"> |
|
| 20 |
+<div class="fnc-area"> |
|
| 21 |
+ <div class="r-area"> |
|
| 22 |
+ <form name="listForm" action="${_PREFIX}/EgovCcmCmmnDetailCodeList.do" method="post">
|
|
| 23 |
+ <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 24 |
+ |
|
| 25 |
+ <div class="sch-area"> |
|
| 26 |
+ <div class="sch-option"> |
|
| 27 |
+ <select name="searchCondition"> |
|
| 28 |
+ <option value='1' <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>코드ID</option>
|
|
| 29 |
+ <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드</option>
|
|
| 30 |
+ <option value='3' <c:if test="${searchVO.searchCondition eq '3'}">selected="selected"</c:if>>코드명</option>
|
|
| 31 |
+ </select> |
|
| 32 |
+ </div> |
|
| 33 |
+ <div class="sch"> |
|
| 34 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 35 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 36 |
+ </div> |
|
| 37 |
+ </div> |
|
| 38 |
+ </form> |
|
| 39 |
+ </div> |
|
| 40 |
+</div> |
|
| 41 |
+ |
|
| 42 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 43 |
+ |
|
| 44 |
+<div class="list-type sm"> |
|
| 45 |
+ <table> |
|
| 29 | 46 |
<colgroup> |
| 30 |
- <col class="co1"/> |
|
| 31 |
- <col class="co6"/> |
|
| 32 |
- <col class="co6"/> |
|
| 33 |
- <col class="co3"/> |
|
| 34 |
- <col class="co6"/> |
|
| 47 |
+ <col style="width:110px"> |
|
| 48 |
+ <col style="width:130px"> |
|
| 49 |
+ <col style="width:130px"> |
|
| 50 |
+ <col> |
|
| 51 |
+ <col style="width:130px"> |
|
| 35 | 52 |
</colgroup> |
| 36 | 53 |
<thead> |
| 37 |
- <tr> |
|
| 54 |
+ <tr> |
|
| 38 | 55 |
<th>순번</th> |
| 39 | 56 |
<th>코드ID</th> |
| 40 | 57 |
<th>코드</th> |
| 41 | 58 |
<th>코드명</th> |
| 42 | 59 |
<th>관리</th> |
| 43 | 60 |
</tr> |
| 44 |
- </thead> |
|
| 61 |
+ </thead> |
|
| 45 | 62 |
<tbody> |
| 46 | 63 |
<c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
| 47 |
- <tr> |
|
| 48 |
- <td nowrap><fmt:formatNumber value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" type="number"/></td>
|
|
| 49 |
- <td nowrap><c:out value="${resultInfo.codeId}"/></td>
|
|
| 50 |
- <td nowrap><c:out value="${resultInfo.code}"/></td>
|
|
| 51 |
- <td nowrap><c:out value="${resultInfo.codeNm}"/></td>
|
|
| 52 |
- <td> |
|
| 53 |
- <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeModify.do">
|
|
| 54 |
- <c:if test="${not empty resultInfo.code}"><c:param name="code" value="${resultInfo.code}" /></c:if>
|
|
| 55 |
- <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 56 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 57 |
- <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 58 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 59 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 60 |
- <c:param name="modifyAt" value="Y"/> |
|
| 61 |
- </c:url> |
|
| 62 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 63 |
- <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeRemove.do">
|
|
| 64 |
- <c:if test="${not empty resultInfo.code}"><c:param name="code" value="${resultInfo.code}" /></c:if>
|
|
| 65 |
- <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 66 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 67 |
- <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 68 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 69 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 70 |
- </c:url> |
|
| 71 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 72 |
- </td> |
|
| 73 |
- </tr> |
|
| 74 |
- </c:forEach> |
|
| 75 |
- |
|
| 76 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 77 |
- <tr> |
|
| 78 |
- <td colspan="5"> |
|
| 79 |
- <spring:message code="common.nodata.msg" /> |
|
| 64 |
+ <tr> |
|
| 65 |
+ <td data-tit="순번"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 66 |
+ <td data-tit="코드ID"><c:out value="${resultInfo.codeId}"/></td>
|
|
| 67 |
+ <td data-tit="코드"><c:out value="${resultInfo.code}"/></td>
|
|
| 68 |
+ <td data-tit="코드명"><c:out value="${resultInfo.codeNm}"/></td>
|
|
| 69 |
+ <td data-tit="관리"> |
|
| 70 |
+ <div class="btn-cont"> |
|
| 71 |
+ <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeModify.do">
|
|
| 72 |
+ <c:if test="${not empty resultInfo.code}"><c:param name="code" value="${resultInfo.code}" /></c:if>
|
|
| 73 |
+ <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 74 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 75 |
+ <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 76 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 77 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 78 |
+ <c:param name="modifyAt" value="Y"/> |
|
| 79 |
+ </c:url> |
|
| 80 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 81 |
+ |
|
| 82 |
+ <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeRemove.do">
|
|
| 83 |
+ <c:if test="${not empty resultInfo.code}"><c:param name="code" value="${resultInfo.code}" /></c:if>
|
|
| 84 |
+ <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 85 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 86 |
+ <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 87 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 88 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 89 |
+ </c:url> |
|
| 90 |
+ <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a>
|
|
| 91 |
+ </div> |
|
| 80 | 92 |
</td> |
| 81 |
- </tr> |
|
| 93 |
+ </tr> |
|
| 94 |
+ </c:forEach> |
|
| 95 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 96 |
+ <tr> |
|
| 97 |
+ <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 98 |
+ </tr> |
|
| 82 | 99 |
</c:if> |
| 83 |
- </tbody> |
|
| 100 |
+ </tbody> |
|
| 84 | 101 |
</table> |
| 102 |
+</div> |
|
| 85 | 103 |
|
| 86 |
- |
|
| 87 |
- |
|
| 88 |
- <div id="paging"> |
|
| 89 |
- <c:url var="pageUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do?">
|
|
| 90 |
- <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 91 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 92 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 93 |
- </c:url> |
|
| 94 |
- <ul> |
|
| 95 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 96 |
- </ul> |
|
| 97 |
- </div> |
|
| 104 |
+<c:url var="pageUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do?">
|
|
| 105 |
+ <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 106 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 107 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 108 |
+</c:url> |
|
| 109 |
+<ul class="paging"> |
|
| 110 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 111 |
+</ul> |
|
| 98 | 112 |
|
| 99 |
- <div id="bbs_search"> |
|
| 100 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 101 |
- <select name="searchCondition" class="select"> |
|
| 102 |
- <option value=''>선택하세요</option> |
|
| 103 |
- <option value='1' <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>코드ID</option>
|
|
| 104 |
- <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드</option>
|
|
| 105 |
- <option value='3' <c:if test="${searchVO.searchCondition eq '3'}">selected="selected"</c:if>>코드명</option>
|
|
| 106 |
- </select> |
|
| 107 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 108 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 109 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 110 |
- </div> |
|
| 111 |
- |
|
| 112 |
- <div class="btn_r"> |
|
| 113 |
+<div class="fnc-area"> |
|
| 114 |
+ <div class="r-area"> |
|
| 113 | 115 |
<c:url var="registerUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeRegist.do?">
|
| 114 | 116 |
<c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
| 115 | 117 |
<c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
| 116 | 118 |
<c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
| 117 | 119 |
<c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
| 118 | 120 |
</c:url> |
| 119 |
- <a href="${registerUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 121 |
+ <a href="${registerUrl}" class="btn spot2">생성</a>
|
|
| 120 | 122 |
</div> |
| 121 |
- |
|
| 122 |
-</form> |
|
| 123 | 123 |
</div> |
| 124 | 124 |
|
| 125 |
-<c:import url="/mng/template/popBottom.do" charEncoding="utf-8"/> |
|
| 125 |
+<c:import url="/mng/template/popBottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeModify.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeModify.jsp
... | ... | @@ -1,11 +1,6 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="MNG_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 9 | 4 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cde"/> |
| 10 | 5 |
|
| 11 | 6 |
<c:import url="/mng/template/popTop.do" charEncoding="utf-8"> |
... | ... | @@ -13,7 +8,7 @@ |
| 13 | 8 |
<c:param name="title" value="공통코드관리"/> |
| 14 | 9 |
</c:import> |
| 15 | 10 |
|
| 16 |
-<script type="text/javaScript" language="javascript"> |
|
| 11 |
+<script> |
|
| 17 | 12 |
function fn_egov_modify_CmmnDetailCode(form){
|
| 18 | 13 |
|
| 19 | 14 |
if(!validateCmmnDetailCode(form)){
|
... | ... | @@ -27,67 +22,76 @@ |
| 27 | 22 |
} |
| 28 | 23 |
</script> |
| 29 | 24 |
|
| 30 |
- |
|
| 31 |
-<div id="cntnts"> |
|
| 32 |
- |
|
| 33 | 25 |
<form:form commandName="cmmnDetailCode" name="cmmnDetailCode" method="post" action="${_PREFIX}/EgovCcmCmmnDetailCodeModify.do">
|
| 34 |
-<form:hidden path="codeId"/> |
|
| 35 |
-<form:hidden path="code"/> |
|
| 36 |
-<input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 37 |
-<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 38 |
-<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 39 |
-<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 26 |
+ <form:hidden path="codeId"/> |
|
| 27 |
+ <form:hidden path="code"/> |
|
| 28 |
+ <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 29 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 30 |
+ <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 31 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 40 | 32 |
|
| 41 |
-<table class="chart2"> |
|
| 42 |
- <colgroup> |
|
| 43 |
- <col width="150"/> |
|
| 44 |
- <col width=""/> |
|
| 45 |
- </colgroup> |
|
| 46 |
- <tr> |
|
| 47 |
- <th><em>*</em> <label for="code">코드ID</label></th> |
|
| 48 |
- <td><c:out value="${cmmnDetailCode.codeId}"/> (<c:out value="${cmmnDetailCode.codeIdNm}"/>)</td>
|
|
| 49 |
- </tr> |
|
| 50 |
- <tr> |
|
| 51 |
- <th><em>*</em> <label for="code">코드</label></th> |
|
| 52 |
- <td><c:out value='${cmmnDetailCode.code}'/></td>
|
|
| 53 |
- </tr> |
|
| 54 |
- <tr> |
|
| 55 |
- <th><em>*</em> <label for="codeNm">코드명</label></th> |
|
| 56 |
- <td> |
|
| 57 |
- <form:input path="codeNm" maxlength="60" cssClass="inp_long"/> |
|
| 58 |
- <form:errors path="codeNm"/> |
|
| 59 |
- </td> |
|
| 60 |
- </tr> |
|
| 61 |
- <tr> |
|
| 62 |
- <th><em>*</em> <label for="codeDc">코드설명</label></th> |
|
| 63 |
- <td> |
|
| 64 |
- <form:textarea path="codeDc" rows="7" cols="60" cssClass="inp_default"/> |
|
| 65 |
- <form:errors path="codeDc"/> |
|
| 66 |
- </td> |
|
| 67 |
- </tr> |
|
| 68 |
- <tr style="display:none;"> |
|
| 69 |
- <th><em>*</em> <label for="useAt">사용여부</label></th> |
|
| 70 |
- <td> |
|
| 71 |
- <spring:message code="button.yes" /> : <form:radiobutton path="useAt" value="Y" /> |
|
| 72 |
- <spring:message code="button.no" /> : <form:radiobutton path="useAt" value="N" /> |
|
| 73 |
- <br/><form:errors path="useAt" /> |
|
| 74 |
- </td> |
|
| 75 |
- </tr> |
|
| 76 |
- </table> |
|
| 33 |
+ <fieldset> |
|
| 34 |
+ <legend class="hdn">공통코드상세 입력 폼</legend> |
|
| 77 | 35 |
|
| 78 |
- <div class="btn_r"> |
|
| 79 |
- <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do">
|
|
| 80 |
- <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 81 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 82 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 83 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 84 |
- </c:url> |
|
| 85 |
- <input type="image" src="<c:url value='${MNG_IMG}/btn/btn_modify.gif'/>" alt="수정" onclick="return fn_egov_modify_CmmnDetailCode(this.form);"/>
|
|
| 36 |
+ <div class="write-type"> |
|
| 37 |
+ <table> |
|
| 38 |
+ <colgroup> |
|
| 39 |
+ <col style="width:250px" /> |
|
| 40 |
+ <col /> |
|
| 41 |
+ </colgroup> |
|
| 42 |
+ <tbody> |
|
| 43 |
+ <tr> |
|
| 44 |
+ <th>코드ID</th> |
|
| 45 |
+ <td><c:out value="${cmmnDetailCode.codeId}"/> (<c:out value="${cmmnDetailCode.codeIdNm}"/>)</td>
|
|
| 46 |
+ </tr> |
|
| 47 |
+ <tr> |
|
| 48 |
+ <th>코드</th> |
|
| 49 |
+ <td><c:out value='${cmmnDetailCode.code}'/></td>
|
|
| 50 |
+ </tr> |
|
| 86 | 51 |
|
| 87 |
- <a href="<c:out value="${listUrl}"/>"><img src="<c:url value='${MNG_IMG}/btn/btn_list.gif'/>" alt="목록"/></a>
|
|
| 88 |
- </div> |
|
| 52 |
+ <tr> |
|
| 53 |
+ <th><label for="codeNm">코드명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 54 |
+ <td> |
|
| 55 |
+ <form:input path="codeNm" size="60" maxlength="60" cssClass="q1" /> |
|
| 56 |
+ <div><form:errors path="codeNm"/></div> |
|
| 57 |
+ </td> |
|
| 58 |
+ </tr> |
|
| 59 |
+ <tr> |
|
| 60 |
+ <th><label for="codeDc">코드ID설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 61 |
+ <td> |
|
| 62 |
+ <form:textarea path="codeDc" rows="3" cols="60"/> |
|
| 63 |
+ <div><form:errors path="codeDc"/></div> |
|
| 64 |
+ </td> |
|
| 65 |
+ </tr> |
|
| 66 |
+ <tr style="display:none;"> |
|
| 67 |
+ <th>사용여부</th> |
|
| 68 |
+ <td> |
|
| 69 |
+ <div class="checkradio"> |
|
| 70 |
+ <form:radiobutton path="useAt" value="Y" /> |
|
| 71 |
+ <label for="useAt1"><spring:message code="button.yes" /></label> |
|
| 72 |
+ </div> |
|
| 73 |
+ <div class="checkradio"> |
|
| 74 |
+ <form:radiobutton path="useAt" value="N" /> |
|
| 75 |
+ <label for="useAt2"><spring:message code="button.no" /></label> |
|
| 76 |
+ </div> |
|
| 77 |
+ </td> |
|
| 78 |
+ </tr> |
|
| 79 |
+ </tbody> |
|
| 80 |
+ </table> |
|
| 81 |
+ </div> |
|
| 89 | 82 |
|
| 83 |
+ <div class="btn-cont"> |
|
| 84 |
+ <button type="submit" class="btn-lg spot2" onclick="return fn_egov_modify_CmmnDetailCode(this.form);">수정</button> |
|
| 85 |
+ |
|
| 86 |
+ <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do">
|
|
| 87 |
+ <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 88 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 89 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 90 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 91 |
+ </c:url> |
|
| 92 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 93 |
+ </div> |
|
| 94 |
+ </fieldset> |
|
| 90 | 95 |
</form:form> |
| 91 |
-</div> |
|
| 92 | 96 |
|
| 93 | 97 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cde/CcmCmmnDetailCodeRegist.jsp
... | ... | @@ -1,11 +1,6 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 9 | 4 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cde"/> |
| 10 | 5 |
|
| 11 | 6 |
<c:import url="/mng/template/popTop.do" charEncoding="utf-8"> |
... | ... | @@ -13,7 +8,7 @@ |
| 13 | 8 |
<c:param name="title" value="공통코드관리"/> |
| 14 | 9 |
</c:import> |
| 15 | 10 |
|
| 16 |
-<script type="text/javaScript" language="javascript"> |
|
| 11 |
+<script> |
|
| 17 | 12 |
function fn_egov_get_CodeId(form){
|
| 18 | 13 |
form.cmd.value = ""; |
| 19 | 14 |
form.submit(); |
... | ... | @@ -32,73 +27,84 @@ |
| 32 | 27 |
} |
| 33 | 28 |
} |
| 34 | 29 |
</script> |
| 35 |
-<div id="cntnts"> |
|
| 36 | 30 |
|
| 37 | 31 |
<form:form commandName="cmmnDetailCode" name="cmmnDetailCode" method="post" action="${_PREFIX}/EgovCcmCmmnDetailCodeRegist.do">
|
| 38 |
-<input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 39 |
-<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 40 |
-<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 41 |
-<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 32 |
+ <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 33 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 34 |
+ <input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
|
| 35 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
|
| 42 | 36 |
|
| 43 |
-<table class="chart2"> |
|
| 44 |
- <colgroup> |
|
| 45 |
- <col width="150"/> |
|
| 46 |
- <col width=""/> |
|
| 47 |
- </colgroup> |
|
| 48 |
- <tr> |
|
| 49 |
- <th><em>*</em> <label for="clCode">코드ID</label></th> |
|
| 50 |
- <td> |
|
| 51 |
- <select name="codeId" class="select"> |
|
| 52 |
- <c:forEach var="result" items="${cmmnCodeList}" varStatus="status">
|
|
| 53 |
- <option value='<c:out value="${result.codeId}"/>' <c:if test="${result.codeId eq searchVO.searchCode}">selected="selected"</c:if>><c:out value="${result.codeIdNm}"/></option>
|
|
| 54 |
- </c:forEach> |
|
| 55 |
- </select> |
|
| 56 |
- </td> |
|
| 57 |
- </tr> |
|
| 58 |
- <tr> |
|
| 59 |
- <th><em>*</em> <label for="code">코드</label></th> |
|
| 60 |
- <td> |
|
| 61 |
- <form:input path="code" size="15" maxlength="15" cssClass="inp"/> |
|
| 62 |
- <form:errors path="code"/> |
|
| 63 |
- </td> |
|
| 64 |
- </tr> |
|
| 65 |
- <tr> |
|
| 66 |
- <th><em>*</em> <label for="codeNm">코드명</label></th> |
|
| 67 |
- <td> |
|
| 68 |
- <form:input path="codeNm" size="60" maxlength="60" cssClass="inp_long"/> |
|
| 69 |
- <form:errors path="codeNm"/> |
|
| 70 |
- </td> |
|
| 71 |
- </tr> |
|
| 72 |
- <tr> |
|
| 73 |
- <th><em>*</em> <label for="codeDc">코드설명</label></th> |
|
| 74 |
- <td> |
|
| 75 |
- <form:textarea path="codeDc" rows="3" cols="60" cssClass="inp_default"/> |
|
| 76 |
- <form:errors path="codeDc"/> |
|
| 77 |
- </td> |
|
| 78 |
- </tr> |
|
| 79 |
- <tr style="display:none;"> |
|
| 80 |
- <th><em>*</em> <label for="useAt">사용여부</label></th> |
|
| 81 |
- <td> |
|
| 82 |
- <spring:message code="button.yes" /> : <form:radiobutton path="useAt" value="Y" /> |
|
| 83 |
- <spring:message code="button.no" /> : <form:radiobutton path="useAt" value="N" /> |
|
| 84 |
- <br/><form:errors path="useAt" /> |
|
| 85 |
- </td> |
|
| 86 |
- </tr> |
|
| 87 |
- </table> |
|
| 37 |
+ <fieldset> |
|
| 38 |
+ <legend class="hdn">공통코드상세 입력 폼</legend> |
|
| 88 | 39 |
|
| 89 |
- <div class="btn_r"> |
|
| 90 |
- <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do?">
|
|
| 91 |
- <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 92 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 93 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 94 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 95 |
- </c:url> |
|
| 96 |
- <input type="image" src="${_IMG}/btn/btn_regist.gif" alt="저장" onclick="return fn_egov_regist_CmmnDetailCode(this.form);"/>
|
|
| 97 |
- <a href="<c:out value="${listUrl}"/>"><img src="${_IMG}/btn/btn_list.gif" alt="취소"/></a>
|
|
| 98 |
- </div> |
|
| 40 |
+ <div class="write-type"> |
|
| 41 |
+ <table> |
|
| 42 |
+ <colgroup> |
|
| 43 |
+ <col style="width:250px" /> |
|
| 44 |
+ <col /> |
|
| 45 |
+ </colgroup> |
|
| 46 |
+ <tbody> |
|
| 47 |
+ <tr> |
|
| 48 |
+ <th><label for="codeId">코드ID</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 49 |
+ <td> |
|
| 50 |
+ <select name="codeId"> |
|
| 51 |
+ <c:forEach var="result" items="${cmmnCodeList}" varStatus="status">
|
|
| 52 |
+ <option value='<c:out value="${result.codeId}"/>' <c:if test="${result.codeId eq searchVO.searchCode}">selected="selected"</c:if>><c:out value="${result.codeIdNm}"/></option>
|
|
| 53 |
+ </c:forEach> |
|
| 54 |
+ </select> |
|
| 55 |
+ </td> |
|
| 56 |
+ </tr> |
|
| 99 | 57 |
|
| 58 |
+ <tr> |
|
| 59 |
+ <th><label for="code">코드</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 60 |
+ <td> |
|
| 61 |
+ <form:input path="code" size="15" maxlength="15" cssClass="q1" /> |
|
| 62 |
+ <div><form:errors path="code"/></div> |
|
| 63 |
+ </td> |
|
| 64 |
+ </tr> |
|
| 65 |
+ <tr> |
|
| 66 |
+ <th><label for="codeNm">코드명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 67 |
+ <td> |
|
| 68 |
+ <form:input path="codeNm" size="60" maxlength="60" cssClass="q1" /> |
|
| 69 |
+ <div><form:errors path="codeNm"/></div> |
|
| 70 |
+ </td> |
|
| 71 |
+ </tr> |
|
| 72 |
+ <tr> |
|
| 73 |
+ <th><label for="codeDc">코드ID설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 74 |
+ <td> |
|
| 75 |
+ <form:textarea path="codeDc" rows="3" cols="60"/> |
|
| 76 |
+ <div><form:errors path="codeDc"/></div> |
|
| 77 |
+ </td> |
|
| 78 |
+ </tr> |
|
| 79 |
+ <tr style="display:none;"> |
|
| 80 |
+ <th>사용여부</th> |
|
| 81 |
+ <td> |
|
| 82 |
+ <div class="checkradio"> |
|
| 83 |
+ <form:radiobutton path="useAt" value="Y" /> |
|
| 84 |
+ <label for="useAt1"><spring:message code="button.yes" /></label> |
|
| 85 |
+ </div> |
|
| 86 |
+ <div class="checkradio"> |
|
| 87 |
+ <form:radiobutton path="useAt" value="N" /> |
|
| 88 |
+ <label for="useAt2"><spring:message code="button.no" /></label> |
|
| 89 |
+ </div> |
|
| 90 |
+ </td> |
|
| 91 |
+ </tr> |
|
| 92 |
+ </tbody> |
|
| 93 |
+ </table> |
|
| 94 |
+ </div> |
|
| 100 | 95 |
|
| 96 |
+ <div class="btn-cont"> |
|
| 97 |
+ <button type="submit" class="btn-lg spot2" onclick="return fn_egov_regist_CmmnDetailCode(this.form);">확인</button> |
|
| 98 |
+ |
|
| 99 |
+ <c:url var="listUrl" value="${_PREFIX}/EgovCcmCmmnDetailCodeList.do?">
|
|
| 100 |
+ <c:if test="${not empty searchVO.searchCode}"><c:param name="searchCode" value="${searchVO.searchCode}" /></c:if>
|
|
| 101 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 102 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 103 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 104 |
+ </c:url> |
|
| 105 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 106 |
+ </div> |
|
| 107 |
+ </fieldset> |
|
| 101 | 108 |
</form:form> |
| 102 |
-</div> |
|
| 103 | 109 |
|
| 104 | 110 |
<c:import url="/mng/template/popBottom.do" charEncoding="utf-8"/> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
... | ... | @@ -66,7 +66,7 @@ |
| 66 | 66 |
var url = "/mng/cop/com/selectLytTemplateList.do?"; |
| 67 | 67 |
url = url + "selectMode=Y&searchTmplatLcasCode=" + se; |
| 68 | 68 |
|
| 69 |
- var win = window.open(url ,'lytTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 69 |
+ var win = window.open(url ,'lytTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 70 | 70 |
if(win != null) {
|
| 71 | 71 |
win.focus(); |
| 72 | 72 |
} |
... | ... | @@ -87,7 +87,7 @@ |
| 87 | 87 |
var url = "/mng/cop/com/selectLytSourcList.do?"; |
| 88 | 88 |
url = url + "selectMode=Y&searchSourcSeCode=" + se; |
| 89 | 89 |
|
| 90 |
- var win = window.open(url ,'lytSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 90 |
+ var win = window.open(url ,'lytSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 91 | 91 |
if(win != null) {
|
| 92 | 92 |
win.focus(); |
| 93 | 93 |
} |
... | ... | @@ -376,153 +376,79 @@ |
| 376 | 376 |
<tr> |
| 377 | 377 |
<th>홈페이지 레이아웃</th> |
| 378 | 378 |
<td> |
| 379 |
- <table> |
|
| 380 |
- <caption>홈페이지 레이아웃 설정폼</caption> |
|
| 381 |
- <colgroup> |
|
| 382 |
- <col width="200"/> |
|
| 383 |
- <col width="200"/> |
|
| 384 |
- </colgroup> |
|
| 385 |
- <tbody> |
|
| 386 |
- <tr> |
|
| 387 |
- <td> |
|
| 388 |
- <table> |
|
| 389 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 390 |
- <tr> |
|
| 391 |
- <td> |
|
| 392 |
- <c:choose> |
|
| 393 |
- <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 394 |
- <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${sourcFileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 395 |
- </c:when> |
|
| 396 |
- <c:otherwise> |
|
| 397 |
- <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 398 |
- </c:otherwise> |
|
| 399 |
- </c:choose> |
|
| 400 |
- </td> |
|
| 401 |
- </tr> |
|
| 402 |
- <tr> |
|
| 403 |
- <td align="center"><div id="lytSourcNm"><c:out value="${lytSourcVO.sourcNm}"/></div></td>
|
|
| 404 |
- </tr> |
|
| 405 |
- <tr> |
|
| 406 |
- <td align="center"><a href="#" onclick="fn_egov_selectSourc('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 407 |
- </tr> |
|
| 408 |
- </table> |
|
| 409 |
- </td> |
|
| 410 |
- <td> |
|
| 411 |
- <table> |
|
| 412 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 413 |
- <tr> |
|
| 414 |
- <td> |
|
| 415 |
- <c:choose> |
|
| 416 |
- <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 417 |
- <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 418 |
- </c:when> |
|
| 419 |
- <c:otherwise> |
|
| 420 |
- <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 421 |
- </c:otherwise> |
|
| 422 |
- </c:choose> |
|
| 423 |
- </td> |
|
| 424 |
- </tr> |
|
| 425 |
- <tr> |
|
| 426 |
- <td align="center"><div id="lytTmplatNm"><c:out value="${lytTmplatVO.tmplatNm}"/></div></td>
|
|
| 427 |
- </tr> |
|
| 428 |
- <tr> |
|
| 429 |
- <td align="center"><a href="#" onclick="fn_egov_selectTemplate('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 430 |
- </tr> |
|
| 431 |
- </table> |
|
| 432 |
- </td> |
|
| 433 |
- <td style="display: none;"> |
|
| 434 |
- <table> |
|
| 435 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">메인화면 게시판</font></strong></td></tr> |
|
| 436 |
- <tr> |
|
| 437 |
- <td> |
|
| 438 |
- <select id="bbsIdList" name="bbsIdList" multiple="multiple" size="11" style="width:120px;height:107px"> |
|
| 439 |
- <c:forEach var="result" items="${siteManageVO.mainContentsList}" varStatus="status">
|
|
| 440 |
- <option value="${result.progrmId}"><c:out value="${result.progrmNm}"/></option>
|
|
| 441 |
- </c:forEach> |
|
| 442 |
- </select> |
|
| 443 |
- </td> |
|
| 444 |
- <td width="40" align="center"> |
|
| 445 |
- <a href="#" onclick="fnContentMove('SMCTS01', 'UP');return false;"><img src="${_IMG}/btn/btn_goup.gif" alt="위로이동"/></a>
|
|
| 446 |
- <br/> |
|
| 447 |
- <a href="#" onclick="fnContentMove('SMCTS01', 'DOWN');return false;"><img src="${_IMG}/btn/btn_godown.gif" alt="아래로이동"/></a>
|
|
| 448 |
- </td> |
|
| 449 |
- </tr> |
|
| 450 |
- <tr> |
|
| 451 |
- <td align="center">추가/삭제</td> |
|
| 452 |
- </tr> |
|
| 453 |
- <tr> |
|
| 454 |
- <td align="center"> |
|
| 455 |
- <a href="#" onclick="fnContentAdd('SMCTS01');return false;"><img src="${_IMG}/btn/btn_plus.gif" alt="추가"/></a>
|
|
| 456 |
- <a href="#" onclick="fnContentDel('SMCTS01');return false;"><img src="${_IMG}/btn/btn_minus.gif" alt="삭제"/></a>
|
|
| 457 |
- </td> |
|
| 458 |
- </tr> |
|
| 459 |
- </table> |
|
| 460 |
- </td> |
|
| 461 |
- </tr> |
|
| 462 |
- </tbody> |
|
| 463 |
- </table> |
|
| 379 |
+ <ul class="preview-list"> |
|
| 380 |
+ <li> |
|
| 381 |
+ <div class="preview-area"> |
|
| 382 |
+ <c:choose> |
|
| 383 |
+ <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 384 |
+ <img id="lytSourcImage" src="${sourcFileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}"/>
|
|
| 385 |
+ </c:when> |
|
| 386 |
+ <c:otherwise> |
|
| 387 |
+ <img id="lytSourcImage" src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120"/>
|
|
| 388 |
+ </c:otherwise> |
|
| 389 |
+ </c:choose> |
|
| 390 |
+ </div> |
|
| 391 |
+ <div class="txt-area"> |
|
| 392 |
+ <p><c:out value="${lytSourcVO.sourcNm}"/></p>
|
|
| 393 |
+ <button class="btn-sm spot" onclick="fn_egov_selectSourc('sit'); return false;">선택</button>
|
|
| 394 |
+ </div> |
|
| 395 |
+ </li> |
|
| 396 |
+ <li> |
|
| 397 |
+ <div class="preview-area"> |
|
| 398 |
+ <c:choose> |
|
| 399 |
+ <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 400 |
+ <img id="lytTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}"/>
|
|
| 401 |
+ </c:when> |
|
| 402 |
+ <c:otherwise> |
|
| 403 |
+ <img id="lytTmplatImage" src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120"/>
|
|
| 404 |
+ </c:otherwise> |
|
| 405 |
+ </c:choose> |
|
| 406 |
+ </div> |
|
| 407 |
+ <div class="txt-area"> |
|
| 408 |
+ <p><c:out value="${lytTmplatVO.tmplatNm}"/></p>
|
|
| 409 |
+ <button class="btn-sm spot" onclick="fn_egov_selectTemplate('sit'); return false;">선택</button>
|
|
| 410 |
+ </div> |
|
| 411 |
+ </li> |
|
| 412 |
+ </ul> |
|
| 464 | 413 |
</td> |
| 465 | 414 |
</tr> |
| 466 | 415 |
<tr> |
| 467 | 416 |
<th>커뮤니티 레이아웃</th> |
| 468 | 417 |
<td> |
| 469 |
- <table> |
|
| 470 |
- <caption>커뮤니티 레이아웃 설정폼</caption> |
|
| 471 |
- <colgroup> |
|
| 472 |
- <col width="200"/> |
|
| 473 |
- <col width="200"/> |
|
| 474 |
- </colgroup> |
|
| 475 |
- <tbody> |
|
| 476 |
- <tr> |
|
| 477 |
- <td> |
|
| 478 |
- <table> |
|
| 479 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 480 |
- <tr> |
|
| 481 |
- <td> |
|
| 482 |
- <c:choose> |
|
| 483 |
- <c:when test="${not empty cmySourcVO.prevewFileNm}">
|
|
| 484 |
- <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${sourcFileStoreWebPathByPreFile}/${cmySourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 485 |
- </c:when> |
|
| 486 |
- <c:otherwise> |
|
| 487 |
- <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 488 |
- </c:otherwise> |
|
| 489 |
- </c:choose> |
|
| 490 |
- </td> |
|
| 491 |
- </tr> |
|
| 492 |
- <tr> |
|
| 493 |
- <td align="center"><div id="cmySourcNm"><c:out value="${cmySourcVO.sourcNm}"/></div></td>
|
|
| 494 |
- </tr> |
|
| 495 |
- <tr> |
|
| 496 |
- <td align="center"><a href="#" onclick="fn_egov_selectSourc('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 497 |
- </tr> |
|
| 498 |
- </table> |
|
| 499 |
- </td> |
|
| 500 |
- <td> |
|
| 501 |
- <table> |
|
| 502 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 503 |
- <tr> |
|
| 504 |
- <td> |
|
| 505 |
- <c:choose> |
|
| 506 |
- <c:when test="${not empty cmyTmplatVO.prevewFileNm}">
|
|
| 507 |
- <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${cmyTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 508 |
- </c:when> |
|
| 509 |
- <c:otherwise> |
|
| 510 |
- <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 511 |
- </c:otherwise> |
|
| 512 |
- </c:choose> |
|
| 513 |
- </td> |
|
| 514 |
- </tr> |
|
| 515 |
- <tr> |
|
| 516 |
- <td align="center"><div id="cmyTmplatNm"><c:out value="${cmyTmplatVO.tmplatNm}"/></div></td>
|
|
| 517 |
- </tr> |
|
| 518 |
- <tr> |
|
| 519 |
- <td align="center"><a href="#" onclick="fn_egov_selectTemplate('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 520 |
- </tr> |
|
| 521 |
- </table> |
|
| 522 |
- </td> |
|
| 523 |
- </tr> |
|
| 524 |
- </tbody> |
|
| 525 |
- </table> |
|
| 418 |
+ <ul class="preview-list"> |
|
| 419 |
+ <li> |
|
| 420 |
+ <div class="preview-area"> |
|
| 421 |
+ <c:choose> |
|
| 422 |
+ <c:when test="${not empty cmySourcVO.prevewFileNm}">
|
|
| 423 |
+ <img id="cmySourcImage" src="${sourcFileStoreWebPathByPreFile}/${cmySourcVO.prevewFileNm}"/>
|
|
| 424 |
+ </c:when> |
|
| 425 |
+ <c:otherwise> |
|
| 426 |
+ <img id="cmySourcImage" src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120"/>
|
|
| 427 |
+ </c:otherwise> |
|
| 428 |
+ </c:choose> |
|
| 429 |
+ </div> |
|
| 430 |
+ <div class="txt-area"> |
|
| 431 |
+ <p><c:out value="${cmySourcVO.sourcNm}"/></p>
|
|
| 432 |
+ <button class="btn-sm spot" onclick="fn_egov_selectSourc('cmy'); return false;">선택</button>
|
|
| 433 |
+ </div> |
|
| 434 |
+ </li> |
|
| 435 |
+ <li> |
|
| 436 |
+ <div class="preview-area"> |
|
| 437 |
+ <c:choose> |
|
| 438 |
+ <c:when test="${not empty cmyTmplatVO.prevewFileNm}">
|
|
| 439 |
+ <img id="cmyTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${cmyTmplatVO.prevewFileNm}"/>
|
|
| 440 |
+ </c:when> |
|
| 441 |
+ <c:otherwise> |
|
| 442 |
+ <img id="cmyTmplatImage" src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120"/>
|
|
| 443 |
+ </c:otherwise> |
|
| 444 |
+ </c:choose> |
|
| 445 |
+ </div> |
|
| 446 |
+ <div class="txt-area"> |
|
| 447 |
+ <p><c:out value="${cmyTmplatVO.tmplatNm}"/></p>
|
|
| 448 |
+ <button class="btn-sm spot" onclick="fn_egov_selectTemplate('cmy'); return false;">선택</button>
|
|
| 449 |
+ </div> |
|
| 450 |
+ </li> |
|
| 451 |
+ </ul> |
|
| 526 | 452 |
</td> |
| 527 | 453 |
</tr> |
| 528 | 454 |
<c:if test="${_MODE eq 'REG'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
... | ... | @@ -100,52 +100,47 @@ |
| 100 | 100 |
</script> |
| 101 | 101 |
|
| 102 | 102 |
<div class="sch-box"> |
| 103 |
- <div class="write-type1"> |
|
| 104 |
- <table> |
|
| 105 |
- <caption>검색</caption> |
|
| 106 |
- <colgroup> |
|
| 107 |
- <col style="width:100px"> |
|
| 108 |
- <col> |
|
| 109 |
- </colgroup> |
|
| 110 |
- <tbody> |
|
| 111 |
- <tr> |
|
| 112 |
- <th scope="row">사이트</th> |
|
| 113 |
- <td colspan="3"> |
|
| 114 |
- <select id="searchBlngEduInstCd" name="searchBlngEduInstCd" style="display:none"> |
|
| 115 |
- <option value="">지역별</option> |
|
| 116 |
- <c:forEach var="result" items="${areaList}" varStatus="status">
|
|
| 117 |
- <option value="${result.orgCd}" <c:if test="${result.orgCd eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if> >${result.schlShrNm}</option>
|
|
| 118 |
- </c:forEach> |
|
| 119 |
- <option value="ZZZZZZZZZZZZZZZZZZZZ" <c:if test="${'ZZZZZZZZZZZZZZZZZZZZ' eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if>>기타</option>
|
|
| 120 |
- </select> |
|
| 103 |
+ <table> |
|
| 104 |
+ <caption>검색</caption> |
|
| 105 |
+ <colgroup> |
|
| 106 |
+ <col style="width:100px"> |
|
| 107 |
+ <col> |
|
| 108 |
+ </colgroup> |
|
| 109 |
+ <tbody> |
|
| 110 |
+ <tr> |
|
| 111 |
+ <th scope="row">사이트</th> |
|
| 112 |
+ <td colspan="3"> |
|
| 113 |
+ <select id="searchBlngEduInstCd" name="searchBlngEduInstCd" style="display:none"> |
|
| 114 |
+ <option value="">지역별</option> |
|
| 115 |
+ <c:forEach var="result" items="${areaList}" varStatus="status">
|
|
| 116 |
+ <option value="${result.orgCd}" <c:if test="${result.orgCd eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if> >${result.schlShrNm}</option>
|
|
| 117 |
+ </c:forEach> |
|
| 118 |
+ <option value="ZZZZZZZZZZZZZZZZZZZZ" <c:if test="${'ZZZZZZZZZZZZZZZZZZZZ' eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if>>기타</option>
|
|
| 119 |
+ </select> |
|
| 121 | 120 |
|
| 122 |
- <select name="searchSchlGrdCd" id="searchSchlGrdCd"> |
|
| 123 |
- <%-- <option value="">급별</option> --%> |
|
| 124 |
- <c:forEach var="result" items="${schlGrdList}" varStatus="status">
|
|
| 125 |
- <option value="${result.code}" <c:if test="${orgCodeVO.schlGrdCd eq result.code}">selected="selected"</c:if> ><c:out value="${result.codeNm}"/></option>
|
|
| 126 |
- </c:forEach> |
|
| 127 |
- </select> |
|
| 121 |
+ <select name="searchSchlGrdCd" id="searchSchlGrdCd"> |
|
| 122 |
+ <%-- <option value="">급별</option> --%> |
|
| 123 |
+ <c:forEach var="result" items="${schlGrdList}" varStatus="status">
|
|
| 124 |
+ <option value="${result.code}" <c:if test="${orgCodeVO.schlGrdCd eq result.code}">selected="selected"</c:if> ><c:out value="${result.codeNm}"/></option>
|
|
| 125 |
+ </c:forEach> |
|
| 126 |
+ </select> |
|
| 128 | 127 |
|
| 129 |
- <select id="siteId" name="siteId"> |
|
| 130 |
- <option value=''>사이트선택(0)</option> |
|
| 131 |
- </select> |
|
| 128 |
+ <select id="siteId" name="siteId"> |
|
| 129 |
+ <option value=''>사이트선택(0)</option> |
|
| 130 |
+ </select> |
|
| 132 | 131 |
|
| 133 |
- <c:if test="${orgCodeVO.initMode ne 'SELECT' }">
|
|
| 134 |
- <div class="checkradio"> |
|
| 135 |
- <input type="checkbox" id="chkSave" name="chkSave" value="Y"> |
|
| 136 |
- <label for="chkSave">저장</label> |
|
| 137 |
- </div> |
|
| 138 |
- <%--<input type="checkbox" id="chkSave" /><label for="chkSave" style="color:#3268c8;font-size:11px;font-weight:bold">저장</label>--%> |
|
| 139 |
- <c:if test="${orgCodeVO.initMode ne 'SELECT_HIDE' }">
|
|
| 140 |
- <button type="submit" id="btnSiteSearch" name="btnSiteSearch" class="btn spot2">검색</button> |
|
| 141 |
- </c:if> |
|
| 132 |
+ <c:if test="${orgCodeVO.initMode ne 'SELECT' }">
|
|
| 133 |
+ <div class="checkradio"> |
|
| 134 |
+ <input type="checkbox" id="chkSave" name="chkSave" value="Y"> |
|
| 135 |
+ <label for="chkSave">저장</label> |
|
| 136 |
+ </div> |
|
| 137 |
+ <%--<input type="checkbox" id="chkSave" /><label for="chkSave" style="color:#3268c8;font-size:11px;font-weight:bold">저장</label>--%> |
|
| 138 |
+ <c:if test="${orgCodeVO.initMode ne 'SELECT_HIDE' }">
|
|
| 139 |
+ <button type="submit" id="btnSiteSearch" name="btnSiteSearch" class="btn spot2">검색</button> |
|
| 142 | 140 |
</c:if> |
| 143 |
- </td> |
|
| 144 |
- </tr> |
|
| 145 |
- </tbody> |
|
| 146 |
- </table> |
|
| 147 |
- </div> |
|
| 148 |
-</div> |
|
| 149 |
- |
|
| 150 |
- |
|
| 151 |
-(파일 끝에 줄바꿈 문자 없음) |
|
| 141 |
+ </c:if> |
|
| 142 |
+ </td> |
|
| 143 |
+ </tr> |
|
| 144 |
+ </tbody> |
|
| 145 |
+ </table> |
|
| 146 |
+</div>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListInqire.jsp
... | ... | @@ -8,68 +8,66 @@ |
| 8 | 8 |
<c:param name="title" value="사이트관리"/> |
| 9 | 9 |
</c:import> |
| 10 | 10 |
|
| 11 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 12 |
- <form name="SiteListForm" action="/mng/sym/sit/selectSiteInfoList.do" method="post"> |
|
| 13 |
- <div id="bbs_search"> |
|
| 14 |
- <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 15 |
- </div> |
|
| 16 |
- </form> |
|
| 17 |
- </c:if> |
|
| 18 |
- |
|
| 19 |
- <!-- contents start --> |
|
| 20 |
- <form name="SiteListForm" action="<c:url value='/mng/sym/sit/selectSiteInfoList.do'/>" method="post"> |
|
| 21 |
- <input name="pageIndex" type="hidden" value="1" /> |
|
| 22 |
- <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 23 |
- |
|
| 24 |
- <p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 25 |
- |
|
| 26 |
- <div class="list-type sm"> |
|
| 27 |
- <table> |
|
| 28 |
- <colgroup> |
|
| 29 |
- <col style="width:110px"> |
|
| 30 |
- <col> |
|
| 31 |
- <col> |
|
| 32 |
- <col style="width:160px"> |
|
| 33 |
- <col style="width:130px"> |
|
| 34 |
- </colgroup> |
|
| 35 |
- <thead> |
|
| 36 |
- <tr> |
|
| 37 |
- <th scope="col">번호</th> |
|
| 38 |
- <th scope="col">사이트명</th> |
|
| 39 |
- <th scope="col">사이트도메인</th> |
|
| 40 |
- <th scope="col">등록일자</th> |
|
| 41 |
- <th scope="col">수정</th> |
|
| 42 |
- </tr> |
|
| 43 |
- </thead> |
|
| 44 |
- <tbody> |
|
| 45 |
- <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 46 |
- <tr> |
|
| 47 |
- <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 48 |
- <td data-tit="사이트명"><c:out value="${resultInfo.siteNm}"/></td>
|
|
| 49 |
- <td data-tit="사이트도메인"><a href="//<c:out value="${resultInfo.siteUrl}"/>" target="_blank"><c:out value="${resultInfo.siteUrl}"/></a></td>
|
|
| 50 |
- <td data-tit="등록일자"><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 51 |
- <td data-tit="수정"> |
|
| 52 |
- <c:url var="viewUrl" value="/mng/sym/sit/selectSiteInfo.do"> |
|
| 53 |
- <c:param name="siteId" value="${resultInfo.siteId}" />
|
|
| 54 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 55 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 56 |
- <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 57 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 58 |
- </c:url> |
|
| 59 |
- <div class="btn-cont"> |
|
| 60 |
- <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 61 |
- </div> |
|
| 62 |
- </td> |
|
| 63 |
- </tr> |
|
| 64 |
- </c:forEach> |
|
| 65 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 66 |
- <tr> |
|
| 67 |
- <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 68 |
- </tr> |
|
| 69 |
- </c:if> |
|
| 70 |
- </tbody> |
|
| 71 |
- </table> |
|
| 72 |
- </div> |
|
| 11 |
+<c:if test="${USER_INFO.userSe > 10}">
|
|
| 12 |
+ <form name="SiteListForm" action="/mng/sym/sit/selectSiteInfoList.do" method="post"> |
|
| 13 |
+ <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 73 | 14 |
</form> |
| 15 |
+</c:if> |
|
| 74 | 16 |
|
| 75 |
- <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
|
| 17 |
+<!-- contents start --> |
|
| 18 |
+<form name="SiteListForm" action="<c:url value='/mng/sym/sit/selectSiteInfoList.do'/>" method="post"> |
|
| 19 |
+ <input name="pageIndex" type="hidden" value="1" /> |
|
| 20 |
+ <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 21 |
+ |
|
| 22 |
+ <p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 23 |
+ |
|
| 24 |
+ <div class="list-type sm"> |
|
| 25 |
+ <table> |
|
| 26 |
+ <colgroup> |
|
| 27 |
+ <col style="width:110px"> |
|
| 28 |
+ <col> |
|
| 29 |
+ <col> |
|
| 30 |
+ <col style="width:160px"> |
|
| 31 |
+ <col style="width:130px"> |
|
| 32 |
+ </colgroup> |
|
| 33 |
+ <thead> |
|
| 34 |
+ <tr> |
|
| 35 |
+ <th scope="col">번호</th> |
|
| 36 |
+ <th scope="col">사이트명</th> |
|
| 37 |
+ <th scope="col">사이트도메인</th> |
|
| 38 |
+ <th scope="col">등록일자</th> |
|
| 39 |
+ <th scope="col">수정</th> |
|
| 40 |
+ </tr> |
|
| 41 |
+ </thead> |
|
| 42 |
+ <tbody> |
|
| 43 |
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 44 |
+ <tr> |
|
| 45 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 46 |
+ <td data-tit="사이트명"><c:out value="${resultInfo.siteNm}"/></td>
|
|
| 47 |
+ <td data-tit="사이트도메인"><a href="//<c:out value="${resultInfo.siteUrl}"/>" target="_blank"><c:out value="${resultInfo.siteUrl}"/></a></td>
|
|
| 48 |
+ <td data-tit="등록일자"><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 49 |
+ <td data-tit="수정"> |
|
| 50 |
+ <c:url var="viewUrl" value="/mng/sym/sit/selectSiteInfo.do"> |
|
| 51 |
+ <c:param name="siteId" value="${resultInfo.siteId}" />
|
|
| 52 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 53 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 54 |
+ <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 55 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 56 |
+ </c:url> |
|
| 57 |
+ <div class="btn-cont"> |
|
| 58 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 59 |
+ </div> |
|
| 60 |
+ </td> |
|
| 61 |
+ </tr> |
|
| 62 |
+ </c:forEach> |
|
| 63 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 64 |
+ <tr> |
|
| 65 |
+ <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 66 |
+ </tr> |
|
| 67 |
+ </c:if> |
|
| 68 |
+ </tbody> |
|
| 69 |
+ </table> |
|
| 70 |
+ </div> |
|
| 71 |
+</form> |
|
| 72 |
+ |
|
| 73 |
+<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/MemberList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/MemberList.jsp
... | ... | @@ -1,14 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> |
|
| 7 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 8 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 9 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>" /> |
|
| 10 |
- |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 12 | 3 |
|
| 13 | 4 |
<% /*URL 정의*/ %> |
| 14 | 5 |
<c:url var="_BASE_PARAM" value=""> |
... | ... | @@ -20,57 +11,63 @@ |
| 20 | 11 |
<% /*URL 정의*/ %> |
| 21 | 12 |
<c:set var="_ACTION" value="/mng/usr/mberManage.do" /> |
| 22 | 13 |
<c:choose> |
| 23 |
-<c:when test="${searchVO.templateAt ne 'N'}">
|
|
| 24 |
- <c:import url="/mng/template/top.do" charEncoding="utf-8"> |
|
| 25 |
- <c:param name="menu" value="MBER_MANAGE"/> |
|
| 26 |
- <c:param name="depth1" value="MBER_MANAGE"/> |
|
| 27 |
- <c:param name="depth2" value="PROF_MANAGE"/> |
|
| 28 |
- <c:param name="title" value="회원관리"/> |
|
| 29 |
- </c:import> |
|
| 14 |
+ <c:when test="${searchVO.templateAt ne 'N'}">
|
|
| 15 |
+ <c:import url="/mng/template/top.do" charEncoding="utf-8"> |
|
| 16 |
+ <c:param name="menu" value="MBER_MANAGE"/> |
|
| 17 |
+ <c:param name="depth1" value="MBER_MANAGE"/> |
|
| 18 |
+ <c:param name="depth2" value="PROF_MANAGE"/> |
|
| 19 |
+ <c:param name="title" value="회원관리"/> |
|
| 20 |
+ </c:import> |
|
| 30 | 21 |
|
| 31 |
-<script> |
|
| 32 |
-$(document).ready(function(){
|
|
| 22 |
+ <script> |
|
| 23 |
+ $(document).ready(function(){
|
|
| 33 | 24 |
|
| 34 |
-}); |
|
| 35 |
-</script> |
|
| 36 |
- <div id="cntnts"> |
|
| 25 |
+ }); |
|
| 26 |
+ </script> |
|
| 37 | 27 |
|
| 38 |
- <%-- 사이트 선택 주석처리 --%> |
|
| 28 |
+ |
|
| 39 | 29 |
<c:if test="${USER_INFO.userSe > 10}">
|
| 40 |
- <form id="SiteListForm" name="SiteListForm" action="${_ACTION }" method="post">
|
|
| 41 |
- <div id="bbs_search"> |
|
| 42 |
- <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 43 |
- </div> |
|
| 30 |
+ <form name="SiteListForm" action="${_ACTION }" method="post">
|
|
| 31 |
+ <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 44 | 32 |
</form> |
| 45 | 33 |
</c:if> |
| 46 |
- |
|
| 47 |
- <form:form name="listForm" action="${_ACTION }" method="post">
|
|
| 48 |
- <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 49 | 34 |
|
| 50 |
- <div id="bbs_search"> |
|
| 51 |
- <select name="searchCondition" id="searchCondition"> |
|
| 52 |
- <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>아이디</option>
|
|
| 53 |
- <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>이름</option>
|
|
| 54 |
- </select> |
|
| 35 |
+ <div class="fnc-area"> |
|
| 36 |
+ <div class="r-area"> |
|
| 37 |
+ <form:form name="listForm" action="${_ACTION }" method="post">
|
|
| 38 |
+ <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 55 | 39 |
|
| 56 |
- <label><input type="text" name="searchKeyword" value="${searchVO.searchKeyword}" id="inp_text" placeholder="검색어를 입력해주세요."/></label>
|
|
| 57 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색" />
|
|
| 40 |
+ <div class="sch-area"> |
|
| 41 |
+ <div class="sch-option"> |
|
| 42 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 43 |
+ <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>아이디</option>
|
|
| 44 |
+ <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>이름</option>
|
|
| 45 |
+ </select> |
|
| 46 |
+ </div> |
|
| 47 |
+ <div class="sch"> |
|
| 48 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>' placeholder="검색어를 입력해주세요.">
|
|
| 49 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 50 |
+ </div> |
|
| 51 |
+ </div> |
|
| 52 |
+ </form:form> |
|
| 58 | 53 |
</div> |
| 59 |
- <p class="total">총 회원 ${paginationInfo.totalRecordCount}명ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 60 |
- |
|
| 61 |
- <table class="chart_board"> |
|
| 62 |
- <colgroup> |
|
| 63 |
- <col width="70"/> |
|
| 64 |
- <col width="70"/> |
|
| 65 |
- <col width="%"/> |
|
| 66 |
- <col width="%"/> |
|
| 67 |
- <col width="%"/> |
|
| 68 |
- <col width="70"/> |
|
| 69 |
- <col width="70"/> |
|
| 70 |
- <col width="180"/> |
|
| 71 |
- <col width="180"/> |
|
| 72 |
- </colgroup> |
|
| 73 |
- <thead> |
|
| 54 |
+ </div> |
|
| 55 |
+ |
|
| 56 |
+ <p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 57 |
+ <div class="list-type sm"> |
|
| 58 |
+ <table> |
|
| 59 |
+ <colgroup> |
|
| 60 |
+ <col style="width:70px"> |
|
| 61 |
+ <col style="width:70px"> |
|
| 62 |
+ <col> |
|
| 63 |
+ <col> |
|
| 64 |
+ <col> |
|
| 65 |
+ <col style="width:70px"> |
|
| 66 |
+ <col style="width:70px"> |
|
| 67 |
+ <col style="width:180px"> |
|
| 68 |
+ <col style="width:130px"> |
|
| 69 |
+ </colgroup> |
|
| 70 |
+ <thead> |
|
| 74 | 71 |
<tr> |
| 75 | 72 |
<th>번호</th> |
| 76 | 73 |
<th>권한</th> |
... | ... | @@ -82,72 +79,70 @@ |
| 82 | 79 |
<th>등록일</th> |
| 83 | 80 |
<th>관리</th> |
| 84 | 81 |
</tr> |
| 85 |
- </thead> |
|
| 86 |
- <tbody> |
|
| 87 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 88 |
- <tr class="data-row"> |
|
| 89 |
- <td class="listtd"><fmt:formatNumber value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageSize) - (status.count - 1)}" type="number"/></td>
|
|
| 90 |
- <td class="listtd"> |
|
| 91 |
- <c:forEach var="userSeCode" items="${userSeCodeList}">
|
|
| 92 |
- <c:if test="${userSeCode.code eq result.userSeCode}"><c:out value="${userSeCode.codeNm}"/></c:if>
|
|
| 93 |
- </c:forEach> |
|
| 94 |
- </td> |
|
| 95 |
- <td class="listtd"><c:out value="${result.userId}" /></td>
|
|
| 96 |
- <td class="listtd"><c:out value="${result.userNm}" /></td>
|
|
| 97 |
- <td class="listtd"><c:out value="${result.emailAdres}" /></td>
|
|
| 98 |
- <td class="listtd"></td> |
|
| 99 |
- <td class="listtd"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 100 |
- <td class="listtd"> |
|
| 101 |
- <c:choose> |
|
| 102 |
- <c:when test="${result.confmAt eq 'Y'}">승인</c:when>
|
|
| 103 |
- <c:otherwise>미승인</c:otherwise> |
|
| 104 |
- </c:choose> |
|
| 105 |
- </td> |
|
| 106 |
- <td class="listtd"> |
|
| 107 |
- <c:url var="viewUrl" value="/mng/usr/userSelectUpdtView.do${_BASE_PARAM}">
|
|
| 108 |
- <c:param name="userId" value="${result.userId}"/>
|
|
| 109 |
- <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}"/></c:if>
|
|
| 110 |
- </c:url> |
|
| 111 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 112 |
- <c:url var="delUrl" value="/mng/usr/userDelete.do${_BASE_PARAM}">
|
|
| 113 |
- <c:param name="userId" value="${result.userId}"/>
|
|
| 114 |
- <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 115 |
- </c:url> |
|
| 116 |
- <a href="${delUrl}" onclick="fn_egov_delete_brdMstr(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 117 |
- </td> |
|
| 118 |
- </tr> |
|
| 119 |
- </c:forEach> |
|
| 120 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 121 |
- <tr> |
|
| 122 |
- <td class="listtd" colspan="10"> |
|
| 123 |
- <spring:message code="common.nodata.msg" /> |
|
| 124 |
- </td> |
|
| 125 |
- </tr> |
|
| 126 |
- </c:if> |
|
| 127 |
- |
|
| 128 |
- </tbody> |
|
| 129 |
- </table> |
|
| 130 |
- |
|
| 131 |
- <div class="btn_r"> |
|
| 132 |
- <a href="<c:url value='/mng/usr/mberAddView.do'/>"><img src="${_IMG}/btn/btn_regist.gif" /></a>
|
|
| 133 |
- </div> |
|
| 134 |
- |
|
| 135 |
- <div id="paging"> |
|
| 136 |
- <c:url var="pageUrl" value="/mng/usr/mberManage.do${_BASE_PARAM}">
|
|
| 137 |
- </c:url> |
|
| 138 |
- |
|
| 139 |
- <c:if test="${not empty paginationInfo}">
|
|
| 140 |
- <ul> |
|
| 141 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 142 |
- </ul> |
|
| 143 |
- </c:if> |
|
| 144 |
- </div> |
|
| 145 |
- </form:form> |
|
| 146 |
- </div> |
|
| 147 |
- <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> |
|
| 148 |
-</c:when> |
|
| 149 |
-<c:otherwise> |
|
| 82 |
+ </thead> |
|
| 83 |
+ <tbody> |
|
| 84 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 85 |
+ <tr> |
|
| 86 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 150 | 87 |
|
| 151 |
-</c:otherwise> |
|
| 88 |
+ <td data-tit="권한"> |
|
| 89 |
+ <c:forEach var="userSeCode" items="${userSeCodeList}">
|
|
| 90 |
+ <c:if test="${userSeCode.code eq result.userSeCode}"><c:out value="${userSeCode.codeNm}"/></c:if>
|
|
| 91 |
+ </c:forEach> |
|
| 92 |
+ </td> |
|
| 93 |
+ <td data-tit="아이디"><c:out value="${result.userId}" /></td>
|
|
| 94 |
+ <td data-tit="이름"><c:out value="${result.userNm}" /></td>
|
|
| 95 |
+ <td data-tit="이메일"><c:out value="${result.emailAdres}" /></td>
|
|
| 96 |
+ <td data-tit="잠금"></td> |
|
| 97 |
+ <td data-tit="승인여부"> |
|
| 98 |
+ <c:choose> |
|
| 99 |
+ <c:when test="${result.confmAt eq 'Y'}"><span class="label-state spot">Y</span></c:when>
|
|
| 100 |
+ <c:otherwise><span class="label-state">N</span></c:otherwise> |
|
| 101 |
+ </c:choose> |
|
| 102 |
+ </td> |
|
| 103 |
+ <td data-tit="등록일"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 104 |
+ <td data-tit="관리"> |
|
| 105 |
+ <div class="btn-cont"> |
|
| 106 |
+ <c:url var="viewUrl" value="/mng/usr/userSelectUpdtView.do${_BASE_PARAM}">
|
|
| 107 |
+ <c:param name="userId" value="${result.userId}"/>
|
|
| 108 |
+ <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}"/></c:if>
|
|
| 109 |
+ </c:url> |
|
| 110 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 111 |
+ |
|
| 112 |
+ <c:url var="delUrl" value="/mng/usr/userDelete.do${_BASE_PARAM}">
|
|
| 113 |
+ <c:param name="userId" value="${result.userId}"/>
|
|
| 114 |
+ <c:if test="${not empty param.pageIndex}"><c:param name="pageIndex" value="${param.pageIndex}" /></c:if>
|
|
| 115 |
+ </c:url> |
|
| 116 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 117 |
+ </div> |
|
| 118 |
+ </td> |
|
| 119 |
+ </tr> |
|
| 120 |
+ </c:forEach> |
|
| 121 |
+ |
|
| 122 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 123 |
+ <tr> |
|
| 124 |
+ <td class="" colspan="9"><spring:message code="common.nodata.msg" /></td> |
|
| 125 |
+ </tr> |
|
| 126 |
+ </c:if> |
|
| 127 |
+ </tbody> |
|
| 128 |
+ </table> |
|
| 129 |
+ </div> |
|
| 130 |
+ |
|
| 131 |
+ <c:url var="pageUrl" value="/mng/usr/mberManage.do${_BASE_PARAM}"/>
|
|
| 132 |
+ <ul class="paging"> |
|
| 133 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 134 |
+ </ul> |
|
| 135 |
+ |
|
| 136 |
+ <div class="fnc-area"> |
|
| 137 |
+ <div class="r-area"> |
|
| 138 |
+ <a href="/mng/usr/mberAddView.do" class="btn spot2">생성</a> |
|
| 139 |
+ </div> |
|
| 140 |
+ </div> |
|
| 141 |
+ |
|
| 142 |
+ <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> |
|
| 143 |
+ </c:when> |
|
| 144 |
+ <c:otherwise> |
|
| 145 |
+ |
|
| 146 |
+ </c:otherwise> |
|
| 152 | 147 |
</c:choose> |
| 153 | 148 |
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/MemberUpdt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/usr/MemberUpdt.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 4 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="MNG_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
|
| 10 | 4 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
| 11 | 5 |
<c:param name="menu" value="MBER_MANAGE"/> |
... | ... | @@ -14,289 +8,184 @@ |
| 14 | 8 |
<c:param name="title" value="회원관리"/> |
| 15 | 9 |
</c:import> |
| 16 | 10 |
|
| 17 |
-<script type="text/javascript" src="<%=request.getContextPath()%>/ajaxtags/js/prototype.js"></script> |
|
| 18 |
-<script type="text/javascript" src="<%=request.getContextPath()%>/ajaxtags/js/scriptaculous/scriptaculous.js"></script> |
|
| 19 |
-<script type="text/javascript" src="<%=request.getContextPath()%>/ajaxtags/js/overlibmws/overlibmws.js"></script> |
|
| 20 |
-<script type="text/javascript" src="<%=request.getContextPath()%>/ajaxtags/js/ajaxtags.js"></script> |
|
| 21 |
- |
|
| 22 | 11 |
<c:set var="registerFlag" value="${empty userManageVO.userId ? '등록' : '수정'}"/>
|
| 23 | 12 |
|
| 24 |
-<script type="text/javascript"> |
|
| 25 |
- |
|
| 13 |
+<script> |
|
| 26 | 14 |
<c:if test='${not empty message}'>
|
| 27 |
-alert("${message}");
|
|
| 15 |
+ alert("${message}");
|
|
| 28 | 16 |
</c:if> |
| 29 |
- /* |
|
| 30 |
- function fnIdRcomd(){
|
|
| 31 |
- var frm = document.userManageVO; |
|
| 32 |
- var url = "/uss/umt/cmm/idRecomendCnfirmView.do"; |
|
| 33 |
- window.open(url, 'RcomdIdCheck', 'menu=no, scrollbars=yes, width=420,height=300'); |
|
| 34 |
- } |
|
| 35 |
- */ |
|
| 17 |
+ /* |
|
| 18 |
+ function fnIdRcomd(){
|
|
| 19 |
+ var frm = document.userManageVO; |
|
| 20 |
+ var url = "/uss/umt/cmm/idRecomendCnfirmView.do"; |
|
| 21 |
+ window.open(url, 'RcomdIdCheck', 'menu=no, scrollbars=yes, width=420,height=300'); |
|
| 22 |
+ } |
|
| 23 |
+ */ |
|
| 36 | 24 |
|
| 37 |
- function fnCheckNotKorean(koreanStr){
|
|
| 38 |
- for(var i=0;i<koreanStr.length;i++){
|
|
| 39 |
- var koreanChar = koreanStr.charCodeAt(i); |
|
| 40 |
- if( !( 0xAC00 <= koreanChar && koreanChar <= 0xD7A3 ) && !( 0x3131 <= koreanChar && koreanChar <= 0x318E ) ) {
|
|
| 41 |
- }else{
|
|
| 42 |
- //hangul finding.... |
|
| 43 |
- return false; |
|
| 44 |
- } |
|
| 45 |
- } |
|
| 46 |
- return true; |
|
| 47 |
- } |
|
| 48 |
- |
|
| 49 |
- function fn_egov_return_IdCheck(userId) {
|
|
| 50 |
- var frm = document.userManageVO; |
|
| 51 |
- frm.userId.value = userId; |
|
| 52 |
- } |
|
| 53 |
- |
|
| 54 |
- function fn_egov_return_RcomdCheck(rcomdId) {
|
|
| 55 |
- var frm = document.userManageVO; |
|
| 56 |
- frm.recomendId.value = rcomdId; |
|
| 57 |
- } |
|
| 58 |
- |
|
| 59 |
- function fn_egov_select_noticeList() {
|
|
| 60 |
- document.board.action = "<c:url value='/cop/bbs${prefix}/selectBoardList.do'/>";
|
|
| 61 |
- document.board.submit(); |
|
| 62 |
- } |
|
| 63 |
- |
|
| 64 |
- function inputDirectEmailDns(val){
|
|
| 65 |
- document.getElementById('email2').value = val;
|
|
| 66 |
- } |
|
| 67 |
- |
|
| 68 |
- function checkForm(form) {
|
|
| 69 |
- |
|
| 70 |
- if(!validateUserManageVO(form)) {
|
|
| 71 |
- return false; |
|
| 72 |
- } |
|
| 73 |
- |
|
| 74 |
- |
|
| 75 |
- form.brthdy.value = trim(form.brthdy1.value) + trim(form.brthdy2.value)+ trim(form.brthdy3.value); |
|
| 76 |
- |
|
| 77 |
- <c:choose> |
|
| 78 |
- <c:when test="${registerFlag == '수정'}">
|
|
| 79 |
- if(confirm('<spring:message code="common.update.msg" />')) {
|
|
| 80 |
- </c:when> |
|
| 81 |
- <c:otherwise> |
|
| 82 |
- if(confirm('<spring:message code="common.regist.msg" />')) {
|
|
| 83 |
- </c:otherwise> |
|
| 84 |
- </c:choose> |
|
| 85 |
- return true; |
|
| 86 |
- }else {
|
|
| 25 |
+ function fnCheckNotKorean(koreanStr){
|
|
| 26 |
+ for(var i=0;i<koreanStr.length;i++){
|
|
| 27 |
+ var koreanChar = koreanStr.charCodeAt(i); |
|
| 28 |
+ if( !( 0xAC00 <= koreanChar && koreanChar <= 0xD7A3 ) && !( 0x3131 <= koreanChar && koreanChar <= 0x318E ) ) {
|
|
| 29 |
+ }else{
|
|
| 30 |
+ //hangul finding.... |
|
| 87 | 31 |
return false; |
| 88 | 32 |
} |
| 89 | 33 |
} |
| 34 |
+ return true; |
|
| 35 |
+ } |
|
| 90 | 36 |
|
| 91 |
- function sendPassword() {
|
|
| 92 |
- if(confirm("비밀번호를 재발급하고 "+document.userManageVO.moblphonNo.value+"번호로 전송 하시겠습니까?")) {
|
|
| 93 |
- document.userManageVO.action = "${pageContext.request.contextPath}/mng/usr/SendPassword.do";
|
|
| 94 |
- document.userManageVO.target = "passSand"; |
|
| 95 |
- return true; |
|
| 96 |
- }else{
|
|
| 97 |
- return false; |
|
| 98 |
- } |
|
| 37 |
+ function fn_egov_return_IdCheck(userId) {
|
|
| 38 |
+ var frm = document.userManageVO; |
|
| 39 |
+ frm.userId.value = userId; |
|
| 40 |
+ } |
|
| 41 |
+ |
|
| 42 |
+ function fn_egov_return_RcomdCheck(rcomdId) {
|
|
| 43 |
+ var frm = document.userManageVO; |
|
| 44 |
+ frm.recomendId.value = rcomdId; |
|
| 45 |
+ } |
|
| 46 |
+ |
|
| 47 |
+ function fn_egov_select_noticeList() {
|
|
| 48 |
+ document.board.action = "<c:url value='/cop/bbs${prefix}/selectBoardList.do'/>";
|
|
| 49 |
+ document.board.submit(); |
|
| 50 |
+ } |
|
| 51 |
+ |
|
| 52 |
+ function inputDirectEmailDns(val){
|
|
| 53 |
+ document.getElementById('email2').value = val;
|
|
| 54 |
+ } |
|
| 55 |
+ |
|
| 56 |
+ function checkForm(form) {
|
|
| 57 |
+ |
|
| 58 |
+ if(!validateUserManageVO(form)) {
|
|
| 59 |
+ return false; |
|
| 99 | 60 |
} |
| 100 |
- |
|
| 101 |
- </script> |
|
| 102 |
-<div id="cntnts"> |
|
| 103 | 61 |
|
| 104 |
- <form name="userManageVO" method="post" enctype="multipart/form-data" action="${pageContext.request.contextPath}/mng/usr/userSelectUpdt.do">
|
|
| 62 |
+ |
|
| 63 |
+ form.brthdy.value = trim(form.brthdy1.value) + trim(form.brthdy2.value)+ trim(form.brthdy3.value); |
|
| 64 |
+ |
|
| 65 |
+ <c:choose> |
|
| 66 |
+ <c:when test="${registerFlag == '수정'}">
|
|
| 67 |
+ if(confirm('<spring:message code="common.update.msg" />')) {
|
|
| 68 |
+ </c:when> |
|
| 69 |
+ <c:otherwise> |
|
| 70 |
+ if(confirm('<spring:message code="common.regist.msg" />')) {
|
|
| 71 |
+ </c:otherwise> |
|
| 72 |
+ </c:choose> |
|
| 73 |
+ return true; |
|
| 74 |
+ }else {
|
|
| 75 |
+ return false; |
|
| 76 |
+ } |
|
| 77 |
+ } |
|
| 78 |
+ |
|
| 79 |
+ function sendPassword() {
|
|
| 80 |
+ if(confirm("비밀번호를 재발급하고 "+document.userManageVO.moblphonNo.value+"번호로 전송 하시겠습니까?")) {
|
|
| 81 |
+ document.userManageVO.action = "${pageContext.request.contextPath}/mng/usr/SendPassword.do";
|
|
| 82 |
+ document.userManageVO.target = "passSand"; |
|
| 83 |
+ return true; |
|
| 84 |
+ }else{
|
|
| 85 |
+ return false; |
|
| 86 |
+ } |
|
| 87 |
+ } |
|
| 88 |
+</script> |
|
| 89 |
+ |
|
| 90 |
+<form name="userManageVO" method="post" enctype="multipart/form-data" action="${pageContext.request.contextPath}/mng/usr/userSelectUpdt.do">
|
|
| 105 | 91 |
<input type='hidden' name='targetId' value="<c:out value="${userManageVO.userId}"/>"/>
|
| 106 | 92 |
<input type='hidden' name='credtId' value="<c:out value="${userManageVO.credtId}"/>"/>
|
| 107 | 93 |
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
|
| 108 | 94 |
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
|
| 109 | 95 |
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
| 110 | 96 |
|
| 111 |
- <table class="chart2"> |
|
| 112 |
- <caption>회원관리 폼</caption> |
|
| 113 |
- <colgroup> |
|
| 114 |
- <col width="150"/> |
|
| 115 |
- <col width=""/> |
|
| 116 |
- </colgroup> |
|
| 117 |
- <tbody> |
|
| 118 |
- <tr> |
|
| 119 |
- <th><em>*</em><label for="userNm"> 이름</label></th> |
|
| 120 |
- <td><input type="text" id="userNm" name="userNm" class="inp" value="${userManageVO.userNm}"></td>
|
|
| 121 |
- <%-- <td rowspan="5" align="center"> |
|
| 122 |
- <c:choose> |
|
| 123 |
- <c:when test="${empty userManageVO.photoStreFileNm}">사진없음</c:when>
|
|
| 124 |
- <c:otherwise><img src="${MembersFileStoreWebPath}<c:out value="${userManageVO.photoStreFileNm}"/>" width="100"/></c:otherwise>
|
|
| 125 |
- </c:choose> |
|
| 126 |
- <br><input type="file" name="userPicFile" class="inp" style="width:100px"/> |
|
| 127 |
- </td> --%> |
|
| 128 |
- </tr> |
|
| 129 |
- |
|
| 130 |
- <tr> |
|
| 131 |
- <th><em>*</em><label for="userId"> 아이디</label></th> |
|
| 132 |
- <td> |
|
| 133 |
- <input type="text" id="userId" name="userId" class="inp" value="${userManageVO.userId}" readonly="readonly">
|
|
| 134 |
- <!-- <a href="/uss/umt/cmm/idDplctCnfirm.do?checkId=" onclick="window.open(this.href+userManageVO.userId.value,'','height=350,width=500,toolbar=no,directories=no,status=no,linemenubar=no,scrollbars=yes,resizable=no');return false;" target="_blank"><img src="${MNG_IMG}/duplicate.gif" /></a> <strong class="org">* 아이디 변경시 반드시 중복 확인을 하여 주십시오.</strong> -->
|
|
| 135 |
- </td> |
|
| 136 |
- </tr> |
|
| 137 |
- |
|
| 138 |
- <tr> |
|
| 139 |
- <th><em>*</em><label for="password"> 비밀번호</label></th> |
|
| 140 |
- <td> |
|
| 141 |
- <input type="text" id="userNm" name="userNm" class="inp" value="${userManageVO.userNm}">
|
|
| 142 |
- <input type="image" src="<c:url value='${MNG_IMG}/btn/btn_pass_reissue.gif'/>" alt="비밀번호재발급" onclick="return sendPassword(document.userManageVO);"/> <strong class="org">* 자동으로 비밀번호를 생성하여 이용자에게 전송합니다.</strong>
|
|
| 143 |
- </td> |
|
| 144 |
- </tr> |
|
| 145 |
- <%-- |
|
| 146 |
- <tr> |
|
| 147 |
- <th><label for="tel1">전화번호</label></th> |
|
| 148 |
- <td colspan="2"> |
|
| 149 |
- <c:set var="tlphonArr" value="${fn:split(userManageVO.tlphonNo, '-')}"/>
|
|
| 150 |
- <c:forEach items="${tlphonArr}" var="arr" varStatus="status">
|
|
| 151 |
- <c:if test="${status.count eq 1}"><c:set var="tel1" value="${fn:trim(arr)}"/></c:if>
|
|
| 152 |
- <c:if test="${status.count eq 2}"><c:set var="tel2" value="${fn:trim(arr)}"/></c:if>
|
|
| 153 |
- <c:if test="${status.count eq 3}"><c:set var="tel3" value="${fn:trim(arr)}"/></c:if>
|
|
| 154 |
- </c:forEach> |
|
| 155 |
- <select id="tel1" name="tel1" title="국번선택"> |
|
| 156 |
- <option value="">국번</option> |
|
| 157 |
- <option value="02" <c:if test="${tel1 eq '02'}"> selected="selected"</c:if>>02</option>
|
|
| 158 |
- <option value="051" <c:if test="${tel1 eq '051'}"> selected="selected"</c:if>>051</option>
|
|
| 159 |
- <option value="053" <c:if test="${tel1 eq '053'}"> selected="selected"</c:if>>053</option>
|
|
| 160 |
- <option value="032" <c:if test="${tel1 eq '032'}"> selected="selected"</c:if>>032</option>
|
|
| 161 |
- <option value="062" <c:if test="${tel1 eq '062'}"> selected="selected"</c:if>>062</option>
|
|
| 162 |
- <option value="042" <c:if test="${tel1 eq '042'}"> selected="selected"</c:if>>042</option>
|
|
| 163 |
- <option value="052" <c:if test="${tel1 eq '052'}"> selected="selected"</c:if>>052</option>
|
|
| 164 |
- <option value="031" <c:if test="${tel1 eq '031'}"> selected="selected"</c:if>>031</option>
|
|
| 165 |
- <option value="033" <c:if test="${tel1 eq '033'}"> selected="selected"</c:if>>033</option>
|
|
| 166 |
- <option value="041" <c:if test="${tel1 eq '041'}"> selected="selected"</c:if>>041</option>
|
|
| 167 |
- <option value="043" <c:if test="${tel1 eq '043'}"> selected="selected"</c:if>>043</option>
|
|
| 168 |
- <option value="044" <c:if test="${tel1 eq '044'}"> selected="selected"</c:if>>044</option>
|
|
| 169 |
- <option value="063" <c:if test="${tel1 eq '063'}"> selected="selected"</c:if>>063</option>
|
|
| 170 |
- <option value="061" <c:if test="${tel1 eq '061'}"> selected="selected"</c:if>>061</option>
|
|
| 171 |
- <option value="054" <c:if test="${tel1 eq '054'}"> selected="selected"</c:if>>054</option>
|
|
| 172 |
- <option value="055" <c:if test="${tel1 eq '055'}"> selected="selected"</c:if>>055</option>
|
|
| 173 |
- <option value="064" <c:if test="${tel1 eq '064'}"> selected="selected"</c:if>>064</option>
|
|
| 174 |
- <option value="070" <c:if test="${tel1 eq '070'}"> selected="selected"</c:if>>070</option>
|
|
| 175 |
- </select> |
|
| 176 |
- <input type="text" id="tel2" name="tel2" value="${tel2}" maxlength="4" class="inp tel" title="전화번호 앞자리 입력" />
|
|
| 177 |
- <input type="text" id="tel3" name="tel3" value="${tel3}" maxlength="4" class="inp tel" title="전화번호 뒷자리" />
|
|
| 178 |
- </td> |
|
| 179 |
- </tr> |
|
| 180 |
- --%> |
|
| 181 |
- <tr> |
|
| 182 |
- <th><label for="phone1">핸드폰번호</label></th> |
|
| 183 |
- <td colspan="2"> |
|
| 184 |
- <c:set var="moblArr" value="${fn:split(userManageVO.moblphonNo, '-')}"/>
|
|
| 185 |
- <c:forEach items="${moblArr}" var="arr" varStatus="status">
|
|
| 186 |
- <c:if test="${status.count eq 1}"><c:set var="phone1" value="${fn:trim(arr)}"/></c:if>
|
|
| 187 |
- <c:if test="${status.count eq 2}"><c:set var="phone2" value="${fn:trim(arr)}"/></c:if>
|
|
| 188 |
- <c:if test="${status.count eq 3}"><c:set var="phone3" value="${fn:trim(arr)}"/></c:if>
|
|
| 189 |
- </c:forEach> |
|
| 190 |
- <select id="phone1" name="phone1" title="휴대전화번호 선택"> |
|
| 191 |
- <option value="">국번</option> |
|
| 192 |
- <option value="010" <c:if test="${phone1 eq '010'}"> selected="selected"</c:if>>010</option>
|
|
| 193 |
- </select> |
|
| 194 |
- <input type="text" id="phone2" name="phone2" value="${phone2}" maxlength="4" class="inp tel" title="휴대전화번호 가운데자리 입력" />
|
|
| 195 |
- <input type="text" id="phone3" name="phone3" value="${phone3}" maxlength="4" class="inp tel" title="휴대전화번호 뒷자리 입력" />
|
|
| 196 |
- </td> |
|
| 197 |
- </tr> |
|
| 198 |
- <tr> |
|
| 199 |
- <th><label for="email1"> 이메일</label></th> |
|
| 200 |
- <td colspan="2"> |
|
| 201 |
- <c:set var="emailArr" value="${fn:split(userManageVO.emailAdres, '@')}"/>
|
|
| 202 |
- <c:forEach items="${emailArr}" var="arr" varStatus="status">
|
|
| 203 |
- <c:if test="${status.count eq 1}">
|
|
| 204 |
- <c:set var="emailHead" value="${fn:trim(arr)}"/>
|
|
| 205 |
- </c:if> |
|
| 206 |
- <c:if test="${status.count eq 2}">
|
|
| 207 |
- <c:set var="emailBody" value="${fn:trim(arr)}"/>
|
|
| 208 |
- </c:if> |
|
| 209 |
- </c:forEach> |
|
| 210 |
- <input type="text" name="email1" id="email1" value="${emailHead}" class="inp" /> @ <input type="text" name="email2" value="${emailBody}" id="email2" class="inp"/>
|
|
| 211 |
- <select id="email_choice" name="email_choice" onchange='inputDirectEmailDns(this.value);'> |
|
| 212 |
- <option value="">직접입력</option> |
|
| 213 |
- <option value="hanmail.net" <c:if test="${emailBody eq 'hanmail.net'}"> selected="selected"</c:if>>다음</option>
|
|
| 214 |
- <option value="naver.com" <c:if test="${emailBody eq 'naver.com'}"> selected="selected"</c:if>>네이버(naver.com)</option>
|
|
| 215 |
- <option value="nate.com" <c:if test="${emailBody eq 'nate.com'}"> selected="selected"</c:if>>네이트(nate.com)</option>
|
|
| 216 |
- <option value="empal.com" <c:if test="${emailBody eq 'empal.com'}"> selected="selected"</c:if>>엠파스</option>
|
|
| 217 |
- <option value="paran.com" <c:if test="${emailBody eq 'paran.com'}"> selected="selected"</c:if>>파란(paran.com)</option>
|
|
| 218 |
- <option value="hanafos.com" <c:if test="${emailBody eq 'hanafos.com'}"> selected="selected"</c:if>>하나포스(hanafos.com)</option>
|
|
| 219 |
- <option value="gmail.com" <c:if test="${emailBody eq 'gmail.com'}"> selected="selected"</c:if>>G메일(gmail.com)</option>
|
|
| 220 |
- <option value="kornet.net" <c:if test="${emailBody eq 'kornet.net'}"> selected="selected"</c:if>>코넷</option>
|
|
| 221 |
- <option value="korea.com" <c:if test="${emailBody eq 'korea.com'}"> selected="selected"</c:if>>코리아닷컴(korea.com)</option>
|
|
| 222 |
- <option value="dreamwiz.com" <c:if test="${emailBody eq 'dreamwiz.com'}"> selected="selected"</c:if>>드림위즈(dreamwiz.com)</option>
|
|
| 223 |
- <option value="lycos.co.kr" <c:if test="${emailBody eq 'lycos.co.kr'}"> selected="selected"</c:if>>라이코스(lycos.co.kr)</option>
|
|
| 224 |
- <option value="chollian.net" <c:if test="${emailBody eq 'chollian.net'}"> selected="selected"</c:if>>천리안(chollian.net)</option>
|
|
| 225 |
- <option value="yahoo.co.kr" <c:if test="${emailBody eq 'yahoo.co.kr'}"> selected="selected"</c:if>>야후(yahoo.co.kr)</option>
|
|
| 226 |
- <option value="hotmail.com" <c:if test="${emailBody eq 'hotmail.com'}"> selected="selected"</c:if>>핫메일(hotmail.com)</option>
|
|
| 227 |
- </select> |
|
| 228 |
- |
|
| 229 |
- </td> |
|
| 230 |
- </tr> |
|
| 231 |
- <%-- |
|
| 232 |
- <tr> |
|
| 233 |
- <td> |
|
| 234 |
- <form:input path="adres" id="adres" maxlength="100" cssClass="inp addr"/> |
|
| 235 |
- <form:input path="adresDetail" id="adresDetail" maxlength="100" cssClass="inp addr2"/> |
|
| 236 |
- </td> |
|
| 237 |
- </tr> |
|
| 238 |
- <tr> |
|
| 239 |
- <th><label for="slrcldLrrCode">생년월일</label></th> |
|
| 240 |
- <td colspan="2"><form:hidden path='brthdy'/> |
|
| 241 |
- <c:set var="brthdy1" value="${fn:substring(userManageVO.brthdy, 0,4)}"/>
|
|
| 242 |
- <c:set var="brthdy2" value="${fn:substring(userManageVO.brthdy, 4,6)}"/>
|
|
| 243 |
- <c:set var="brthdy3" value="${fn:substring(userManageVO.brthdy, 6,8)}"/>
|
|
| 244 |
- <input type="radio" id="slrcldLrrCode" name="slrcldLrrCode" value="01" <c:if test="${userManageVO.slrcldLrrCode eq '01'}"> checked</c:if>/>양력
|
|
| 245 |
- <input type="radio" id="slrcldLrrCode" name="slrcldLrrCode" value="02" <c:if test="${userManageVO.slrcldLrrCode eq '02'}"> checked</c:if>/>음력
|
|
| 246 |
- <input type="text" value="${brthdy1}" name="brthdy1" id="brthdy1" size="4" maxlength="4" class="inp"/>년
|
|
| 247 |
- <input type="text" value="${brthdy2}" name="brthdy2" id="brthdy2" size="2" maxlength="2" class="inp"/>월
|
|
| 248 |
- <input type="text" value="${brthdy3}" name="brthdy3" id="brthdy3" size="2" maxlength="2" class="inp"/>일
|
|
| 249 |
- </td> |
|
| 250 |
- </tr> |
|
| 251 |
- <tr> |
|
| 252 |
- <th><label for="man">성별</label></th> |
|
| 253 |
- <td colspan="2"> |
|
| 254 |
- <form:radiobutton path="sexdstn" id="man" value="1" cssClass="cho"/> <label for="man" class="man">남</label> |
|
| 255 |
- <form:radiobutton path="sexdstn" id="woman" value="2" cssClass="cho"/> <label for="woman">여</label> |
|
| 256 |
- </td> |
|
| 257 |
- </tr> |
|
| 258 |
- --%> |
|
| 259 |
- <%-- |
|
| 260 |
- <tr> |
|
| 261 |
- <th><label for="sms_receive">SMS수신여부</label></th> |
|
| 262 |
- <td colspan="2"> |
|
| 263 |
- <form:radiobutton id="sms_receive" path="moblphonRecptnAt" value="Y" cssClass="cho"/> <label for="sms_receive">수신</label> |
|
| 264 |
- <form:radiobutton id="sms_noreceive" path="moblphonRecptnAt" value="N" cssClass="cho"/> <label for="sms_noreceive">수신거부</label> |
|
| 265 |
- </td> |
|
| 266 |
- </tr> |
|
| 267 |
- <tr> |
|
| 268 |
- <th><label for="email_receive">이메일 수신여부</label></th> |
|
| 269 |
- <td colspan="2"> |
|
| 270 |
- <form:radiobutton id="email_receive" path="emailRecptnAt" value="Y" cssClass="cho"/> <label for="email_receive">수신</label> |
|
| 271 |
- <form:radiobutton id="email_noreceive" path="emailRecptnAt" value="N" cssClass="cho"/> <label for="email_noreceive">수신거부</label> |
|
| 272 |
- </td> |
|
| 273 |
- </tr> |
|
| 274 |
- --%> |
|
| 275 |
- <tr> |
|
| 276 |
- <th><label for="userSeCode">회원권한</label></th> |
|
| 277 |
- <td colspan="2"> |
|
| 278 |
- <select id="userSeCode" name="userSeCode"> |
|
| 279 |
- <c:forEach var="userSeCode" items="${userSeCodeList}">
|
|
| 280 |
- <option value="${userSeCode.code}" <c:if test="${userSeCode.code eq userManageVO.userSeCode}">selected="selected"</c:if>><c:out value="${userSeCode.codeNm}"/></option>
|
|
| 281 |
- </c:forEach> |
|
| 282 |
- </select> |
|
| 283 |
- </td> |
|
| 284 |
- </tr> |
|
| 285 |
- </tbody> |
|
| 286 |
- </table> |
|
| 287 |
- |
|
| 288 |
- <div class="btn_r"> |
|
| 289 |
- <c:url var="listUrl" value="./mberManage.do"> |
|
| 290 |
- <c:if test="${!empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 291 |
- <c:if test="${!empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 292 |
- <c:if test="${!empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 293 |
- </c:url> |
|
| 294 |
- <input type="image" src="${MNG_IMG}/btn/btn_modify.gif" alt="수정" onclick="return checkForm(document.userManageVO);"/>
|
|
| 295 |
- <a href="<c:out value="${listUrl}"/>"><img src="${MNG_IMG}/btn/btn_cancel.gif" alt="취소"/></a>
|
|
| 296 |
- |
|
| 297 |
- </div> |
|
| 97 |
+ <fieldset> |
|
| 98 |
+ <legend class="hdn">회원관리 입력 폼</legend> |
|
| 99 |
+ |
|
| 100 |
+ <div class="write-type"> |
|
| 101 |
+ <table> |
|
| 102 |
+ <colgroup> |
|
| 103 |
+ <col style="width:250px" /> |
|
| 104 |
+ <col /> |
|
| 105 |
+ </colgroup> |
|
| 106 |
+ <tbody> |
|
| 107 |
+ <tr> |
|
| 108 |
+ <th><label for="userNm">이름</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 109 |
+ <td><input type="text" id="userNm" name="userNm" class="q1" value="${userManageVO.userNm}"></td>
|
|
| 110 |
+ </tr> |
|
| 111 |
+ <tr> |
|
| 112 |
+ <th><label for="userId">아이디</label></th> |
|
| 113 |
+ <td><input type="text" id="userId" name="userId" class="q1" value="${userManageVO.userId}" readonly="readonly"></td>
|
|
| 114 |
+ </tr> |
|
| 115 |
+ <tr> |
|
| 116 |
+ <th><label for="password">비밀번호</label></th> |
|
| 117 |
+ <td> |
|
| 118 |
+ <input type="password" id="password" name="password" class="q1"> |
|
| 119 |
+ <button type="button" class="btn-sm spot" onclick="return sendPassword(document.userManageVO);">비밀번호 재발급</button> |
|
| 120 |
+ <p class="msg">자동으로 비밀번호를 생성하여 이용자에게 전송합니다.</p> |
|
| 121 |
+ </td> |
|
| 122 |
+ </tr> |
|
| 123 |
+ <tr> |
|
| 124 |
+ <th><label for="userSeCode">회원권한</label></th> |
|
| 125 |
+ <td> |
|
| 126 |
+ <select id="userSeCode" name="userSeCode"> |
|
| 127 |
+ <c:forEach var="userSeCode" items="${userSeCodeList}">
|
|
| 128 |
+ <option value="${userSeCode.code}" <c:if test="${userSeCode.code eq userManageVO.userSeCode}">selected="selected"</c:if>><c:out value="${userSeCode.codeNm}"/></option>
|
|
| 129 |
+ </c:forEach> |
|
| 130 |
+ </select> |
|
| 131 |
+ </td> |
|
| 132 |
+ </tr> |
|
| 133 |
+ <tr> |
|
| 134 |
+ <th><label for="phone1">핸드폰번호</label></th> |
|
| 135 |
+ <td> |
|
| 136 |
+ <c:set var="moblArr" value="${fn:split(userManageVO.moblphonNo, '-')}"/>
|
|
| 137 |
+ <c:forEach items="${moblArr}" var="arr" varStatus="status">
|
|
| 138 |
+ <c:if test="${status.count eq 1}"><c:set var="phone1" value="${fn:trim(arr)}"/></c:if>
|
|
| 139 |
+ <c:if test="${status.count eq 2}"><c:set var="phone2" value="${fn:trim(arr)}"/></c:if>
|
|
| 140 |
+ <c:if test="${status.count eq 3}"><c:set var="phone3" value="${fn:trim(arr)}"/></c:if>
|
|
| 141 |
+ </c:forEach> |
|
| 142 |
+ <select id="phone1" name="phone1" title="휴대전화번호 선택"> |
|
| 143 |
+ <option value="">국번</option> |
|
| 144 |
+ <option value="010" <c:if test="${phone1 eq '010'}"> selected="selected"</c:if>>010</option>
|
|
| 145 |
+ </select> |
|
| 146 |
+ <input type="text" id="phone2" name="phone2" value="${phone2}" maxlength="4" class="q0" title="휴대전화번호 가운데자리 입력" />
|
|
| 147 |
+ <input type="text" id="phone3" name="phone3" value="${phone3}" maxlength="4" class="q0" title="휴대전화번호 뒷자리 입력" />
|
|
| 148 |
+ </td> |
|
| 149 |
+ </tr> |
|
| 150 |
+ <tr> |
|
| 151 |
+ <th><label for="email1"> 이메일</label></th> |
|
| 152 |
+ <td> |
|
| 153 |
+ <c:set var="emailArr" value="${fn:split(userManageVO.emailAdres, '@')}"/>
|
|
| 154 |
+ <c:forEach items="${emailArr}" var="arr" varStatus="status">
|
|
| 155 |
+ <c:if test="${status.count eq 1}">
|
|
| 156 |
+ <c:set var="emailHead" value="${fn:trim(arr)}"/>
|
|
| 157 |
+ </c:if> |
|
| 158 |
+ <c:if test="${status.count eq 2}">
|
|
| 159 |
+ <c:set var="emailBody" value="${fn:trim(arr)}"/>
|
|
| 160 |
+ </c:if> |
|
| 161 |
+ </c:forEach> |
|
| 162 |
+ <input type="text" name="email1" id="email1" value="${emailHead}" class="q1" /> @ <input type="text" name="email2" value="${emailBody}" id="email2" class="q1"/>
|
|
| 163 |
+ <select id="email_choice" name="email_choice" onchange='inputDirectEmailDns(this.value);'> |
|
| 164 |
+ <option value="">직접입력</option> |
|
| 165 |
+ <option value="gmail.com" <c:if test="${emailBody eq 'gmail.com'}"> selected="selected"</c:if>>G메일(gmail.com)</option>
|
|
| 166 |
+ <option value="daum.net" <c:if test="${emailBody eq 'daum.net'}"> selected="selected"</c:if>>다음(daum.net)</option>
|
|
| 167 |
+ <option value="naver.com" <c:if test="${emailBody eq 'naver.com'}"> selected="selected"</c:if>>네이버(naver.com)</option>
|
|
| 168 |
+ <option value="nate.com" <c:if test="${emailBody eq 'nate.com'}"> selected="selected"</c:if>>네이트(nate.com)</option>
|
|
| 169 |
+ </select> |
|
| 170 |
+ </td> |
|
| 171 |
+ </tr> |
|
| 172 |
+ |
|
| 173 |
+ </tbody> |
|
| 174 |
+ </table> |
|
| 175 |
+ </div> |
|
| 176 |
+ |
|
| 177 |
+ <div class="btn-cont"> |
|
| 178 |
+ <button type="submit" class="btn-lg spot2" onclick="return checkForm(document.userManageVO);">수정</button> |
|
| 179 |
+ <c:url var="listUrl" value="./mberManage.do"> |
|
| 180 |
+ <c:if test="${!empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 181 |
+ <c:if test="${!empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 182 |
+ <c:if test="${!empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 183 |
+ </c:url> |
|
| 184 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 185 |
+ </div> |
|
| 186 |
+ </fieldset> |
|
| 298 | 187 |
</form> |
| 188 |
+ |
|
| 299 | 189 |
<iframe name="passSand" id="passSand" style='visibility: hidden; height: 0; width: 0; border: 0px'></iframe> |
| 300 | 190 |
|
| 301 |
-</div> |
|
| 302 |
-<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
|
| 191 |
+<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/html/manage/index.html
+++ base/src/main/webapp/html/manage/index.html
... | ... | @@ -214,7 +214,7 @@ |
| 214 | 214 |
<li> |
| 215 | 215 |
sub |
| 216 | 216 |
<ul> |
| 217 |
- <li>메뉴관리,sub/menuboard.html</li> |
|
| 217 |
+ <li>메뉴관리,sub/menuBoard.html</li> |
|
| 218 | 218 |
</ul> |
| 219 | 219 |
</li> |
| 220 | 220 |
</ul> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?