50 lines
1.1 KiB
HTML
50 lines
1.1 KiB
HTML
<!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> |