정지윤

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

...@@ -4,9 +4,7 @@ ...@@ -4,9 +4,7 @@
4 <head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 6
7 - <title>식당 예약</title> 7 + <!-- Bootstrap core CSS -->
8 -
9 - <!-- Bootstrap core CSS -->
10 <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> 8 <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
11 9
12 <!-- Custom fonts for this template --> 10 <!-- Custom fonts for this template -->
...@@ -25,7 +23,7 @@ ...@@ -25,7 +23,7 @@
25 <script src="https://code.jquery.com/jquery-1.12.4.js"></script> 23 <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
26 <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> 24 <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
27 25
28 - 26 + <title>식당 예약</title>
29 27
30 <style type="text/css"> 28 <style type="text/css">
31 .reservationTheme{ 29 .reservationTheme{
...@@ -89,10 +87,8 @@ ...@@ -89,10 +87,8 @@
89 <div class="col-md-4 selectContainer"> 87 <div class="col-md-4 selectContainer">
90 <div class="input-group"> 88 <div class="input-group">
91 <label class="col-md-4 control-label">인원 수</label> 89 <label class="col-md-4 control-label">인원 수</label>
92 -
93 <i class="glyphicon glyphicon-list"></i> 90 <i class="glyphicon glyphicon-list"></i>
94 <select name="num" class="form-control selectpicker" > 91 <select name="num" class="form-control selectpicker" >
95 - <option value=" " >인원 수를 선택하세요.</option>
96 <option>1~4명</option> 92 <option>1~4명</option>
97 <option>5~10명</option> 93 <option>5~10명</option>
98 <option >10명~15명</option> 94 <option >10명~15명</option>
...@@ -155,36 +151,58 @@ ...@@ -155,36 +151,58 @@
155 </div> 151 </div>
156 152
157 153
158 - 154 + <div class="form-group">
155 + <div class="col-md-4 selectContainer">
156 + <div class="input-group">
157 + <label class="col-md-4 control-label">예약 시간</label>
159 158
160 - <div class="container"> 159 + <i class="glyphicon glyphicon-list"></i>
161 - <div class="row"> 160 + <select name="num" class="form-control selectpicker" >
162 - <div class='col-sm-6'>
163 - <div class="form-group">
164 - <div class='input-group date' id='datetimepicker1'>
165 - <input type='text' class="form-control" />
166 - <span class="input-group-addon">
167 - <span class="glyphicon glyphicon-calendar"></span>
168 - </span>
169 - </div>
170 - </div>
171 - </div>
172 - <script type="text/javascript">
173 - $(document).ready(function(){
174 - $('#datetimepicker1').datetimepicker();
175 - });
176 - </script>
177 - </div>
178 - </div>
179 161
162 + <option><script language="JavaScript">
163 + var today = new Date( )
164 + document.write(today.getMonth( )+1 , "월 " , today.getDate( ) , "일")
165 + </script> </option>
180 166
167 + <option><script language="JavaScript">
168 + var today = new Date( )
169 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+1 , "일")
170 + </script> </option>
181 171
172 + <option><script language="JavaScript">
173 + var today = new Date( )
174 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+2 , "일")
175 + </script> </option>
182 176
177 + <option><script language="JavaScript">
178 + var today = new Date( )
179 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+3 , "일")
180 + </script> </option>
183 181
182 + <option><script language="JavaScript">
183 + var today = new Date( )
184 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+4 , "일")
185 + </script> </option>
184 186
187 + <option><script language="JavaScript">
188 + var today = new Date( )
189 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+5 , "일")
190 + </script> </option>
185 191
192 + <option><script language="JavaScript">
193 + var today = new Date( )
194 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+6 , "일")
195 + </script> </option>
186 196
197 + <option><script language="JavaScript">
198 + var today = new Date( )
199 + document.write(today.getMonth( )+1 , "월 " , today.getDate( )+7 , "일")
200 + </script> </option>
187 201
202 + </select>
203 + </div>
204 + </div>
205 + </div>
188 206
189 207
190 <br> 208 <br>
...@@ -193,7 +211,7 @@ ...@@ -193,7 +211,7 @@
193 <div class="input-group"> 211 <div class="input-group">
194 <label class="col-md-4 control-label">요청사항</label> 212 <label class="col-md-4 control-label">요청사항</label>
195 <i class="glyphicon glyphicon-pencil"></i> 213 <i class="glyphicon glyphicon-pencil"></i>
196 - <textarea class="form-control" name="content" placeholder="Project Description" style="width:310px; height:100px;"></textarea> 214 + <textarea class="form-control" name="content" placeholder="요청 사항을 써주세요" style="width:310px; height:100px;"></textarea>
197 </div> 215 </div>
198 </div> 216 </div>
199 217
......