From 7760eb6ff2b7f0e7f1278ffdc7ca83bd03b9cbfd Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Mon, 18 Apr 2022 17:02:08 -0500 Subject: [PATCH] Make the pages more consistent --- build.gradle.kts | 4 ++ src/main/resources/dev/test.html | 55 +++++++++++++++++++ src/main/resources/httpd/admins.html | 2 +- src/main/resources/httpd/indefbans.html | 2 +- src/main/resources/httpd/punishments.html | 3 +- .../resources/httpd/punishments_error.html | 2 +- .../resources/httpd/punishments_good.html | 2 +- .../resources/httpd/schematic_download.html | 5 +- .../resources/httpd/schematic_upload.html | 4 +- .../resources/httpd/schematic_upload_bad.html | 2 +- .../httpd/schematic_upload_good.html | 2 +- 11 files changed, 72 insertions(+), 11 deletions(-) create mode 100644 src/main/resources/dev/test.html diff --git a/build.gradle.kts b/build.gradle.kts index 7de688b..00cbd37 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -66,6 +66,10 @@ publishing { } tasks.getByName("jar") { + duplicatesStrategy = DuplicatesStrategy.EXCLUDE archiveBaseName.set("Plex-HTTPD") archiveVersion.set("") + from("src/main/resources") { + exclude("dev/**") + } } \ No newline at end of file diff --git a/src/main/resources/dev/test.html b/src/main/resources/dev/test.html new file mode 100644 index 0000000..7603cde --- /dev/null +++ b/src/main/resources/dev/test.html @@ -0,0 +1,55 @@ + + + + + + + ${TITLE} - Plex HTTPD + + + +
+
+ + \ No newline at end of file diff --git a/src/main/resources/httpd/admins.html b/src/main/resources/httpd/admins.html index 3dc3bed..8180e45 100644 --- a/src/main/resources/httpd/admins.html +++ b/src/main/resources/httpd/admins.html @@ -1,4 +1,4 @@ Admins ADMINS -

Plex HTTPD

+

Admins

\ No newline at end of file diff --git a/src/main/resources/httpd/indefbans.html b/src/main/resources/httpd/indefbans.html index efdc4e7..32439cc 100644 --- a/src/main/resources/httpd/indefbans.html +++ b/src/main/resources/httpd/indefbans.html @@ -1,4 +1,4 @@ Indefinite Bans INDEFBANS -

Plex HTTPD

+

Indefinite Bans

\ No newline at end of file diff --git a/src/main/resources/httpd/punishments.html b/src/main/resources/httpd/punishments.html index e67cf2f..105236c 100644 --- a/src/main/resources/httpd/punishments.html +++ b/src/main/resources/httpd/punishments.html @@ -1,6 +1,7 @@ Punishments PUNISHMENTS -

Enter the UUID or username of the player you want to lookup

+

Punishment Search

+