<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org"
	  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	  layout:decorate="~{/web/layout/homeLayout}">
	<th:block layout:fragment="layout_css">
		<link rel="stylesheet" href="/css/web/hospital_info.css?v1.1">
	</th:block>

<th:block layout:fragment="layout_top_script">
<script>
let menuClass     = "[[${param.menuClass}]]"==""?"":"[[${param.menuClass}]]";

let selectUseYn   = "[[${selectUseYn}]]"==""?"N":"[[${selectUseYn}]]";
let insertUseYn   = "[[${insertUseYn}]]"==""?"N":"[[${insertUseYn}]]";
let updateUseYn   = "[[${updateUseYn}]]"==""?"N":"[[${updateUseYn}]]";
let deleteUseYn   = "[[${deleteUseYn}]]"==""?"N":"[[${deleteUseYn}]]";
let downloadUseYn = "[[${downloadUseYn}]]"==""?"N":"[[${downloadUseYn}]]";

</script>
</th:block>
<th:block layout:fragment="layout_content">
<input type="hidden" id="muHospitalId">
<!-- 센터쪽 -->
<div class="center_box">
	<p class="page_title">병원 기본정보</p>

	<div class="info_box">
		<div class="info">
			<div class="form_box first">
				<p class="title">운영시간</p>
	
				<div class="time_box">
					<p class="time_title">운영시간</p>
	
					<ul class="time_list">
						<li class="list_title_li">
							<span class="list_title">요일</span>
							<span class="list_title">운영시간</span>
							<span class="list_title">휴게시간</span>
							<span class="list_title">운영여부</span>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">월요일</p>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="monOpenStartTime">
										
										<ul class="select_option_list dropdown-menu" id="selMonOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="monOpenEndTime">
										
										<ul class="select_option_list dropdown-menu" id="selMonOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="monBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selMonBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="monBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selMonBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkMonOpenYn" class="switch_input" value="Y">
									<label for="checkMonOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">화요일</p>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="tueOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selTueOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="tueOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selTueOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="tueBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selTueBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="tueBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selTueBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkTueOpenYn" class="switch_input" value="Y">
									<label for="checkTueOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">수요일</p>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="wedOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selWedOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="wedOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selWedOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="wedBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selWedBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="wedBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selWedBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkWedOpenYn" class="switch_input" value="Y">
									<label for="checkWedOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">목요일</p>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="thuOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selThuOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="thuOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selThuOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="thuBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selThuBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="thuBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selThuBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkThuOpenYn" class="switch_input" value="Y">
									<label for="checkThuOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">금요일</p>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="friOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selFriOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="friOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selFriOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="friBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selFriBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="friBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selFriBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkFriOpenYn" class="switch_input" value="Y">
									<label for="checkFriOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">토요일</p>
							</div>
	
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="satOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selSatOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="satOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selSatOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="satBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selSatBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="satBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selSatBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkSatOpenYn" class="switch_input" value="Y">
									<label for="checkSatOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
	
						<li>
							<div class="day_box">
								<p class="day">일요일</p>
							</div>
	
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="sunOpenStartTime">
										<ul class="select_option_list dropdown-menu" id="selSunOpenStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="sunOpenEndTime">
										<ul class="select_option_list dropdown-menu" id="selSunOpenEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="select_time_list_box">
								<div class="select_list first">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="sunBreakStartTime">
										<ul class="select_option_list dropdown-menu" id="selSunBreakStartTime"></ul>
									</div><!--select_box-->
								</div>
	
								<span class="slash">~</span>
									
								<div class="select_list">
									<div class="select_box dropdown">
										<button type="button" class="label" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" disabled>00:00</button>
										<input type="hidden" id="sunBreakEndTime">
										<ul class="select_option_list dropdown-menu" id="selSunBreakEndTime"></ul>
									</div><!--select_box-->
								</div>
							</div>
	
							<div class="wrapper_box">
								<div class="wrapper">
									<input type="checkbox" id="checkSunOpenYn" class="switch_input" value="Y">
									<label for="checkSunOpenYn" class="switch_label">
										<span class="switch_btn"></span>
									</label>
								</div>
							</div>
						</li>
					</ul>
				</div>
				
	
				<div class="holiday_box">
					<p class="holiday_title">법정 공휴일</p>
	
					<div class="check_holiday_box">
						<div class="check_box">
							<label for="checkPublicHolidayUseYn">
								<input class="select_check_hide" type="checkbox" id="checkPublicHolidayUseYn" name="checkPublicHolidayUseYn" value="Y">
								<div class="select_check_show"></div>
							</label>
						</div>
						<span>법정 공휴일 반영</span>
					</div>
				</div><!--content_box-->
	
				<div class="hospital_box">
					<p class="hospital_title">운영시간</p>
	
					<ul class="hospital_list" id="hospitalHolidayList">
						<li class="list_title_li">
							<span class="list_title">휴일명</span>
							<span class="list_title">날짜</span>
							<span class="list_title">일정반복</span>
							<span class="list_title"></span>
						</li>
					</ul>
				</div>
			</div>
	
			<!-- <div class="form_box">
				<p class="title">최고관리자 설정</p>
	
				<div class="admset_box">
					<p class="admset_title">아이디</p>
	
					<div class="input_box">
						<input type="hidden" id="txt_muMemberId">
						<input type="text" id="txt_memberName" placeholder="" disabled>
						<a href="#">최고관리자 이관</a>
	
						<p class="comment">*관리자 권한 계정에게만 이관이 가능합니다.</p>
					</div>
				 </div>
			</div> -->
	
			<div class="button_box">
				<button id="btnUpdateHospital">저장</button>
			</div>
		</div>
	</div>
</div>
<form id="hospitalUpdateForm" onsubmit="return false;"></form>
</th:block>
<th:block layout:fragment="layout_popup">
</th:block>
<th:block layout:fragment="layout_script">
<script src="/js/web/hospital/hospitalUpdate.js"></script>
</th:block>
</html>
