Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .env-example
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
# Prisma
DATABASE_URL=
IMAGE_SECRET=

# 42 Intra API — used to detect students who hold the "Transcender" title so
# they can be visually distinguished from common-core students on the map.
# Create an app at https://profile.intra.42.fr/oauth/applications (scope: public).
# If left blank the feature is silently disabled and every student renders
# with the common-core ring colour.
INTRA_42_UID=
INTRA_42_SECRET=
# Override only if Codam renames the title on Intra.
TRANSCENDER_TITLE_NAME=Transcender of %login
12 changes: 10 additions & 2 deletions public/css/clustermap.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
--danger-color: #fc3b3e;
--drag-icon-color: #007bff;
--active-color: rgba(48, 205, 49, 0.76);
--exam-active-color: rgba(206, 225, 36, 0.76);
--exam-active-color: rgba(252, 59, 62, 0.85);
--exam-inactive-color: #ff831e;
--popover-border: rgba(255, 255, 255, 0.2);
}
Expand All @@ -19,7 +19,7 @@
--foreground-color: #121212;
--accent-color: #d644d1;
--active-color: rgba(48, 205, 49, 0.76);
--exam-active-color: rgba(206, 225, 36, 0.76);
--exam-active-color: rgba(252, 59, 62, 0.85);
--popover-border: rgba(0,0,0,.2);
}
}
Expand Down Expand Up @@ -84,6 +84,14 @@ body {
transform: scale(1.5);
}

/* Transcenders (advanced-eligible students) get a gold ring.
Placed BEFORE .session-exam / .session-dead so those still override
for exam/dead sessions. */
.round-img.session-transcender {
border-color: var(--transcender-color, #d4af37);
box-shadow: 0 0 6px var(--transcender-color, #d4af37);
}

.round-img.session-exam {
border-color: var(--exam-active-color);
}
Expand Down
Loading