|
@@ -4,73 +4,6 @@
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
|
pageEncoding="UTF-8"%>
|
|
|
<jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
|
|
|
-<script>
|
|
|
- $(function() {
|
|
|
- // Select2
|
|
|
- $(".select2").each(function() {
|
|
|
- $(this).wrap("<div class=\"position-relative\"></div>").select2({
|
|
|
- placeholder : "Select value",
|
|
|
- dropdownParent : $(this).parent()
|
|
|
- });
|
|
|
- })
|
|
|
- // Daterangepicker
|
|
|
- $("input[name=\"daterange\"]").daterangepicker({
|
|
|
- opens : "left"
|
|
|
- });
|
|
|
- $("input[name=\"datetimes\"]").daterangepicker({
|
|
|
- timePicker : true,
|
|
|
- opens : "left",
|
|
|
- startDate : moment().startOf("hour"),
|
|
|
- endDate : moment().startOf("hour").add(32, "hour"),
|
|
|
- locale : {
|
|
|
- format : "M/DD hh:mm A"
|
|
|
- }
|
|
|
- });
|
|
|
- $("input[name=\"datesingle\"]").daterangepicker({
|
|
|
- singleDatePicker : true,
|
|
|
- showDropdowns : true
|
|
|
- });
|
|
|
- // Datetimepicker
|
|
|
- $('#datetimepicker-minimum').datetimepicker();
|
|
|
- $('#datetimepicker-view-mode').datetimepicker({
|
|
|
- viewMode : 'years'
|
|
|
- });
|
|
|
- $('#datetimepicker-time').datetimepicker({
|
|
|
- format : 'LT'
|
|
|
- });
|
|
|
- $('#datetimepicker-date').datetimepicker({
|
|
|
- format : 'L'
|
|
|
- });
|
|
|
- var start = moment().subtract(29, "days");
|
|
|
- var end = moment();
|
|
|
-
|
|
|
- function cb(start, end) {
|
|
|
- $("#reportrange span").html(
|
|
|
- start.format("MMMM D, YYYY") + " - "
|
|
|
- + end.format("MMMM D, YYYY"));
|
|
|
- }
|
|
|
- $("#reportrange").daterangepicker(
|
|
|
- {
|
|
|
- startDate : start,
|
|
|
- endDate : end,
|
|
|
- ranges : {
|
|
|
- "Today" : [ moment(), moment() ],
|
|
|
- "Yesterday" : [ moment().subtract(1, "days"),
|
|
|
- moment().subtract(1, "days") ],
|
|
|
- "Last 7 Days" : [ moment().subtract(6, "days"),
|
|
|
- moment() ],
|
|
|
- "Last 30 Days" : [ moment().subtract(29, "days"),
|
|
|
- moment() ],
|
|
|
- "This Month" : [ moment().startOf("month"),
|
|
|
- moment().endOf("month") ],
|
|
|
- "Last Month" : [
|
|
|
- moment().subtract(1, "month").startOf("month"),
|
|
|
- moment().subtract(1, "month").endOf("month") ]
|
|
|
- }
|
|
|
- }, cb);
|
|
|
- cb(start, end);
|
|
|
- });
|
|
|
-</script>
|
|
|
<script>
|
|
|
$(function() {
|
|
|
// Datatables basic
|
|
@@ -93,6 +26,26 @@
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+</script>
|
|
|
+<script>
|
|
|
+$( function(){
|
|
|
+ $("#loginForm").rules( "add", {
|
|
|
+
|
|
|
+ })
|
|
|
+ $("#loginForm").validate({
|
|
|
+ ignoreTitle: true,
|
|
|
+ messages : {
|
|
|
+ id : {
|
|
|
+ required : "아이디를 입력해주세요."
|
|
|
+ },
|
|
|
+ password : {
|
|
|
+ required : "비밀번호를 입력해주세요."
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+});
|
|
|
+
|
|
|
+
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -107,47 +60,30 @@
|
|
|
|
|
|
<div class="text-center mt-4">
|
|
|
<h1 class="h2">생활치료센터 의료진 시스템</h1>
|
|
|
- <p class="lead">Life Care Center Medical
|
|
|
- Staff System</p>
|
|
|
+ <p class="lead">Life Care Center Medical Staff System</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="card">
|
|
|
<div class="card-body">
|
|
|
<div class="m-sm-4">
|
|
|
- <form>
|
|
|
+ <form id="loginForm" action="./check" method="post">
|
|
|
<div class="form-group">
|
|
|
- <label>아이디</label> <input
|
|
|
- id="id"
|
|
|
- class="form-control form-control-lg"
|
|
|
- type="email"
|
|
|
- name="email"
|
|
|
- placeholder="아이디를 입력해주세요">
|
|
|
+ <label>아이디</label>
|
|
|
+ <input id="id" class="form-control form-control-lg" type="text" name="email" title="아이디" placeholder="아이디를 입력해주세요" tabindex="1" maxlength="20" required>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label>비밀번호</label> <input
|
|
|
- id="password"
|
|
|
- class="form-control form-control-lg"
|
|
|
- type="password"
|
|
|
- name="password"
|
|
|
- placeholder="비밀번호를 입력해주세요"
|
|
|
- autocomplete="off">
|
|
|
+ <label>비밀번호</label>
|
|
|
+ <input id="password" class="form-control form-control-lg" type="password" name="password" title="비밀번호" placeholder="비밀번호를 입력해주세요" autocomplete="off" tabindex="2" maxlength="20" required>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div
|
|
|
- class="custom-control custom-checkbox align-items-center">
|
|
|
- <input type="checkbox"
|
|
|
- class="custom-control-input"
|
|
|
- value="remember-me"
|
|
|
- name="remember-me"
|
|
|
- checked="">
|
|
|
- <label
|
|
|
- class="custom-control-label text-small">아이디
|
|
|
- 저장</label>
|
|
|
+ <div class="custom-control custom-checkbox align-items-center">
|
|
|
+ <input type="checkbox" class="custom-control-input" value="remember-me" name="remember-me" checked="checked">
|
|
|
+ <label class="custom-control-label text-small">아이디 저장</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="text-center mt-3">
|
|
|
- <a href="../patient/list"
|
|
|
- class="btn btn-lg btn-primary">로그인</a>
|
|
|
+ <button type="submit" class="btn btn-lg btn-primary">로그인</button>
|
|
|
+<!-- <a href="../patient/list" class="btn btn-lg btn-primary">로그인</a> -->
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|