Commit 2e5d6d4d authored by Jakob Moser's avatar Jakob Moser
Browse files

Add go-home-tooltip

Closes #66
parent d691390e
Loading
Loading
Loading
Loading
+1 −3
Changes for static/js/yalikejazz.mjs: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -46,9 +46,7 @@ function startNextExerciseOrShowCompletionTooltip() {
    startExercise(nextExercise)
    if (nextExercise === null) {
        setTimeout(()=>{
            if(currentTest.handInEnabled) {
                setTooltipShown("hand-in-tooltip", true)
            }
            setTooltipShown(currentTest.handInEnabled ? "hand-in-tooltip" : "go-home-tooltip", true)
        }, 500)
    }
}
+1 −0
Changes for static/test.html: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@

    <aside>
        <section class="start">
            <div class="tooltip" style="display: none" id="go-home-tooltip">Du hast alle Aufgaben erfolgreich gelöst! Klicke hier, um zur Startseite zurückzukehren.</div>
            <a href="/" title="Startseite"><i class="bi bi-house-door" aria-label="Startseite"></i></a>
            <i class="bi bi-question-circle clickable" data-action="welcome-again" title="Willkommensnachricht erneut zeigen" aria-label="Willkommensnachricht erneut zeigen"></i>
            <!-- <i class="open-zammad-chat bi bi-chat-dots clickable" title="Support aus der Gruppe Technik per Chat erhalten"></i>-->