This commit is contained in:
parent
a320575fa9
commit
201a605057
1 changed files with 22 additions and 1 deletions
|
@ -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/>
|
||||
|
|
Loading…
Reference in a new issue