Add user list to admin panel and validated/guest badges on posts
Admin panel: new "Käyttäjät" section showing all registered users with post count, likes count, email and join date. Posts: submissions by logged-in users show a green "Vahvistettu" badge, while guest submissions show a random code (e.g. #L01U51) for tracking. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
24
style.css
24
style.css
@@ -632,6 +632,30 @@ footer {
|
||||
/* =====================
|
||||
CARD AUTHOR + ACTIONS
|
||||
===================== */
|
||||
.validated-badge {
|
||||
display: inline-block;
|
||||
background: #d4edda;
|
||||
color: #2d6a3f;
|
||||
font-size: 0.72rem;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
padding: 1px 7px;
|
||||
border-radius: 10px;
|
||||
margin-left: 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.guest-badge {
|
||||
display: inline-block;
|
||||
background: #f0e8dc;
|
||||
color: #7a5c3e;
|
||||
font-size: 0.72rem;
|
||||
font-style: normal;
|
||||
font-family: monospace;
|
||||
padding: 1px 7px;
|
||||
border-radius: 10px;
|
||||
margin-left: 4px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.card-author {
|
||||
font-size: 0.8rem !important;
|
||||
color: var(--light-brown) !important;
|
||||
|
||||
Reference in New Issue
Block a user