Files
turf_saas/test_ideas.html
2026-04-25 17:18:43 +02:00

30 lines
1.3 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Test Ideas</title>
<style>
body { font-family: sans-serif; padding: 20px; background: #1a1a2e; color: #fff; }
pre { background: #16213e; padding: 20px; border-radius: 10px; overflow: auto; }
.home-btn{position:fixed;top:10px;left:10px;z-index:9999;background:linear-gradient(135deg,#00d9ff,#7b2cbf);color:#fff;border:none;border-radius:8px;padding:10px 15px;font-size:14px;cursor:pointer;text-decoration:none;display:flex;align-items:center;gap:8px;box-shadow:0 2px 10px rgba(0,217,255,0.3);transition:all 0.3s;font-family:-apple-system,BlinkMacSystemFont,sans-serif}.home-btn:hover{transform:translateY(-2px);box-shadow:0 4px 15px rgba(0,217,255,0.5)}
</style>
</head>
<body>
<a href="https://portal-kolifee.duckdns.org/" class="home-btn" title="Retour au portail"><span style="font-size:18px">🏠</span><span>Accueil</span></a>
<h1>Test API</h1>
<pre id="result">Loading...</pre>
<script>
fetch('/turf/api/ideas', {
})
.then(r => r.json())
.then(d => {
document.getElementById('result').textContent = JSON.stringify(d, null, 2);
})
.catch(e => {
document.getElementById('result').textContent = 'Error: ' + e;
});
</script>
</body>
</html>