Add install/index.html
This commit is contained in:
50
install/index.html
Normal file
50
install/index.html
Normal 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>
|
||||||
Reference in New Issue
Block a user