From 2f62d2fb05edb179cad704397fe97aaa095c5ecd Mon Sep 17 00:00:00 2001 From: Basil Reji <84758142+basil-reji@users.noreply.github.com> Date: Sat, 29 Apr 2023 23:27:32 +0530 Subject: [PATCH] results page modified --- routes/index.js | 65 +++++++++++++++++---------------- views/pages/results.hbs | 6 ++-- views/pages/view_result.hbs | 47 +++++++++++++++++++++--- views/partials/header.hbs | 3 +- views/updates.hbs | 71 ------------------------------------- 5 files changed, 81 insertions(+), 111 deletions(-) diff --git a/routes/index.js b/routes/index.js index 70e9f84..74cb796 100644 --- a/routes/index.js +++ b/routes/index.js @@ -82,6 +82,7 @@ router.get('/results', function (req, res, next) { title: `Results | ${app_name}`, page_head: 'Results', page_nav_name: 'Results', + reults_page: true }); }); @@ -92,6 +93,7 @@ router.get('/results/view', function (req, res, next) { title: `Results | ${app_name}`, page_head: 'Results', page_nav_name: 'Results', + reults_page: true, message }); }); @@ -106,6 +108,7 @@ router.post('/results/view', function (req, res, next) { title: `View Result |${app_name}`, page_head: 'Results', page_nav_name: 'Results', + reults_page: true, candidate }); }) @@ -116,36 +119,36 @@ router.post('/results/view', function (req, res, next) { }) }); -router.get('/results/view_result', function (req, res, next) { - let message = req.flash('message'); - res.render('pages/view_result', - { - title: `Results | ${app_name}`, - page_head: 'Results', - page_nav_name: 'Results', - message - }); -}); - - -router.get('/test', (req, res, next) => { - let user = req.user; - res.render('test', { - title: `Test Page | ${app_name}`, - user - }); -}); - -router.post('/test', (req, res, next) => { - let user = req.user; - // console.log(req.body) - - res.send( - { - response: "acknowledged", - status: true - } - ); -}); +// router.get('/results/view_result', function (req, res, next) { +// let message = req.flash('message'); +// res.render('pages/view_result', +// { +// title: `Results | ${app_name}`, +// page_head: 'Results', +// page_nav_name: 'Results', +// message +// }); +// }); + + +// router.get('/test', (req, res, next) => { +// let user = req.user; +// res.render('test', { +// title: `Test Page | ${app_name}`, +// user +// }); +// }); + +// router.post('/test', (req, res, next) => { +// let user = req.user; +// // console.log(req.body) + +// res.send( +// { +// response: "acknowledged", +// status: true +// } +// ); +// }); module.exports = router; \ No newline at end of file diff --git a/views/pages/results.hbs b/views/pages/results.hbs index 6af37c2..18c766a 100644 --- a/views/pages/results.hbs +++ b/views/pages/results.hbs @@ -34,9 +34,9 @@ - + d="M5.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5zM5 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2a.5.5 0 0 1-.5-.5z" /> + View Results diff --git a/views/pages/view_result.hbs b/views/pages/view_result.hbs index 611a2d9..5f83b72 100644 --- a/views/pages/view_result.hbs +++ b/views/pages/view_result.hbs @@ -5,6 +5,15 @@
+
+
+ + Congratulations!
+ You are eligible to participate in the next round. +
+
+
+

Basic Details:

@@ -44,18 +53,46 @@
+
+ +
+

Based on your test scores and qualifications, you have been + selected to move + on to the next round. In this round, we will use a combination of your preference, test + score, rank, and + other factors to assign you to a pool of companies. +

+

+ These companies will be conducting + offline interviews on May 8th and May 13th, 2023. You will have the opportunity to attend + these interviews and potentially secure a job offer. Good luck, and we look forward to + seeing you at the next round! +

+
+ +
+
+
+
+ +
+

+ Please regularly check the update page on our website for all the updates + and announcements regarding the further process. We strive to keep our participants informed + and + updated with any changes or important information.

-
-
-
-
- -
-
-

Registration Closed

-

- - We are excited to announce that the confirmation mails, along with the unique - Launchpad - Kerala ID, will be sent soon to all registered participants who have completed the - registration process. Please check your email inbox regularly, including - promotions/spam/junk - folders, for an email from team@launchpadkerala.org. - -

-

- The confirmation email contains important information, including your Launchpad Kerala - ID, which will be required for various event-related activities. We kindly request you - to keep this ID safely for future reference. -

-

- If you have not received the confirmation email before 25.04.2023, please contact us at - through the contact form on the - home page -

-

Registration closed!

- - {{!--
-
-
-
-

Action Required

-

- - Attention to all Launchpad Kerala 2023 Participants: - - We have noticed that some students - have registered on the DWMS platform of Kerala Knowledge Economy Mission (K-KEM) but - have not completed the registration form on our website. To ensure that you can continue - with Launchpad Kerala and receive confirmation, it is imperative to complete the - registration form on our website. -

-

- - If you have not completed the registration process, - our team has sent you an email with instructions and a link to complete the - registration. Please follow the steps provided in the email. If you have already - completed the registration form, kindly ignore this message. - -

-

Thank you for your - cooperation. -

-
-
-
-
--}}
\ No newline at end of file