정지윤

예약기능추가-1주일만 예약가능

......@@ -4,9 +4,7 @@
<head>
<meta charset="utf-8">
<title>식당 예약</title>
<!-- Bootstrap core CSS -->
<!-- Bootstrap core CSS -->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
......@@ -25,7 +23,7 @@
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<title>식당 예약</title>
<style type="text/css">
.reservationTheme{
......@@ -89,10 +87,8 @@
<div class="col-md-4 selectContainer">
<div class="input-group">
<label class="col-md-4 control-label">인원 수</label>
<i class="glyphicon glyphicon-list"></i>
<select name="num" class="form-control selectpicker" >
<option value=" " >인원 수를 선택하세요.</option>
<option>1~4명</option>
<option>5~10명</option>
<option >10명~15명</option>
......@@ -155,36 +151,58 @@
</div>
<div class="form-group">
<div class="col-md-4 selectContainer">
<div class="input-group">
<label class="col-md-4 control-label">예약 시간</label>
<div class="container">
<div class="row">
<div class='col-sm-6'>
<div class="form-group">
<div class='input-group date' id='datetimepicker1'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('#datetimepicker1').datetimepicker();
});
</script>
</div>
</div>
<i class="glyphicon glyphicon-list"></i>
<select name="num" class="form-control selectpicker" >
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( ) , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+1 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+2 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+3 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+4 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+5 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+6 , "일")
</script> </option>
<option><script language="JavaScript">
var today = new Date( )
document.write(today.getMonth( )+1 , "월 " , today.getDate( )+7 , "일")
</script> </option>
</select>
</div>
</div>
</div>
<br>
......@@ -193,7 +211,7 @@
<div class="input-group">
<label class="col-md-4 control-label">요청사항</label>
<i class="glyphicon glyphicon-pencil"></i>
<textarea class="form-control" name="content" placeholder="Project Description" style="width:310px; height:100px;"></textarea>
<textarea class="form-control" name="content" placeholder="요청 사항을 써주세요" style="width:310px; height:100px;"></textarea>
</div>
</div>
......