mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-16 21:21:32 +01:00
Hopefully fixed "row" display for "No Plugins" on some systems #413
This commit is contained in:
parent
2c2fc24643
commit
30a3b86bbe
@ -45,7 +45,7 @@ public enum Html {
|
||||
DIV_W_CLASS("<div class=\"${0}\">${1}</div>"),
|
||||
DIV_W_CLASS_STYLE("<div class=\"${0}\" style=\"${1}\">${2}</div>"),
|
||||
//
|
||||
ROW(DIV_W_CLASS.parse("row", "${0}")),
|
||||
ROW("<div class=\"row\">${0}</div>"),
|
||||
//
|
||||
TABLE_END("</tbody></table>"),
|
||||
TABLE_START_2("<table class=\"sortable table\"><thead><tr><th>${0}</th><th>${1}</th></tr></thead><tbody>"),
|
||||
|
@ -113,11 +113,10 @@ public class HtmlStructure {
|
||||
String icon = Html.FONT_AWESOME_ICON.parse("server");
|
||||
// TODO Move plain text to Locale
|
||||
String headerText = Html.HEADER_2.parse(icon + " " + serverName) + Html.PARAGRAPH.parse("No Compatible Plugins");
|
||||
return Html.DIV_W_CLASS.parse("plugins-server",
|
||||
Html.DIV_W_CLASS.parse("plugins-header",
|
||||
Html.ROW.parse(Html.DIV_W_CLASS.parse("box-header", headerText))
|
||||
)
|
||||
);
|
||||
String header = Html.DIV_W_CLASS.parse("box-header", headerText);
|
||||
String row = Html.ROW.parse(header);
|
||||
String pluginsHeader = Html.DIV_W_CLASS.parse("plugins-header", row);
|
||||
return Html.DIV_W_CLASS.parse("plugins-server", pluginsHeader);
|
||||
}
|
||||
|
||||
Map<String, List<String>> placeholders = getPlaceholdersInspect(plugins);
|
||||
|
Loading…
Reference in New Issue
Block a user