2022-04-18 03:05:20 +00:00
|
|
|
Punishments
|
|
|
|
PUNISHMENTS
|
|
|
|
<h2>Enter the UUID or username of the player you want to lookup</h2>
|
|
|
|
<div class="input-group mb-3 w-75 p-3">
|
2022-04-18 06:36:45 +00:00
|
|
|
<input id="uuid" type="text" autocomplete="off" autofocus class="form-control">
|
2022-04-18 03:05:20 +00:00
|
|
|
<button class="btn btn-outline-primary" type="submit"
|
|
|
|
onclick="redirect();">Submit
|
|
|
|
</button>
|
2022-04-14 04:49:12 +00:00
|
|
|
</div>
|
2022-04-17 21:39:08 +00:00
|
|
|
<script>
|
|
|
|
function redirect() {
|
|
|
|
const url = document.getElementById('uuid').value;
|
|
|
|
window.location = "/api/punishments/" + url
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script>
|
|
|
|
document.getElementById('uuid').addEventListener('keypress', function (event) {
|
|
|
|
if (event.keyCode === 13) {
|
|
|
|
redirect();
|
|
|
|
}
|
|
|
|
});
|
2022-04-18 03:05:20 +00:00
|
|
|
</script>
|