<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Group Allocator</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> </head> <body onload="start();"> <h1>Allocator</h1> <div id="stage-name" class="stage d-none"> <form class="form" onsubmit="changeName(); return false;"> <input name="studentName" id="input-name" /> <input type="submit" /> </form> </div> <div id="stage-wait" class="stage d-none"> <h2>Waiting for session</h2> </div> <div id="stage-allocated" class="stage d-none"> <h2>Group <span id="team-id">X</span></h2> </div> <div class="card"> <button onclick="onStartAllocate()" />Start</button> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> <script src="js/client.js"></script> </body> </html>