This commit is contained in:
Dario48true 2025-02-19 10:02:38 +01:00
parent 20b76c8c87
commit d69fea51b9
6 changed files with 62 additions and 43 deletions

View file

@ -3,42 +3,46 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>/home/Dario48/Documents/</title> <title>/home/Dario48/Documents/</title>
<link rel="stylesheet" href="/style.css"> <link rel="stylesheet" href="/style.css" />
<script src="/path.js" defer=""></script> <script src="/path.js" defer=""></script>
<script src="/disable_form.js" defer=""></script> <script src="/disable_form.js" defer=""></script>
</head> </head>
<body id="body"> <body id="body">
<div class="border"> <div class="border">
<div class="column"> <div class="column">
<div class="stretch row"> <div class="stretch row">
Dario48's website Dario48's website
<div style="aspect-ratio: 1 / 1"> <div style="aspect-ratio: 1 / 1">
<button <button
type="button" type="button"
onclick="document.getElementById('body').remove();" onclick="document.getElementById('body').remove();"
> >
X X
</button> </button>
</div> </div>
</div> </div>
<form> <form>
<input type="text" value="/home/Dario48/Documents/" class="stretch" /> <input
</form> type="text"
<div class="column folder"> value="/home/Dario48/Documents/"
<a href="firma_digitale-Dario_Spinnato_.html"> class="stretch path"
<img id="disable_enter"
src="/home/Dario48/Pictures/html.svg" />
style=" </form>
display: block; <nav class="row">
margin-left: auto; <div class="column folder">
margin-right: auto; <a href="firma_digitale-Dario_Spinnato_.html">
" <img
/> src="/home/Dario48/Pictures/html.svg"
<p style="text-align: center">firma_digitale-Dario_Spinnato_.html</p> style="display: block; margin-left: auto; margin-right: auto"
</a> />
</div> <p style="text-align: center">
</nav> firma_digitale-Dario_Spinnato_.html
</div> </p>
</div> </a>
</body> </div>
</nav>
</div>
</div>
</body>
</html> </html>

View file

@ -22,7 +22,12 @@
</div> </div>
</div> </div>
<form> <form>
<input type="text" value="/home/Dario48/Pictures/" class="stretch" /> <input
type="text"
value="/home/Dario48/Pictures/"
class="stretch path"
id="disable_enter"
/>
</form> </form>
<nav class="row"> <nav class="row">
<div class="column folder"> <div class="column folder">

View file

@ -22,7 +22,12 @@
</div> </div>
</div> </div>
<form> <form>
<input type="text" value="/home/Dario48/" class="stretch" /> <input
type="text"
value="/home/Dario48/"
class="stretch path"
id="disable_enter"
/>
</form> </form>
<nav class="row"> <nav class="row">
<div class="column folder"> <div class="column folder">

View file

@ -22,7 +22,12 @@
</div> </div>
</div> </div>
<form> <form>
<input type="text" value="/home/" class="stretch" /> <input
type="text"
value="/home/"
class="stretch path"
id="disable_enter"
/>
</form> </form>
<nav class="row"> <nav class="row">
<div class="column folder"> <div class="column folder">

View file

@ -25,8 +25,8 @@
<input <input
type="text" type="text"
value="/" value="/"
class="stretch" class="stretch path"
id="path disable_enter" id="disable_enter"
/> />
</form> </form>
<nav class="row"> <nav class="row">

View file

@ -1 +1 @@
document.getElementById("path").addEventListener("keydown", function(e) { if (e.key === "Enter") { window.location.href = window.location.origin + e.target.value } }) document.getElementsByClassName("path").addEventListener("keydown", function(e) { if (e.key === "Enter") { window.location.href = window.location.origin + e.target.value } })