VibeCoding: Anmeldung für manche Services nötig
This commit is contained in:
@@ -5,7 +5,8 @@ const services = [
|
||||
{ id: "abc", name: "Control GamePad", url: "https://tccontrol.server.schooltech.ch/" },
|
||||
{ id: "xyz", name: "Guacamole", url: "https://rp5guac.server.schooltech.ch/" },
|
||||
{ id: "sim", name: "Simulation", url: "https://tcSimulation.server.schooltech.ch/" },
|
||||
{ id: "portainer", name: "Portainer", url: "https://rp5portainer.server.schooltech.ch/" }
|
||||
{ id: "video", name: "Video", url: "https://robotVideo.server.schooltech.ch/" },
|
||||
{ id: "homing", name: "Homing", url:"https://robotHoming.server.schooltech.ch/"}
|
||||
];
|
||||
|
||||
// DOM-Elemente
|
||||
@@ -104,6 +105,7 @@ loginSubmit.onclick = doLogin;
|
||||
function setupServiceButtons() {
|
||||
nav.innerHTML = "";
|
||||
services.forEach(svc => {
|
||||
console.log("Service " + svc.name + " wird als Button angefuegt");
|
||||
const btn = document.createElement("button");
|
||||
btn.textContent = svc.name;
|
||||
btn.onclick = async () => {
|
||||
|
||||
Reference in New Issue
Block a user