APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-21 02:08:05 +01:00
1 parent d87b617a38
commit abf33b9929
8 files changed
+273 -182

No files matched your search

+29 -21
View File
@@ -3137,7 +3137,6 @@
<input id="packetFilterInput" type="text"
placeholder="Filtrer paquets ou domaine (ex: google.com, dns, icmp, 10.42.0.1...)"
data-i18n-placeholder="placeholder_filter_packets" autocomplete="off">
<button id="clearFilterBtn" class="clear-filter-btn" type="button" title="Effacer" data-i18n-title="btn_clear">✕</button>
</div>
<div class="filter-side-controls">
<label class="check" style="margin:0;white-space:nowrap;font-size:13px"><input id="autoScrollCheck"
@@ -6301,8 +6300,8 @@
<button type="button" id="btnEggGame_2048" class="game-switch-btn" onclick="switchEasterEggGame('2048')" style="padding:4px 8px;font-size:11px;border-radius:6px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px">🔢 <span>2048</span></button>
</div>
</div>
<div class="modal-body" style="padding:0;flex:1;background:var(--bg,#071326);display:flex;justify-content:center;align-items:center;min-height:300px">
<iframe id="easterEggGameIframe" src="" style="width:100%;height:540px;border:0;display:block;transition:height 0.25s cubic-bezier(0.4,0,0.2,1)" title="Easter Egg Game" allow="autoplay"></iframe>
<div class="modal-body" style="padding:0;flex:1;background:var(--bg,#071326);display:flex;justify-content:center;align-items:center;min-height:300px;overflow:hidden">
<iframe id="easterEggGameIframe" src="" scrolling="no" style="width:100%;height:490px;border:0;display:block;overflow:hidden;transition:height 0.25s cubic-bezier(0.4,0,0.2,1)" title="Easter Egg Game" allow="autoplay"></iframe>
</div>
</div>
</div>
@@ -9104,8 +9103,15 @@ ${vpnBadgeTopo}
function setQuotaPreset(val, unit) {
if ($('inputQuotaValue')) $('inputQuotaValue').value = val;
if ($('inputRateUp')) $('inputRateUp').value = upMbps;
if ($('selectRateUpUnit')) $('selectRateUpUnit').value = 'Mbps';
if ($('selectQuotaUnit')) $('selectQuotaUnit').value = unit;
updateQuotaPreview();
}
function setBwPreset(downMbps, upMbps) {
if ($('inputRateDown')) $('inputRateDown').value = downMbps;
if ($('selectRateDownUnit')) $('selectRateDownUnit').value = 'Mbps';
if ($('selectQuotaUnit')) $('selectQuotaUnit').value = unit;
updateQuotaPreview();
}
async function onQuotaPeriodChanged() {
@@ -10956,15 +10962,17 @@ ${vpnBadgeTopo}
document.querySelectorAll('.filter-chip').forEach(c => c.classList.remove('active'));
renderCaptureTable();
};
$('clearFilterBtn').onclick = function () {
$('packetFilterInput').value = '';
captureFilter = '';
capturePage = 1;
document.querySelectorAll('.filter-chip').forEach(c => c.classList.remove('active'));
const allChip = document.querySelector('.filter-chip[data-filter=""]');
if (allChip) allChip.classList.add('active');
renderCaptureTable();
};
if ($('clearFilterBtn')) {
$('clearFilterBtn').onclick = function () {
$('packetFilterInput').value = '';
captureFilter = '';
capturePage = 1;
document.querySelectorAll('.filter-chip').forEach(c => c.classList.remove('active'));
const allChip = document.querySelector('.filter-chip[data-filter=""]');
if (allChip) allChip.classList.add('active');
renderCaptureTable();
};
}
document.querySelectorAll('.filter-chip').forEach(chip => {
chip.onclick = function () {
document.querySelectorAll('.filter-chip').forEach(c => c.classList.remove('active'));
@@ -14470,13 +14478,13 @@ ${vpnBadgeTopo}
};
const GAME_DIMENSIONS = {
tetris: { maxWidth: '560px', height: '540px' },
dino: { maxWidth: '720px', height: '370px' },
zipline: { maxWidth: '550px', height: '520px' },
demineur: { maxWidth: '570px', height: '560px' },
pacman: { maxWidth: '550px', height: '540px' },
spaceinvaders: { maxWidth: '580px', height: '570px' },
'2048': { maxWidth: '550px', height: '530px' }
tetris: { maxWidth: '540px', height: '490px' },
dino: { maxWidth: '680px', height: '320px' },
zipline: { maxWidth: '540px', height: '475px' },
demineur: { maxWidth: '560px', height: '480px' },
pacman: { maxWidth: '540px', height: '480px' },
spaceinvaders: { maxWidth: '550px', height: '470px' },
'2048': { maxWidth: '540px', height: '440px' }
};
window.switchEasterEggGame = function (gameName) {