<%@page import="com.dbs.mplus.MPlusConstants"%>
<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<script type="text/javascript" src="<c:url value='/resources/js/admin/login.js' />"></script>

<div class="mainContainer" id="loginForm">
	<div class="formContainer">
		<div class="lineContainer">
			<c:set var="url" value="${ pageContext.request.requestURL}" />
			<c:set var="hospitalUrl" value="<%= MPlusConstants.HOSPITAL.MPLUS.getContextName() %>" />
			<c:set var="chilgokUrl" value="<%= MPlusConstants.HOSPITAL.MPLUS_COOK.getContextName() %>" />
			<input type="hidden" value="${ url}" />
			<input type="hidden" value="${ hospitalUrl}" />
			<input type="hidden" value="${ chilgokUrl}" />
			<img src="<c:url value='/resources/css/images/mcarePlus.png' />" width="150">
		</div>
		<div class="lineContainer">
            <i class="material-icons">perm_identity</i>
			<input type="text" id="_username" placeholder="아이디를 입력하세요" />
		</div>
		<div class="lineContainer">
			<i class="material-icons">lock_outline</i>
			<input type="password" id="_password" placeholder="비밀번호를 입력하세요" />
		</div>
		<div class="lineContainer">
			<input type="button" id="login_btn" class="k-button"  value="로그인" />
		</div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
	var login = new mcare_admin_login();
	login.init();
});
</script>