이승규

main.ejs 수정

......@@ -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)=>{
......
......@@ -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;
......
......@@ -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">
(사용자정보) 님은
......