mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-22 15:23:14 +01:00
parent
56c5ec95e5
commit
4bad953fba
@ -98,8 +98,14 @@ public class NetworkPageExporter extends FileExporter {
|
||||
|
||||
// Fixes refreshingJsonRequest ignoring old data of export
|
||||
String html = StringUtils.replaceEach(page.toHtml(),
|
||||
new String[]{"loadPlayersOnlineGraph, 'network-overview', true);", "· Performance"},
|
||||
new String[]{"loadPlayersOnlineGraph, 'network-overview');", "· Performance (Unavailable with Export)"});
|
||||
new String[]{"loadPlayersOnlineGraph, 'network-overview', true);",
|
||||
"· Performance",
|
||||
"<head>"
|
||||
},
|
||||
new String[]{"loadPlayersOnlineGraph, 'network-overview');",
|
||||
"· Performance (Unavailable with Export)",
|
||||
"<head><style>.refresh-element {display: none;}</style>"
|
||||
});
|
||||
|
||||
export(to, exportPaths.resolveExportPaths(html));
|
||||
}
|
||||
|
@ -96,8 +96,14 @@ public class PlayersPageExporter extends FileExporter {
|
||||
|
||||
// Fixes refreshingJsonRequest ignoring old data of export
|
||||
String html = StringUtils.replaceEach(page.toHtml(),
|
||||
new String[]{"}, 'playerlist', true);"},
|
||||
new String[]{"}, 'playerlist');"});
|
||||
new String[]{
|
||||
"}, 'playerlist', true);",
|
||||
"<head>"
|
||||
},
|
||||
new String[]{
|
||||
"}, 'playerlist');",
|
||||
"<head><style>.refresh-element {display: none;}</style>"
|
||||
});
|
||||
|
||||
export(to, exportPaths.resolveExportPaths(html));
|
||||
}
|
||||
|
@ -111,12 +111,14 @@ public class ServerPageExporter extends FileExporter {
|
||||
new String[]{
|
||||
"loadOptimizedPerformanceGraph, 'performance', true);",
|
||||
"loadServerCalendar, 'online-activity-overview', true);",
|
||||
"}, 'playerlist', true);"
|
||||
"}, 'playerlist', true);",
|
||||
"<head>"
|
||||
},
|
||||
new String[]{
|
||||
"loadOptimizedPerformanceGraph, 'performance');",
|
||||
"loadServerCalendar, 'online-activity-overview');",
|
||||
"}, 'playerlist');"
|
||||
"}, 'playerlist');",
|
||||
"<head><style>.refresh-element {display: none;}</style>"
|
||||
});
|
||||
|
||||
export(to, exportPaths.resolveExportPaths(html));
|
||||
|
Loading…
Reference in New Issue
Block a user