From dc88333dc09b5bf82a633eeb18496a898c47d912 Mon Sep 17 00:00:00 2001 From: Roger Cortez Date: Wed, 10 Jul 2024 17:41:46 +0800 Subject: [PATCH] Fixed some syntax errors in register.pug --- server/views/register.pug | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/views/register.pug b/server/views/register.pug index 7e2c47e..83781c5 100644 --- a/server/views/register.pug +++ b/server/views/register.pug @@ -8,14 +8,14 @@ block content p.text-white-50.mb-5 Please finish the following authorizations! .d-flex.flex-column.align-items-center - if githubUsername - button.btn.btn-success.btn-lg.mb-3.w-100(type='button' disabled) - i.fab.fa-github.fa-lg(style='margin-right: 8px') - | GitHub Authorized - else - button.btn.btn-outline-light.btn-lg.mb-3.w-100(type='button' onclick="window.location.href='/auth/github'") - i.fab.fa-github.fa-lg(style='margin-right: 8px') - | Authorize GitHub + if githubUsername + button.btn.btn-success.btn-lg.mb-3.w-100(type='button' disabled) + i.fab.fa-github.fa-lg(style='margin-right: 8px') + | GitHub Authorized + else + button.btn.btn-outline-light.btn-lg.mb-3.w-100(type='button' onclick="window.location.href='/auth/github'") + i.fab.fa-github.fa-lg(style='margin-right: 8px') + | Authorize GitHub button.btn.btn-outline-light.btn-lg.w-100(type='button' onclick="window.location.href='/auth/linkedin'") i.fab.fa-linkedin.fa-lg(style='margin-right: 8px')