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");