Update index page
Some checks failed
Build and Publish / build_and_publish (push) Failing after 9s

This commit is contained in:
Nexus 2024-07-02 01:00:12 +01:00
parent a320575fa9
commit 201a605057
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -47,6 +47,27 @@
}
)
</script>
<style>
body {
font-family: sans-serif;
}
form {
display: grid;
gap: 0.5em;
}
label {
font-weight: bold;
}
input, select {
width: 100%;
}
button {
width: 100%;
}
#result {
margin-top: 1em;
}
</style>
</head>
<body>
<h1>Create redirect</h1>
@ -60,7 +81,7 @@
<input type="url" id="destination" name="destination" required/><br/>
<label for="expires">Expires:</label>
<input type="date" id="expires" name="expires"/><br/>
<label for="max_visits">Max visits:</label>
<label for="max_visits">Max visits (default: unlimited):</label>
<input type="number" id="max_visits" name="max_visits"/><br/>
<label for="slug_length">Slug length:</label>
<input type="number" id="slug_length" name="slug_length" value="2048" min="2" max="16389"/><br/>