모달창 사이즈 수정

master
Hyung Geun 2022-03-07 16:36:28 +09:00
parent a76db6e843
commit 52303bb6d2
3 changed files with 103 additions and 105 deletions

View File

@ -16,8 +16,7 @@
<div class="section_content"> <div class="section_content">
<input type="hidden" id="layers" name="layers"/> <input type="hidden" id="layers" name="layers"/>
<input type="hidden" id="places" name="places"/> <input type="hidden" id="places" name="places"/>
<table class="table table-hover">
<table class="table table-hover" style="width: 95%">
<thead> <thead>
<h5>&nbsp;신청자</h5> <h5>&nbsp;신청자</h5>
</thead> </thead>
@ -44,21 +43,20 @@
</tbody> </tbody>
</table> </table>
<div class="row justify-content-between bg-white mt-4 py-2" style="margin-right: 1em">
<table class="detail_table"> <table class="detail_table">
<tbody> <tbody>
<tr> <tr>
<th style="background-color: #f8f8f8" colspan="2">작업명</th> <th style="background-color: #f8f8f8" colspan="2">작업명</th>
<td style="text-align: center"><c:out value='${useRequestVO.title}'/></td> <td><c:out value='${useRequestVO.title}'/></td>
</tr> </tr>
<tr> <tr>
<th colspan="2">기간</th> <th colspan="2">기간</th>
<td style="text-align: center"><c:out value='${useRequestVO.s_date}'/> ~ <c:out <td><c:out value='${useRequestVO.s_date}'/> ~ <c:out
value='${useRequestVO.e_date}'/></td> value='${useRequestVO.e_date}'/></td>
</tr> </tr>
<tr> <tr>
<th colspan="2">장소</th> <th colspan="2">장소</th>
<td id="area_select_td" style="text-align: center"> <td id="area_select_td">
<c:forEach var="item" items="${selectArea}" varStatus="status"> <c:forEach var="item" items="${selectArea}" varStatus="status">
<div id="addedBlock<c:out value='${status.index}' />"> <div id="addedBlock<c:out value='${status.index}' />">
<c:out value=''/>${item} <c:out value=''/>${item}
@ -158,43 +156,41 @@
<input type="hidden" name="status" id="status"/> <input type="hidden" name="status" id="status"/>
<div class="row justify-content-between bg-white mx-3 py-2"> <div class="section_btn">
<div class="section_btn"> <p class="search_p1">
<p class="search_p1"> <input class="btn btn-secondary" type="button" value="닫기" data-bs-dismiss="modal"/>
<input class="btn btn-secondary" type="button" value="닫기" data-bs-dismiss="modal"/> </p>
</p> <p class="search_p2">
<p class="search_p2"> <input class="btn btn-danger" type="button" value="거절"
<input class="btn btn-danger" type="button" value="거절" onclick="confirmReqBtn('-1'); return false;"/>
onclick="confirmReqBtn('-1'); return false;"/> <input class="btn btn-success" type="button" value="승인"
<input class="btn btn-success" type="button" value="승인" onclick="confirmReqBtn('0'); return false;"/>
onclick="confirmReqBtn('0'); return false;"/> </p>
</p> </div>
</div>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<table class="detail_table"> <table class="detail_table">
<tbody> <tbody>
<tr> <tr>
<th style="margin-right: 1em">전달 메세지</th> <th>전달 메세지</th>
<td style="text-align: center"><c:out value='${useRequestVO.admin_msg}'/></td> <td><c:out value='${useRequestVO.admin_msg}'/></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<div class="section_btn"> <div class="section_btn">
<p class="search_p1"> <p class="search_p1">
<input class="btn btn-secondary" type="button" value="닫기" data-bs-dismiss="modal"/> <input class="btn btn-secondary" type="button" value="닫기"
data-bs-dismiss="modal"/>
</p> </p>
</div> </div>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</form:form> </form:form>
</div>

View File

@ -10,81 +10,83 @@
<!-- <p>현장 지원 시스템</p> --> <!-- <p>현장 지원 시스템</p> -->
</div> </div>
<div class="section_content"> <div class="section_content">
<input type="hidden" id="layers" name="layers"/>
<input type="hidden" id="places" name="places"/>
<table class="detail_table"> <table class="detail_table">
<tbody> <tbody>
<tr> <tr>
<th colspan="2">작업명</th> <th colspan="2">작업명</th>
<td><input type="text" class="form-control" id="title" name="title" autocomplete="off"/></td> <td><input type="text" class="form-control" id="title" name="title" autocomplete="off"/></td>
</tr> </tr>
<tr> <tr>
<th colspan="2">기간</th> <th colspan="2">기간</th>
<td> <td>
<input type="text" class="form-control input-datepicker" readonly id="startDate" name= "s_date" onchange="dateChange('start');"> ~ <input type="text" class="form-control input-datepicker" readonly id="startDate" name= "s_date" onchange="dateChange('start');"> ~
<input type="text" class="form-control input-datepicker" readonly id="endDate" name="e_date" onchange="dateChange('end');"> <input type="text" class="form-control input-datepicker" readonly id="endDate" name="e_date" onchange="dateChange('end');">
</td> </td>
</tr> </tr>
<tr> <tr>
<th colspan="2">장소</th> <th colspan="2">장소</th>
<td id="area_select_td"> <td id="area_select_td">
<div> <div>
<select id="city" name="city" onchange="changeAreaList(this.value, this.name)" class="form-control input-area-select"> <select id="city" name="city" onchange="changeAreaList(this.value, this.name)" class="form-control input-area-select">
<option value="0">::시/도::</option> <option value="0">::시/도::</option>
<c:forEach var="item" items="${cityList}" varStatus="status"> <c:forEach var="item" items="${cityList}" varStatus="status">
<option value="${item.code}"><c:out value="${item.area}"/></option> <option value="${item.code}"><c:out value="${item.area}"/></option>
</c:forEach> </c:forEach>
</select> </select>
<select id="county" name="county" onchange="changeAreaList(this.value, this.name);" class="form-control input-area-select"> <select id="county" name="county" onchange="changeAreaList(this.value, this.name);" class="form-control input-area-select">
<option value="0">::선택::</option> <option value="0">::선택::</option>
</select> </select>
<select id="town" name="town" class="form-control input-area-select"> <select id="town" name="town" class="form-control input-area-select">
<option value="0">::선택::</option> <option value="0">::선택::</option>
</select> </select>
<span class="btn btn-outline-primary" onclick="addAreaBtn();">추가</span> <span class="btn btn-outline-primary" onclick="addAreaBtn();">추가</span>
</div> </div>
<div id="addedArea" class="addedArea"> <div id="addedArea" class="addedArea">
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<th rowspan="3">레이어</th> <th rowspan="3">레이어</th>
<th><label>지하시설물</label></th> <th><label>지하시설물</label></th>
<td> <td>
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'facility'}"> <c:if test="${item.code eq 'facility'}">
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label> <label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label>
</c:if> </c:if>
</c:forEach> </c:forEach>
</td> </td>
</tr> </tr>
<tr> <tr>
<th><label>지하구조물</label></th> <th><label>지하구조물</label></th>
<td> <td>
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'structure'}"> <c:if test="${item.code eq 'structure'}">
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label> <label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label>
</c:if> </c:if>
</c:forEach> </c:forEach>
</td> </td>
</tr> </tr>
<tr> <tr>
<th><label>지반</label></th> <th><label>지반</label></th>
<td> <td>
<c:forEach var="item" items="${layersVO}" varStatus="status"> <c:forEach var="item" items="${layersVO}" varStatus="status">
<c:if test="${item.code eq 'ground'}"> <c:if test="${item.code eq 'ground'}">
<label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label> <label class="layer-label"><input type="checkbox" name="${item.code}" id="${item.code}" value="${item.layer}"/> ${item.name} </label>
</c:if> </c:if>
</c:forEach> </c:forEach>
</td> </td>
</tr> </tr>
<tr> <tr>
<th colspan="2">요청 내용</th> <th colspan="2">요청 내용</th>
<td><textarea class="form-control" rows="3" style="resize:none;" name=user_msg></textarea></td> <td><textarea class="form-control" rows="3" style="resize:none;" name=user_msg></textarea></td>
</tr> </tr>
</tbody>
</tbody>
</table> </table>
<input type="hidden" id="layers" name="layers"/>
<input type="hidden" id="places" name="places"/>
<div class="section_btn"> <div class="section_btn">
<p class="search_p1"> <p class="search_p1">
<input class="btn btn-secondary" type="button" value="닫기" data-bs-dismiss="modal"/> <input class="btn btn-secondary" type="button" value="닫기" data-bs-dismiss="modal"/>

View File

@ -639,9 +639,9 @@ a {
} }
.detail_table{ .detail_table{
width:95%; width:100%;
margin-top: 20px; margin-top: 20px;
margin-left: 20px; margin-outside: 5px;
} }
.detail_table > tbody> tr >th { .detail_table > tbody> tr >th {