From 57c0501fb4554a5f054941b0c92bd7f3f7258e6d Mon Sep 17 00:00:00 2001 From: putschgi Date: Mon, 3 Aug 2026 15:16:51 +0200 Subject: [PATCH] app/templates/index.html aktualisiert --- app/templates/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/templates/index.html b/app/templates/index.html index 3b83ce0..ea80984 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -25,6 +25,10 @@ async function loadRepos() { const res = await fetch("/api/repos"); const repos = await res.json(); const container = document.getElementById("repos"); + // Pruefe ob Repo schon existiert +const checkRepoStatus = (repo) => { + fetch(`/api/repos/${repo.id}/status`).then(r => r.json()) +} container.innerHTML = ""; repos.forEach(repo => { const card = document.createElement("div");