Commit f178e4b0 authored by Jakob Moser's avatar Jakob Moser
Browse files

Try a different hand-in UI

parent 7a9de14c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -128,8 +128,7 @@ export function main() {
    }

    if(!currentTest.handInEnabled) {
        // TODO Ideally, this should not hide the entire options section, but just the hand-in button
        document.querySelector("section.options").style.display = "none"
        document.querySelector("#hand-in").style.display = "none"
    }

    initExerciseList()
+16 −1
Original line number Diff line number Diff line
@@ -39,7 +39,22 @@

        <section class="options">
            <h2>Optionen</h2>
            <button data-action="hand-in">Abgeben</button>
            <div class="card collapsible" id="hand-in">
                <div class="title"><h2>Pooltest abgeben</h2></div>
                <div class="content">
                    <p>
                        Sobald du alle Aufgaben gelöst hast, kannst du den Pooltest abgeben. Schicke dazu dein unten angezeigtes Hand-in-Token per Mail an die Gruppe Technik, am besten von deiner CL-Mail-Adresse aus.
                    </p>

                    <label for="hand-in-token">Hand-in-Token: </label>

                    <input type="text" value="e2EzbzV1MDQzODY5NHc4emp3NDA5ODdr33M5ODffNGN3MDg2YX0=" id="hand-in-token"/>

                    <p>
                        Falls du eine oder mehrere Aufgaben partout nicht gelöst bekommst, kannst du uns das Hand-in-Token auch schon schicken, wenn du nicht alle Aufgaben gelöst hast – wir schauen uns das dann an und entscheiden im Einzelfall. Sag dann am besten kurz dazu, woran es gescheitert ist :)
                    </p>
                </div>
            </div>
        </section>
    
    </div>