Added plugin dir parameter

- Added plugin dir parameter
- Fixed critical architectural bug that effects plugin UI in production mode
- Updated implementation of embed FS routing
- Minor dark theme update
- Fixed ztnc UI bug for msgbox and confirm box
This commit is contained in:
Toby Chui
2025-03-28 21:24:18 +08:00
parent 3e031605fc
commit 136989f2ea
18 changed files with 152 additions and 126 deletions

View File

@@ -139,8 +139,8 @@
<table class="ui unstackable very basic celled table">
<thead>
<tr>
<th>Country ISO Code</th>
<th>Unique Visitors</th>
<th style="padding: 0.4em;">Country ISO Code</th>
<th style="padding: 0.4em;">Unique Visitors</th>
</tr>
</thead>
<tbody id="countryCodetable">
@@ -155,8 +155,8 @@
<table class="ui unstackable very basic celled table">
<thead>
<tr>
<th>Proxy Type</th>
<th>Count</th>
<th style="padding: 0.4em;">Proxy Type</th>
<th style="padding: 0.4em;">Count</th>
</tr>
</thead>
<tbody id="forwardTypeTable">
@@ -714,6 +714,9 @@
function updateChart() {
//Do not remove these 3 lines, it will cause memory leak
if (typeof(networkStatisticChart) == "undefined"){
return;
}
networkStatisticChart.data.datasets[0].data = rxValues;
networkStatisticChart.data.datasets[1].data = txValues;
networkStatisticChart.data.labels = timestamps;