mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 10:20:23 +01:00
Fixed network page server specific player charts drawing with wrong width
This commit is contained in:
parent
1c6375fde7
commit
057cb3b9b3
@ -364,7 +364,7 @@ public class HtmlStructure {
|
|||||||
"<div class=\"panel panel-default\">" +
|
"<div class=\"panel panel-default\">" +
|
||||||
"<div class=\"panel-heading\">" +
|
"<div class=\"panel-heading\">" +
|
||||||
"<div class=\"row\">" +
|
"<div class=\"row\">" +
|
||||||
"<div id=\"playerChart" + id + "\" style=\"width: 100%; height: 200px;\"></div>" +
|
"<div id=\"playerChart" + id + "\" style=\"width: 100%; height: 300px;\"></div>" +
|
||||||
"</div></div>" +
|
"</div></div>" +
|
||||||
"<div class=\"panel-body\">" +
|
"<div class=\"panel-body\">" +
|
||||||
"<div class=\"row\">" +
|
"<div class=\"row\">" +
|
||||||
@ -391,12 +391,12 @@ public class HtmlStructure {
|
|||||||
"color: '${playersGraphColor}'," +
|
"color: '${playersGraphColor}'," +
|
||||||
"tooltip: {" +
|
"tooltip: {" +
|
||||||
"valueDecimals: 0" +
|
"valueDecimals: 0" +
|
||||||
"}" +
|
"}};" +
|
||||||
"};" +
|
|
||||||
"</script>" +
|
"</script>" +
|
||||||
"<script>$(function () {" +
|
"<script>$(function () {setTimeout(" +
|
||||||
"playersChartNoNav(playerChart" + id + ", playersOnlineSeries" + id +
|
"function() {" +
|
||||||
");})</script>";
|
"playersChartNoNav(playerChart" + id + ", playersOnlineSeries" + id + ");}, 1000);" +
|
||||||
|
"})</script>";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String parseOfflineServerContainer(String oldContent) {
|
public static String parseOfflineServerContainer(String oldContent) {
|
||||||
|
@ -573,7 +573,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div id="healthGauge" class="dashboard-donut-chart"></div>
|
<div id="healthGauge" style="height: 300px; width: 100%;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user