Auto convert shortlinks to lower case

This commit is contained in:
SinTan1729 committed 2022-11-06 22:36:53 -06:00
1 parent 01930f6d62
commit 0740bc79aa
2 files changed
+7 -1

No files matched your search

+5 -1
View File
@@ -31,6 +31,10 @@
line-height: 25px;
overflow: scroll;
}
form input[name="shortUrl"] {
text-transform: lowercase;
}
</style>
</head>
@@ -47,7 +51,7 @@
<div class="pure-control-group">
<label for="shortUrl">Short URL (Optional)</label>
<input type="text" name="shortUrl" id="shortUrl" placeholder="Only a-z, 0-9, - and _ are allowed"
pattern="[a-z0-9_-]+" />
pattern="[A-Za-z0-9_-]+" />
</div>
<div class="pure-controls">
<button class="pure-button pure-button-primary">Submit</button>