Add install/index.html

This commit is contained in:
2026-02-20 12:18:47 +01:00
parent 54add721a8
commit 4cb615c848

50
install/index.html Normal file
View File

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<title>Installatie Script</title>
<style>
body { font-family: sans-serif; padding: 50px; background: #f4f4f4; text-align: center; }
h1 { color: #333; }
.copy-box {
display: inline-block;
background: #eee;
padding: 15px;
border-radius: 5px;
position: relative;
font-family: monospace;
user-select: all;
}
.button {
display: inline-block;
margin-top: 10px;
padding: 8px 15px;
background: #0077cc;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.button:hover { background: #005fa3; }
</style>
</head>
<body>
<h1>Installatie Script</h1>
<p>Klik op de knop om de installatie command te kopiëren:</p>
<div class="copy-box" id="copyText">curl -s https://ben.de-roo.org/install/script.sh | bash</div>
<br>
<button class="button" onclick="copyCommand()">Kopieer</button>
<script>
function copyCommand() {
const text = document.getElementById('copyText').innerText;
navigator.clipboard.writeText(text).then(() => {
alert('Command gekopieerd naar clipboard!');
});
}
</script>
</body>
</html>