이승규

main.ejs 수정

...@@ -5,10 +5,11 @@ var db = require('../lib/db'); ...@@ -5,10 +5,11 @@ var db = require('../lib/db');
5 /* GET home page. */ 5 /* GET home page. */
6 6
7 router.post('/starting' , (req,res) => { 7 router.post('/starting' , (req,res) => {
8 - if (req.body.action == "ontime") 8 + if (req.body.action == "운명보기")
9 res.redirect(`/Cname/${req.body.name}/Cbirth/${req.body.birth}`); 9 res.redirect(`/Cname/${req.body.name}/Cbirth/${req.body.birth}`);
10 - else if (req.body.action == "forecast") 10 + else if (req.body.action == "미래확인")
11 res.redirect(`/Fname/${req.body.name}/Fbirth/${req.body.birth}`); 11 res.redirect(`/Fname/${req.body.name}/Fbirth/${req.body.birth}`);
12 + console.log(req.body.action);
12 }); 13 });
13 14
14 router.get('/Fname/:name/Fbirth/:birth',(req,res)=>{ 15 router.get('/Fname/:name/Fbirth/:birth',(req,res)=>{
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> 25 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
26 26
27 <style type="text/css"> 27 <style type="text/css">
28 - html, 28 + html
29 { 29 {
30 margin: 0; 30 margin: 0;
31 padding: 0; 31 padding: 0;
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
52 </style> 52 </style>
53 </head> 53 </head>
54 <body> 54 <body>
55 - <img src="images/indexWallpaper.jpg" alt="" style="z-index:-1; min-width: 100%; min-height: 100%"width="50%" height="100%"> 55 + <img src="images/background.jpg" alt="" style="z-index:-1; min-width: 100%; min-height: 100%"width="50%" height="100%">
56 56
57 <div id = "center_top1"> 57 <div id = "center_top1">
58 (사용자정보) 님은 58 (사용자정보) 님은
......