diff --git a/foftickets.js b/foftickets.js index 582cb8e..6e8c640 100644 --- a/foftickets.js +++ b/foftickets.js @@ -761,6 +761,7 @@ app.post('/buy',requireLogin,(req,res) => { + app.post('/charge', requireLogin, async (req, res) => { const payforwhat=req.body.payforwhat; if (!check_payforwhat(payforwhat,req)) return res.json({ error: 'Invalid PayForWhat' }); diff --git a/public/styles.css b/public/styles.css index c21cf32..d0168c0 100644 --- a/public/styles.css +++ b/public/styles.css @@ -35,30 +35,43 @@ cursor: pointer; } +h1 { + font-size: 1.2rem; +} body { display: grid; grid-template-columns: 240px auto; grid-template-rows: 40px auto; font-family: Arial, sans-serif; + } -.nav { - grid-column: 1; - grid-row: 1 / 3; - background-color: #FFC0C0; +.nav-header { + font-size: 1.5rem; + padding: 10px 15px; + grid-column: 1 / 3; + grid-row: 1; + background-color: #C0C0C0; +} + +.nav-items { + padding: 10px 15px; + grid-column: 1; + grid-row: 2 / 3; + background-color: #C0C0C0; } .message { - grid-column: 2; - grid-row: 1; - background-color: #C0FFC0; - align-content: center; - justify-items: center; + grid-column: 2; + grid-row: 1; + background-color: #C0C0C0; + align-content: center; + justify-items: center; } .content { grid-column: 2; grid-row: 2; - background-color: #C0C0FF; + background-color: #E0E0E0; } diff --git a/views/changepassword.ejs b/views/changepassword.ejs index 5c3cc11..15a24b9 100644 --- a/views/changepassword.ejs +++ b/views/changepassword.ejs @@ -7,7 +7,7 @@
<%- include('partials/nav') %>