--- 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
... | ... | @@ -173,30 +173,25 @@ |
| 173 | 173 |
<tr> |
| 174 | 174 |
<th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
| 175 | 175 |
<td> |
| 176 |
- <div class="file-add-txt-area"> |
|
| 176 |
+ <div class="file-add-area"> |
|
| 177 | 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> |
|
| 178 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"/> |
|
| 179 |
+ <div class="preview-area"> |
|
| 180 |
+ <c:if test="${not empty bbsSourcVO.prevewFileNm}">
|
|
| 181 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsSourcVO.prevewFileNm}"/></a>
|
|
| 182 |
+ </c:if> |
|
| 183 |
+ </div> |
|
| 181 | 184 |
</div> |
| 185 |
+ |
|
| 186 |
+ <c:if test="${not empty bbsSourcVO.prevewFileNm}">
|
|
| 187 |
+ <div class="item-area"> |
|
| 188 |
+ <div class="item"> |
|
| 189 |
+ <p class="txt"><c:out value="${bbsSourcVO.prevewFileNm}"/></p>
|
|
| 190 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 191 |
+ </div> |
|
| 192 |
+ </div> |
|
| 193 |
+ </c:if> |
|
| 182 | 194 |
</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 | 195 |
</td> |
| 201 | 196 |
</tr> |
| 202 | 197 |
<tr> |
--- 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
... | ... | @@ -147,30 +147,25 @@ |
| 147 | 147 |
<tr> |
| 148 | 148 |
<th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
| 149 | 149 |
<td> |
| 150 |
- <div class="file-add-txt-area"> |
|
| 150 |
+ <div class="file-add-area"> |
|
| 151 | 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> |
|
| 152 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"/> |
|
| 153 |
+ <div class="preview-area"> |
|
| 154 |
+ <c:if test="${not empty bbsTmplatVO.prevewFileNm}">
|
|
| 155 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${bbsTmplatVO.prevewFileNm}"/></a>
|
|
| 156 |
+ </c:if> |
|
| 157 |
+ </div> |
|
| 155 | 158 |
</div> |
| 159 |
+ |
|
| 160 |
+ <c:if test="${not empty bbsTmplatVO.prevewFileNm}">
|
|
| 161 |
+ <div class="item-area"> |
|
| 162 |
+ <div class="item"> |
|
| 163 |
+ <p class="txt"><c:out value="${bbsTmplatVO.prevewFileNm}"/></p>
|
|
| 164 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 165 |
+ </div> |
|
| 166 |
+ </div> |
|
| 167 |
+ </c:if> |
|
| 156 | 168 |
</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 | 169 |
</td> |
| 175 | 170 |
</tr> |
| 176 | 171 |
<tr> |
--- 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
... | ... | @@ -196,30 +196,25 @@ |
| 196 | 196 |
<tr> |
| 197 | 197 |
<th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
| 198 | 198 |
<td> |
| 199 |
- <div class="file-add-txt-area"> |
|
| 199 |
+ <div class="file-add-area"> |
|
| 200 | 200 |
<div class="file-custom"> |
| 201 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 202 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 203 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 201 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"/> |
|
| 202 |
+ <div class="preview-area"> |
|
| 203 |
+ <c:if test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 204 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}"/></a>
|
|
| 205 |
+ </c:if> |
|
| 206 |
+ </div> |
|
| 204 | 207 |
</div> |
| 208 |
+ |
|
| 209 |
+ <c:if test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 210 |
+ <div class="item-area"> |
|
| 211 |
+ <div class="item"> |
|
| 212 |
+ <p class="txt"><c:out value="${lytSourcVO.prevewFileNm}"/></p>
|
|
| 213 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 214 |
+ </div> |
|
| 215 |
+ </div> |
|
| 216 |
+ </c:if> |
|
| 205 | 217 |
</div> |
| 206 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 207 |
- <ul class="file-list"> |
|
| 208 |
- <c:choose> |
|
| 209 |
- <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 210 |
- <li> |
|
| 211 |
- <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}"/></a>
|
|
| 212 |
- <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 213 |
- </li> |
|
| 214 |
- </c:when> |
|
| 215 |
- <c:otherwise> |
|
| 216 |
- <li> |
|
| 217 |
- <img src="${M_IMG}/common/no_img.gif" alt="이미지없음"/>
|
|
| 218 |
- </li> |
|
| 219 |
- </c:otherwise> |
|
| 220 |
- </c:choose> |
|
| 221 |
- </ul> |
|
| 222 |
- </c:if> |
|
| 223 | 218 |
</td> |
| 224 | 219 |
</tr> |
| 225 | 220 |
<tr> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateRegister.jsp
... | ... | @@ -185,30 +185,25 @@ |
| 185 | 185 |
<tr> |
| 186 | 186 |
<th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
| 187 | 187 |
<td> |
| 188 |
- <div class="file-add-txt-area"> |
|
| 188 |
+ <div class="file-add-area"> |
|
| 189 | 189 |
<div class="file-custom"> |
| 190 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 191 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 192 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 190 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"/> |
|
| 191 |
+ <div class="preview-area"> |
|
| 192 |
+ <c:if test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 193 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}"/></a>
|
|
| 194 |
+ </c:if> |
|
| 195 |
+ </div> |
|
| 193 | 196 |
</div> |
| 197 |
+ |
|
| 198 |
+ <c:if test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 199 |
+ <div class="item-area"> |
|
| 200 |
+ <div class="item"> |
|
| 201 |
+ <p class="txt"><c:out value="${lytTmplatVO.prevewFileNm}"/></p>
|
|
| 202 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 203 |
+ </div> |
|
| 204 |
+ </div> |
|
| 205 |
+ </c:if> |
|
| 194 | 206 |
</div> |
| 195 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 196 |
- <ul class="file-list"> |
|
| 197 |
- <c:choose> |
|
| 198 |
- <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 199 |
- <li> |
|
| 200 |
- <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 201 |
- <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 202 |
- </li> |
|
| 203 |
- </c:when> |
|
| 204 |
- <c:otherwise> |
|
| 205 |
- <li> |
|
| 206 |
- <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 207 |
- </li> |
|
| 208 |
- </c:otherwise> |
|
| 209 |
- </c:choose> |
|
| 210 |
- </ul> |
|
| 211 |
- </c:if> |
|
| 212 | 207 |
</td> |
| 213 | 208 |
</tr> |
| 214 | 209 |
<tr> |
--- 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
... | ... | @@ -259,75 +259,99 @@ |
| 259 | 259 |
</td> |
| 260 | 260 |
</tr> |
| 261 | 261 |
<tr> |
| 262 |
- <th><label for="upendLogoFileNm">상단로고</label></th> |
|
| 262 |
+ <th><label for="upendLogoFileIdFile">상단로고</label></th> |
|
| 263 | 263 |
<td> |
| 264 |
- <div class="file-add-txt-area"> |
|
| 264 |
+ <div class="file-add-area"> |
|
| 265 | 265 |
<div class="file-custom"> |
| 266 |
- <input type="file" name="upendLogoFileIdFile" id="upendLogoFileNm" title="상단로고파일" class="input-file"> |
|
| 267 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 268 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 266 |
+ <input type="file" name="upendLogoFileIdFile" id="upendLogoFileIdFile" class="input-file" title="상단로고파일"/> |
|
| 267 |
+ <div class="preview-area"> |
|
| 268 |
+ <c:if test="${not empty siteManageVO.upendLogoFileNm}">
|
|
| 269 |
+ <img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.upendLogoFileNm}"/>
|
|
| 270 |
+ </c:if> |
|
| 271 |
+ </div> |
|
| 269 | 272 |
</div> |
| 270 |
- </div> |
|
| 271 | 273 |
|
| 272 |
- <c:if test="${not empty siteManageVO.upendLogoFileNm}">
|
|
| 273 |
- <ul class="file-list"> |
|
| 274 |
- <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.upendLogoFileNm}"/></li>
|
|
| 275 |
- </ul> |
|
| 276 |
- </c:if> |
|
| 274 |
+ <c:if test="${not empty siteManageVO.upendLogoFileNm}">
|
|
| 275 |
+ <div class="item-area"> |
|
| 276 |
+ <div class="item"> |
|
| 277 |
+ <p class="txt"><c:out value="${siteManageVO.upendLogoFileNm}"/></p>
|
|
| 278 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 279 |
+ </div> |
|
| 280 |
+ </div> |
|
| 281 |
+ </c:if> |
|
| 282 |
+ </div> |
|
| 277 | 283 |
</td> |
| 278 | 284 |
</tr> |
| 279 | 285 |
<tr> |
| 280 |
- <th><label for="lptLogoFileNm">하단로고</label></th> |
|
| 286 |
+ <th><label for="lptLogoFileId">하단로고</label></th> |
|
| 281 | 287 |
<td> |
| 282 |
- <div class="file-add-txt-area"> |
|
| 288 |
+ <div class="file-add-area"> |
|
| 283 | 289 |
<div class="file-custom"> |
| 284 |
- <input type="file" name="lptLogoFileIdFile" id="lptLogoFileNm" title="하단로고파일" class="input-file"> |
|
| 285 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 286 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 290 |
+ <input type="file" name="lptLogoFileId" id="lptLogoFileId" class="input-file" title="하단로고파일"/> |
|
| 291 |
+ <div class="preview-area"> |
|
| 292 |
+ <c:if test="${not empty siteManageVO.lptLogoFileNm}">
|
|
| 293 |
+ <img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.lptLogoFileNm}"/>
|
|
| 294 |
+ </c:if> |
|
| 295 |
+ </div> |
|
| 287 | 296 |
</div> |
| 288 |
- </div> |
|
| 289 | 297 |
|
| 290 |
- <c:if test="${not empty siteManageVO.lptLogoFileNm}">
|
|
| 291 |
- <ul class="file-list"> |
|
| 292 |
- <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.lptLogoFileNm}"/></li>
|
|
| 293 |
- </ul> |
|
| 294 |
- </c:if> |
|
| 298 |
+ <c:if test="${not empty siteManageVO.lptLogoFileNm}">
|
|
| 299 |
+ <div class="item-area"> |
|
| 300 |
+ <div class="item"> |
|
| 301 |
+ <p class="txt"><c:out value="${siteManageVO.lptLogoFileNm}"/></p>
|
|
| 302 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 303 |
+ </div> |
|
| 304 |
+ </div> |
|
| 305 |
+ </c:if> |
|
| 306 |
+ </div> |
|
| 295 | 307 |
</td> |
| 296 | 308 |
</tr> |
| 297 | 309 |
<tr> |
| 298 | 310 |
<th><label for="peprsntImageFile">대표이미지</label></th> |
| 299 | 311 |
<td> |
| 300 |
- <div class="file-add-txt-area"> |
|
| 312 |
+ <div class="file-add-area"> |
|
| 301 | 313 |
<div class="file-custom"> |
| 302 |
- <input type="file" name="peprsntImageFile" id="peprsntImageFile" title="대표이미지" class="input-file"> |
|
| 303 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 304 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 314 |
+ <input type="file" name="peprsntImageFile" id="peprsntImageFile" class="input-file" title="대표이미지"/> |
|
| 315 |
+ <div class="preview-area"> |
|
| 316 |
+ <c:if test="${not empty siteManageVO.peprsntImageFileNm}">
|
|
| 317 |
+ <img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.peprsntImageFileNm}"/>
|
|
| 318 |
+ </c:if> |
|
| 319 |
+ </div> |
|
| 305 | 320 |
</div> |
| 306 |
- </div> |
|
| 307 | 321 |
|
| 308 |
- <c:if test="${not empty siteManageVO.peprsntImageFileNm}">
|
|
| 309 |
- <ul class="file-list"> |
|
| 310 |
- <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.peprsntImageFileNm}"/></li>
|
|
| 311 |
- </ul> |
|
| 312 |
- </c:if> |
|
| 322 |
+ <c:if test="${not empty siteManageVO.peprsntImageFileNm}">
|
|
| 323 |
+ <div class="item-area"> |
|
| 324 |
+ <div class="item"> |
|
| 325 |
+ <p class="txt"><c:out value="${siteManageVO.peprsntImageFileNm}"/></p>
|
|
| 326 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 327 |
+ </div> |
|
| 328 |
+ </div> |
|
| 329 |
+ </c:if> |
|
| 330 |
+ </div> |
|
| 313 | 331 |
</td> |
| 314 | 332 |
</tr> |
| 315 | 333 |
<tr> |
| 316 | 334 |
<th><label for="sloganFile">슬로건</label></th> |
| 317 | 335 |
<td> |
| 318 |
- <div class="file-add-txt-area"> |
|
| 336 |
+ <div class="file-add-area"> |
|
| 319 | 337 |
<div class="file-custom"> |
| 320 |
- <input type="file" name="sloganFile" id="sloganFile" title="슬로건" class="input-file"> |
|
| 321 |
- <button type="button" class="btn">파일 찾기</button> |
|
| 322 |
- <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 338 |
+ <input type="file" name="sloganFile" id="sloganFile" class="input-file" title="슬로건"/> |
|
| 339 |
+ <div class="preview-area"> |
|
| 340 |
+ <c:if test="${not empty siteManageVO.sloganFileNm}">
|
|
| 341 |
+ <img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.sloganFileNm}"/>
|
|
| 342 |
+ </c:if> |
|
| 343 |
+ </div> |
|
| 323 | 344 |
</div> |
| 324 |
- </div> |
|
| 325 | 345 |
|
| 326 |
- <c:if test="${not empty siteManageVO.sloganFileNm}">
|
|
| 327 |
- <ul class="file-list"> |
|
| 328 |
- <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.sloganFileNm}"/></li>
|
|
| 329 |
- </ul> |
|
| 330 |
- </c:if> |
|
| 346 |
+ <c:if test="${not empty siteManageVO.sloganFileNm}">
|
|
| 347 |
+ <div class="item-area"> |
|
| 348 |
+ <div class="item"> |
|
| 349 |
+ <p class="txt"><c:out value="${siteManageVO.sloganFileNm}"/></p>
|
|
| 350 |
+ <button type="button" class="ico-sm-close btn-del"><span class="txt-hide">삭제</span></button> |
|
| 351 |
+ </div> |
|
| 352 |
+ </div> |
|
| 353 |
+ </c:if> |
|
| 354 |
+ </div> |
|
| 331 | 355 |
</td> |
| 332 | 356 |
</tr> |
| 333 | 357 |
<tr> |
... | ... | @@ -538,7 +562,7 @@ |
| 538 | 562 |
</table> |
| 539 | 563 |
</div> |
| 540 | 564 |
<div class="btn-cont"> |
| 541 |
- <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 565 |
+ <button type="submit" class="btn-lg spot2"><i class="ico-sm-edit"></i> ${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 542 | 566 |
<c:url var="listUrl" value="/mng/sym/sit/selectSiteInfoList.do"> |
| 543 | 567 |
<c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
| 544 | 568 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
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?