mess with design

This commit is contained in:
ayunami2000 2022-04-18 00:30:00 -04:00
parent f8bd688fa5
commit 1f91e9c684
4 changed files with 14 additions and 15 deletions

View File

@ -5,13 +5,7 @@ import dev.plex.config.ModuleConfig;
import dev.plex.module.PlexModule; import dev.plex.module.PlexModule;
import dev.plex.request.AbstractServlet; import dev.plex.request.AbstractServlet;
import dev.plex.request.SchematicUploadServlet; import dev.plex.request.SchematicUploadServlet;
import dev.plex.request.impl.AdminsEndpoint; import dev.plex.request.impl.*;
import dev.plex.request.impl.IndefBansEndpoint;
import dev.plex.request.impl.IndexEndpoint;
import dev.plex.request.impl.ListEndpoint;
import dev.plex.request.impl.PunishmentsEndpoint;
import dev.plex.request.impl.SchematicDownloadEndpoint;
import dev.plex.request.impl.SchematicUploadEndpoint;
import dev.plex.util.PlexLog; import dev.plex.util.PlexLog;
import java.io.File; import java.io.File;

View File

@ -2,7 +2,7 @@ Punishments
PUNISHMENTS PUNISHMENTS
<h2>Enter the UUID or username of the player you want to lookup</h2> <h2>Enter the UUID or username of the player you want to lookup</h2>
<div class="input-group mb-3 w-75 p-3"> <div class="input-group mb-3 w-75 p-3">
<input id="uuid" type="text" autocomplete="off" class="form-control"> <input id="uuid" type="text" autocomplete="off" class="form-control" placeholder="UUID or username...">
<button class="btn btn-outline-primary" type="submit" <button class="btn btn-outline-primary" type="submit"
onclick="redirect();">Submit onclick="redirect();">Submit
</button> </button>

View File

@ -1,10 +1,12 @@
Schematics Schematics
SCHEMATICS SCHEMATICS
<h2>Plex HTTPD</h2> <h2>Plex HTTPD</h2>
<div class="mb-3 col-6">
<label for="formFile" class="form-label">Please select a schematic file to upload.</label> <label for="formFile" class="form-label">Please select a schematic file to upload.</label>
<form class="input-group" enctype="multipart/form-data" method="post" action="/api/schematics/uploading"> <div class="mb-3 p-3">
<input class="form-control" type="file" name="file" id="formFile"> <form class="input-group justify-content-center" enctype="multipart/form-data" method="post" action="/api/schematics/uploading">
<label class="btn btn-primary">
Browse <input type="file" name="file" id="formFile" hidden>
</label>
<input type="submit" class="btn btn-outline-primary" value="Upload"> <input type="submit" class="btn btn-outline-primary" value="Upload">
</form> </form>
</div> </div>

View File

@ -2,9 +2,12 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" <link rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> href="https://bootswatch.com/5/lumen/bootstrap.min.css"
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-H04T9zWIvlvorcAbxsAHPAUgklS+NwdHqD+BVuHnYbizHH53HDHlMsVLRYqnAK49"
crossorigin="anonymous">
<script type="text/javascript"
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script> crossorigin="anonymous"></script>
<title>${TITLE} - Plex HTTPD</title> <title>${TITLE} - Plex HTTPD</title>