Add UI to punishments page

This commit is contained in:
2022-04-12 17:39:16 -05:00
parent 52a4264192
commit a229e8f470
3 changed files with 95 additions and 34 deletions

View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<body>
<div style="text-align: center;">
<h2 style="font-family:Helvetica">Enter the UUID or username of the player you want to check</h2>
<input id="test" type="text" autofocus>
<button type="button" onclick="redirect()">Submit</button>
<script>
function redirect() {
var url = document.getElementById('test').value
window.location = "punishments/" + url
}
</script>
</div>
</body>
</html>