Merge remote-tracking branch 'origin/main'

This commit is contained in:
Bruno Rybársky 2024-02-14 21:03:47 +01:00
commit 9767f7557e
3 changed files with 9 additions and 3 deletions

@ -1,7 +1,7 @@
let UserInfo = {}; let UserInfo = {};
function isLoggedIn(){ function isLoggedIn(){
return UserInfo.ID && UserInfo.ID > 0; return UserInfo.Email && UserInfo.Email.length > 0;
} }
async function handleResponse(data, successMessage, failureMessage) { async function handleResponse(data, successMessage, failureMessage) {

@ -61,7 +61,7 @@ header {
align-items: center; align-items: center;
text-align: center; text-align: center;
width: 100%; width: 100%;
margin-top: 25px; margin-top: 35px;
} }
li a { li a {
@ -108,6 +108,10 @@ table>tbody>tr,
table>tbody>tr>th, table>tbody>tr>th,
table>tbody>tr>td { table>tbody>tr>td {
border: 2px solid var(--primary); border: 2px solid var(--primary);
border-collapse: collapse !important;
}
table {
border-collapse: collapse; border-collapse: collapse;
} }

@ -1,3 +1,5 @@
<div class="dashboard"> <div class="dashboard">
<header>
<h1 id="welcomeMsg"></h1> <h1 id="welcomeMsg"></h1>
</header>
</div> </div>