Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정지윤
/
project_opensource
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
정지윤
2017-12-03 20:47:52 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aa40a75b7ebfb16af3cb213c8dc5ed5e198e600a
aa40a75b
1 parent
95d1f838
예약기능추가-1주일만 예약가능
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
31 deletions
views/jj.ejs
views/jj.ejs
View file @
aa40a75
...
...
@@ -4,8 +4,6 @@
<head>
<meta
charset=
"utf-8"
>
<title>
식당 예약
</title>
<!-- Bootstrap core CSS -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"vendor/bootstrap/css/bootstrap.min.css"
rel=
"stylesheet"
>
...
...
@@ -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>
<i
class=
"glyphicon glyphicon-list"
></i>
<select
name=
"num"
class=
"form-control selectpicker"
>
<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>
<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>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
$
(
'#datetimepicker1'
).
datetimepicker
();
});
</script>
</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>
...
...
Please
register
or
login
to post a comment