Bunch of updates for temp users and logging securely.

This commit is contained in:
2025-08-19 12:09:19 -06:00
parent c220ef265a
commit d96d76d104
9 changed files with 170 additions and 71 deletions

View File

@@ -28,4 +28,30 @@ a.temp-restricted,
body.temp-user a[href="/shifts.html"],
body.temp-user .mobile-dropdown-item a[href="/shifts.html"] {
display: none !important;
}
/* Hide delete button for temp users - MOST AGGRESSIVE RULES */
body.temp-user #delete-location-btn,
body.temp-user .delete-location-btn,
body.temp-user .btn-danger[id*="delete"],
body.temp-user button[id*="delete"],
body.temp-user .form-actions .btn-danger,
body.temp-user .form-actions button[type="button"].btn-danger,
.temp-hidden,
[hidden] {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
position: absolute !important;
left: -9999px !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
}
/* Hide move location button for temp users */
body.temp-user .move-location-btn,
body.temp-user #move-location-btn {
display: none !important;
}