aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-08-10 14:27:09 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-08-10 14:27:09 +0200
commit7c585983d91a691401d626b55583f1917c7b1328 (patch)
tree27dd73c8e9dd9852d6208b9002bfb377d7aa9c93
parent42bf50acbabc364ffbebc91272d23527797e887c (diff)
downloadbycs-sol-7c585983d91a691401d626b55583f1917c7b1328.tar.gz
bycs-sol-7c585983d91a691401d626b55583f1917c7b1328.zip
cockpit: show the assigned coach
-rw-r--r--cockpit.css4
-rw-r--r--src/cockpit.js2
2 files changed, 6 insertions, 0 deletions
diff --git a/cockpit.css b/cockpit.css
index 61c4a06..6b6295a 100644
--- a/cockpit.css
+++ b/cockpit.css
@@ -138,6 +138,10 @@
flex-direction: column;
}
+#student-info-coach {
+ display: block;
+}
+
#student-observation {
margin-left: 2rem;
margin-bottom: 1rem;
diff --git a/src/cockpit.js b/src/cockpit.js
index 1fd4470..6b2ac35 100644
--- a/src/cockpit.js
+++ b/src/cockpit.js
@@ -125,6 +125,8 @@ function updateStudentInfo() {
const icon = document.getElementById("student-level-icon");
icon.src = student.graduation.getIcon();
+
+ document.getElementById("student-info-coach").innerHTML = student.graduation.coach;
}
document.getElementById("student-content").style.display = "block";