This commit is contained in:
parent
bf698bee59
commit
9876641ff6
4 changed files with 17 additions and 12 deletions
|
|
@ -745,21 +745,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.holiday {
|
.calendar-day.holiday {
|
||||||
background: #ff9800;
|
background: rgba(255, 152, 0, 0.5);
|
||||||
color: #0d1117;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.holiday:not(.today):hover {
|
.calendar-day.holiday:not(.today):hover {
|
||||||
background: #ffb74d;
|
background: rgba(255, 152, 0, 0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.today.holiday {
|
.calendar-day.today.holiday {
|
||||||
background: linear-gradient(135deg, #7ee787 50%, #ff9800 50%);
|
background: linear-gradient(135deg, #7ee787 50%, rgba(255, 152, 0, 0.5) 50%);
|
||||||
|
color: #0d1117;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.today.holiday:hover {
|
.calendar-day.today.holiday:hover {
|
||||||
background: linear-gradient(135deg, #9eeea1 50%, #ffb74d 50%);
|
background: linear-gradient(135deg, #9eeea1 50%, rgba(255, 152, 0, 0.65) 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.timezone-row {
|
.timezone-row {
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,8 @@ function createAuthStore() {
|
||||||
// Use cookie-based auth - no localStorage tokens
|
// Use cookie-based auth - no localStorage tokens
|
||||||
try {
|
try {
|
||||||
const response = await fetch('/api/user/me', {
|
const response = await fetch('/api/user/me', {
|
||||||
credentials: 'include' // Send cookies
|
credentials: 'include', // Send cookies
|
||||||
|
cache: 'no-store' // Always fetch fresh data
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
|
||||||
|
|
@ -554,21 +554,21 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.holiday {
|
.calendar-day.holiday {
|
||||||
background: #ff9800;
|
background: rgba(255, 152, 0, 0.5);
|
||||||
color: #0d1117;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.holiday:not(.today):hover {
|
.calendar-day.holiday:not(.today):hover {
|
||||||
background: #ffb74d;
|
background: rgba(255, 152, 0, 0.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.today.holiday {
|
.calendar-day.today.holiday {
|
||||||
background: linear-gradient(135deg, #4caf50 50%, #ff9800 50%);
|
background: linear-gradient(135deg, #4caf50 50%, rgba(255, 152, 0, 0.5) 50%);
|
||||||
|
color: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-day.today.holiday:hover {
|
.calendar-day.today.holiday:hover {
|
||||||
background: linear-gradient(135deg, #66bb6a 50%, #ffb74d 50%);
|
background: linear-gradient(135deg, #66bb6a 50%, rgba(255, 152, 0, 0.65) 50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-content {
|
.tab-content {
|
||||||
|
|
|
||||||
|
|
@ -142,7 +142,8 @@
|
||||||
// Get fresh user data to ensure we have latest values
|
// Get fresh user data to ensure we have latest values
|
||||||
try {
|
try {
|
||||||
const response = await fetch('/api/user/me', {
|
const response = await fetch('/api/user/me', {
|
||||||
credentials: 'include'
|
credentials: 'include',
|
||||||
|
cache: 'no-store'
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
|
|
@ -184,6 +185,9 @@
|
||||||
graffitiUrl = $auth.user.graffitiUrl || '';
|
graffitiUrl = $auth.user.graffitiUrl || '';
|
||||||
userColor = $auth.user.colorCode || '#561D5E';
|
userColor = $auth.user.colorCode || '#561D5E';
|
||||||
newColor = userColor;
|
newColor = userColor;
|
||||||
|
screensaverEnabled = $auth.user.screensaverEnabled || false;
|
||||||
|
screensaverTimeoutMinutes = $auth.user.screensaverTimeoutMinutes || 5;
|
||||||
|
screensaverType = $auth.user.screensaverType || 'snowfall';
|
||||||
currentUser = $auth.user;
|
currentUser = $auth.user;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue