diff --git a/Plan/pom.xml b/Plan/pom.xml index d4db18509..ce1217d9f 100644 --- a/Plan/pom.xml +++ b/Plan/pom.xml @@ -87,7 +87,7 @@ com.djrapitops PlanPluginBridge - 4.0.5 + 4.1.0 compile diff --git a/Plan/src/main/java/com/djrapitops/plan/data/additional/InspectContainer.java b/Plan/src/main/java/com/djrapitops/plan/data/additional/InspectContainer.java index 7e5762a97..f117ae47b 100644 --- a/Plan/src/main/java/com/djrapitops/plan/data/additional/InspectContainer.java +++ b/Plan/src/main/java/com/djrapitops/plan/data/additional/InspectContainer.java @@ -49,11 +49,14 @@ public class InspectContainer { public final String parseHtml() { StringBuilder html = new StringBuilder(); + html.append("
"); for (Map.Entry entry : values.entrySet()) { html.append("

").append(entry.getKey()).append(": ").append(entry.getValue()).append("

"); } + html.append("
"); + for (Map.Entry entry : this.html.entrySet()) { html.append(entry.getValue()); } diff --git a/Plan/src/main/java/com/djrapitops/plan/data/additional/TableContainer.java b/Plan/src/main/java/com/djrapitops/plan/data/additional/TableContainer.java index 76fe55fef..7e8ece50a 100644 --- a/Plan/src/main/java/com/djrapitops/plan/data/additional/TableContainer.java +++ b/Plan/src/main/java/com/djrapitops/plan/data/additional/TableContainer.java @@ -37,7 +37,7 @@ public final class TableContainer { } public String parseHtml() { - return Html.TABLE_COLORED.parse(color != null ? color : "") + + return Html.TABLE.parse() + parseHeader() + parseBody() + ""; @@ -49,6 +49,7 @@ public final class TableContainer { addRow("No Data"); } + body.append(""); for (Serializable[] row : values) { int maxIndex = row.length - 1; body.append(""); @@ -63,6 +64,7 @@ public final class TableContainer { } body.append(""); } + body.append(""); return Html.TABLE_BODY.parse(body.toString()); } @@ -72,11 +74,11 @@ public final class TableContainer { } public String parseHeader() { - StringBuilder header = new StringBuilder(""); + StringBuilder header = new StringBuilder(""); for (String title : this.header) { header.append("").append(title).append(""); } - header.append(""); + header.append(""); return Html.TABLE_HEAD.parse(header.toString()); } } \ No newline at end of file diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/AnalysisPluginsTabContentCreator.java b/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/AnalysisPluginsTabContentCreator.java index b0e1460ca..913749b0a 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/AnalysisPluginsTabContentCreator.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/html/structure/AnalysisPluginsTabContentCreator.java @@ -111,8 +111,8 @@ public class AnalysisPluginsTabContentCreator { "
" + "

") .append(pluginData.parsePluginIcon()).append(" ").append(pluginData.getSourcePlugin()) - .append("

").append("
") + .append("
") .append(container.parseHtml()) - .append(""); + .append(""); } } \ No newline at end of file diff --git a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/Bridge.java b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/Bridge.java index dfa41bc01..599889f3d 100644 --- a/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/Bridge.java +++ b/PlanPluginBridge/src/main/java/com/djrapitops/pluginbridge/plan/Bridge.java @@ -9,7 +9,6 @@ import com.djrapitops.pluginbridge.plan.griefprevention.GriefPreventionHook; import com.djrapitops.pluginbridge.plan.jobs.JobsHook; import com.djrapitops.pluginbridge.plan.litebans.LiteBansHook; import com.djrapitops.pluginbridge.plan.mcmmo.McmmoHook; -import com.djrapitops.pluginbridge.plan.ontime.OnTimeHook; import com.djrapitops.pluginbridge.plan.superbvote.SuperbVoteHook; import com.djrapitops.pluginbridge.plan.towny.TownyHook; import com.djrapitops.pluginbridge.plan.vault.VaultHook; @@ -26,7 +25,6 @@ import main.java.com.djrapitops.plan.data.additional.HookHandler; * @see JobsHook * @see LiteBansHook * @see McmmoHook - * @see OnTimeHook * @see SuperbVoteHook * @see TownyHook * @see VaultHook @@ -49,7 +47,6 @@ public class Bridge { new JobsHook(h), new LiteBansHook(h), new McmmoHook(h), - new OnTimeHook(h), new SuperbVoteHook(h), new TownyHook(h), new VaultHook(h),