diff --git a/assets/script.js b/assets/script.js index 730a085..27fc18a 100644 --- a/assets/script.js +++ b/assets/script.js @@ -1,7 +1,7 @@ let UserInfo = {}; function isLoggedIn(){ - return UserInfo.ID && UserInfo.ID > 0; + return UserInfo.Email && UserInfo.Email.length > 0; } async function handleResponse(data, successMessage, failureMessage) { diff --git a/assets/style.css b/assets/style.css index 0ce1861..7f4e54c 100644 --- a/assets/style.css +++ b/assets/style.css @@ -61,7 +61,7 @@ header { align-items: center; text-align: center; width: 100%; - margin-top: 25px; + margin-top: 35px; } li a { @@ -108,6 +108,10 @@ table>tbody>tr, table>tbody>tr>th, table>tbody>tr>td { border: 2px solid var(--primary); + border-collapse: collapse !important; +} + +table { border-collapse: collapse; } diff --git a/templates/dashboard.html b/templates/dashboard.html index f93b64c..2338466 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -1,3 +1,5 @@