Toggle navigation
Toggle navigation
This project
Loading...
Sign in
kkl
/
Probability Death
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
이승규
2019-06-06 16:53:19 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f8ef3f0cb0b08930e7d16e041139751542f28fcd
f8ef3f0c
1 parent
d117ed10
main.ejs 수정
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
routes/index.js
views/main.ejs
views/new_index.ejs
routes/index.js
View file @
f8ef3f0
...
...
@@ -5,10 +5,11 @@ var db = require('../lib/db');
/* GET home page. */
router
.
post
(
'/starting'
,
(
req
,
res
)
=>
{
if
(
req
.
body
.
action
==
"
ontime
"
)
if
(
req
.
body
.
action
==
"
운명보기
"
)
res
.
redirect
(
`/Cname/
${
req
.
body
.
name
}
/Cbirth/
${
req
.
body
.
birth
}
`
);
else
if
(
req
.
body
.
action
==
"
forecast
"
)
else
if
(
req
.
body
.
action
==
"
미래확인
"
)
res
.
redirect
(
`/Fname/
${
req
.
body
.
name
}
/Fbirth/
${
req
.
body
.
birth
}
`
);
console
.
log
(
req
.
body
.
action
);
});
router
.
get
(
'/Fname/:name/Fbirth/:birth'
,(
req
,
res
)
=>
{
...
...
views/main.ejs
View file @
f8ef3f0
...
...
@@ -25,7 +25,7 @@
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"
></script>
<style
type=
"text/css"
>
html
,
html
{
margin
:
0
;
padding
:
0
;
...
...
views/new_index.ejs
View file @
f8ef3f0
...
...
@@ -52,7 +52,7 @@
</style>
</head>
<body>
<img
src=
"images/
indexWallpaper
.jpg"
alt=
""
style=
"z-index:-1; min-width: 100%; min-height: 100%"
width=
"50%"
height=
"100%"
>
<img
src=
"images/
background
.jpg"
alt=
""
style=
"z-index:-1; min-width: 100%; min-height: 100%"
width=
"50%"
height=
"100%"
>
<div
id =
"center_top1"
>
(사용자정보) 님은
...
...
Please
register
or
login
to post a comment