Fixed odd container appearing on inspect page #591

This commit is contained in:
Rsl1122 2018-05-31 09:28:15 +03:00
parent 44d1647420
commit 3bfd7a266d

View File

@ -44,7 +44,9 @@ public class InspectPagePluginsContent extends Response {
String actualServerName = serverName.equals("Plan") ? "Server " + ServerInfo.getServerID() : serverName;
if (containers.isEmpty()) {
return new InspectPagePluginsContent(playerUUID, "<li><a>" + actualServerName + " (No Data)</a></li>",
"<div class=\"tab\"><div class=\"row clearfix\">" + Html.CARD.parse("<p>No Data (" + actualServerName + ")</p>") + "</div></div>");
"<div class=\"tab\"><div class=\"row clearfix\">" +
"<div class=\"col-md-12\">" + Html.CARD.parse("<p>No Data (" + actualServerName + ")</p>") +
"</div></div></div>");
}
String nav = "<li><a class=\"nav-button\" href=\"javascript:void(0)\">" + actualServerName + "</a></li>";