More stuff & install system

This commit is contained in:
Naiel
2026-01-26 13:53:21 +00:00
parent 7e55e2f971
commit 62929e7565
10 changed files with 517 additions and 11 deletions

View File

@@ -1,3 +1,16 @@
</main>
<script>
document.addEventListener("DOMContentLoaded", function() {
[].forEach.call(document.querySelectorAll('.dropimage'), function(img){
img.onchange = function(e){
var inputfile = this, reader = new FileReader();
reader.onloadend = function(){
inputfile.style['background-image'] = 'url('+reader.result+')';
}
reader.readAsDataURL(e.target.files[0]);
}
});
});
</script>
</body>
</html>