From 09a0b5bd95bea76537c7de3525093ecc5a0abd7c Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 19 Jul 2026 11:55:51 +0200 Subject: cockpit: add level icon to student info view --- cockpit/index.css | 18 ++++++++++++++++-- cockpit/index.html | 5 ++++- cockpit/js/cockpit.js | 9 ++++++--- cockpit/webpack.config.js | 8 ++++++++ 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/cockpit/index.css b/cockpit/index.css index a6435ad..5e020a6 100644 --- a/cockpit/index.css +++ b/cockpit/index.css @@ -93,11 +93,25 @@ display: flex; } +#student-info-icons { + width: 20%; + position: relative; +} + #student-info-icon { - flex: 0 1 20%; margin: 0.2rem; - max-width: 20%; clip-path: circle(); + width: 100%; +} + +#student-level-icon { + width: 30%; + position: absolute; + top: 70%; + left: 70%; + border: solid 1px; + border-radius: 50%; + background: white; } #student-info-name-container { diff --git a/cockpit/index.html b/cockpit/index.html index 520b1f3..0607967 100644 --- a/cockpit/index.html +++ b/cockpit/index.html @@ -30,7 +30,10 @@