APmanageur Wi-Fi V1.0

This commit is contained in:
yoannmultigaming committed 2026-11-21 02:50:13 +01:00
1 parent 9a734b6a20
commit fe6594b964
8 files changed
+50 -50

No files matched your search

+9 -9
View File
@@ -6276,7 +6276,7 @@
<!-- 10. Modal Easter Egg Arcade Games (Tetris, Dino, Zipline) --> <!-- 10. Modal Easter Egg Arcade Games (Tetris, Dino, Zipline) -->
<div id="modalEasterEggGames" class="modal-overlay" style="z-index:99999"> <div id="modalEasterEggGames" class="modal-overlay" style="z-index:99999">
<div id="modalEasterEggCard" class="modal-card" style="max-width:570px;width:95%;max-height:94vh;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--blue);box-shadow:0 0 35px rgba(92,167,255,0.25);border-radius:14px;transition:max-width 0.25s cubic-bezier(0.4,0,0.2,1)"> <div id="modalEasterEggCard" class="modal-card" style="max-width:650px;width:95%;max-height:94vh;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--blue);box-shadow:0 0 35px rgba(92,167,255,0.25);border-radius:14px;transition:max-width 0.25s cubic-bezier(0.4,0,0.2,1)">
<div class="modal-header" style="padding:10px 16px;background:var(--panel2);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px"> <div class="modal-header" style="padding:10px 16px;background:var(--panel2);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px">
<!-- Ligne du haut : Titre à gauche, Croix de fermeture tout en haut à droite --> <!-- Ligne du haut : Titre à gauche, Croix de fermeture tout en haut à droite -->
<div style="display:flex;align-items:center;justify-content:space-between;width:100%"> <div style="display:flex;align-items:center;justify-content:space-between;width:100%">
@@ -6301,7 +6301,7 @@
</div> </div>
</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;overflow:hidden"> <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:515px;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> <iframe id="easterEggGameIframe" src="" scrolling="no" style="width:100%;height:560px;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> </div>
</div> </div>
@@ -14478,13 +14478,13 @@ ${vpnBadgeTopo}
}; };
const GAME_DIMENSIONS = { const GAME_DIMENSIONS = {
tetris: { maxWidth: '570px', height: '515px' }, tetris: { maxWidth: '650px', height: '560px' },
dino: { maxWidth: '710px', height: '340px' }, dino: { maxWidth: '800px', height: '390px' },
zipline: { maxWidth: '570px', height: '500px' }, zipline: { maxWidth: '650px', height: '560px' },
demineur: { maxWidth: '590px', height: '510px' }, demineur: { maxWidth: '680px', height: '560px' },
pacman: { maxWidth: '570px', height: '505px' }, pacman: { maxWidth: '650px', height: '580px' },
spaceinvaders: { maxWidth: '580px', height: '495px' }, spaceinvaders: { maxWidth: '660px', height: '560px' },
'2048': { maxWidth: '570px', height: '465px' } '2048': { maxWidth: '650px', height: '540px' }
}; };
window.switchEasterEggGame = function (gameName) { window.switchEasterEggGame = function (gameName) {
+15 -15
View File
@@ -123,13 +123,13 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 14px; border-radius: 14px;
padding: 8px 12px; padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
width: 100%; width: 100%;
max-width: 360px; max-width: 410px;
position: relative; position: relative;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -219,13 +219,13 @@
position: relative; position: relative;
background: var(--grid-bg); background: var(--grid-bg);
border-radius: 10px; border-radius: 10px;
width: 296px; width: 346px;
height: 296px; height: 346px;
padding: 8px; padding: 10px;
display: grid; display: grid;
grid-template-columns: repeat(4, 1fr); grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr);
gap: 8px; gap: 10px;
touch-action: none; touch-action: none;
box-shadow: inset 0 0 10px rgba(0,0,0,0.3); box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
} }
@@ -239,23 +239,23 @@
.tile-layer { .tile-layer {
position: absolute; position: absolute;
top: 8px; top: 10px;
left: 8px; left: 10px;
width: 280px; width: 326px;
height: 280px; height: 326px;
pointer-events: none; pointer-events: none;
} }
.tile { .tile {
position: absolute; position: absolute;
width: 64px; width: 74px;
height: 64px; height: 74px;
border-radius: 6px; border-radius: 6px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-weight: 800; font-weight: 800;
font-size: 24px; font-size: 26px;
transition: transform 0.11s ease-in-out, opacity 0.11s ease-in-out; transition: transform 0.11s ease-in-out, opacity 0.11s ease-in-out;
box-shadow: 0 2px 6px rgba(0,0,0,0.2); box-shadow: 0 2px 6px rgba(0,0,0,0.2);
} }
@@ -617,8 +617,8 @@
const layer = document.getElementById('tileLayer'); const layer = document.getElementById('tileLayer');
layer.innerHTML = ''; layer.innerHTML = '';
const CELL_SIZE = 64; const CELL_SIZE = 74;
const GAP = 8; const GAP = 10;
for (let r = 0; r < SIZE; r++) { for (let r = 0; r < SIZE; r++) {
for (let c = 0; c < SIZE; c++) { for (let c = 0; c < SIZE; c++) {
+4 -4
View File
@@ -151,12 +151,12 @@
background: var(--card-bg); background: var(--card-bg);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 14px; border-radius: 14px;
padding: 8px 12px; padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
max-width: 540px; max-width: 640px;
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -496,8 +496,8 @@
const gridEl = document.getElementById('mineGrid'); const gridEl = document.getElementById('mineGrid');
gridEl.innerHTML = ''; gridEl.innerHTML = '';
const cellSize = cols > 16 ? 15 : (cols > 9 ? 18 : 24); const cellSize = cols > 16 ? 18 : (cols > 9 ? 22 : 28);
const cellFont = cols > 16 ? '10px' : (cols > 9 ? '11px' : '13px'); const cellFont = cols > 16 ? '11px' : (cols > 9 ? '13px' : '16px');
document.documentElement.style.setProperty('--cell-size', cellSize + 'px'); document.documentElement.style.setProperty('--cell-size', cellSize + 'px');
document.documentElement.style.setProperty('--cell-font', cellFont); document.documentElement.style.setProperty('--cell-font', cellFont);
gridEl.style.gridTemplateColumns = `repeat(${cols}, ${cellSize}px)`; gridEl.style.gridTemplateColumns = `repeat(${cols}, ${cellSize}px)`;
+4 -4
View File
@@ -180,7 +180,7 @@
padding: 10px 14px; padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(92, 167, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(92, 167, 255, 0.12);
position: relative; position: relative;
max-width: 660px; max-width: 760px;
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
transition: all 0.3s ease; transition: all 0.3s ease;
@@ -218,7 +218,7 @@
canvas { canvas {
display: block; display: block;
width: 100%; width: 100%;
height: 200px; height: 230px;
cursor: pointer; cursor: pointer;
} }
.controls-hint { .controls-hint {
@@ -291,7 +291,7 @@
</div> </div>
<div class="canvas-wrap" id="canvasWrap"> <div class="canvas-wrap" id="canvasWrap">
<canvas id="dinoCanvas" width="640" height="200"></canvas> <canvas id="dinoCanvas" width="720" height="230"></canvas>
<div id="gameOverlay" class="overlay-message" style="display:none"> <div id="gameOverlay" class="overlay-message" style="display:none">
<h2 id="dinoGameOverText">G A M E &nbsp; O V E R</h2> <h2 id="dinoGameOverText">G A M E &nbsp; O V E R</h2>
<button id="dinoRestartBtn" class="restart-btn" onclick="resetGame()">🔄 REJOUER (Espace)</button> <button id="dinoRestartBtn" class="restart-btn" onclick="resetGame()">🔄 REJOUER (Espace)</button>
@@ -421,7 +421,7 @@
const overlay = document.getElementById('gameOverlay'); const overlay = document.getElementById('gameOverlay');
const canvasWrap = document.getElementById('canvasWrap'); const canvasWrap = document.getElementById('canvasWrap');
const GROUND_Y = 165; const GROUND_Y = 190;
let highScore = parseInt(localStorage.getItem('ap_dino_hi') || '0', 10); let highScore = parseInt(localStorage.getItem('ap_dino_hi') || '0', 10);
hiScoreEl.textContent = String(highScore).padStart(5, '0'); hiScoreEl.textContent = String(highScore).padStart(5, '0');
+3 -3
View File
@@ -142,7 +142,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
max-width: 480px; max-width: 500px;
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -268,7 +268,7 @@
</div> </div>
<div class="canvas-wrap"> <div class="canvas-wrap">
<canvas id="pacmanCanvas" width="342" height="378"></canvas> <canvas id="pacmanCanvas" width="418" height="462"></canvas>
<div id="gameOverlay" class="overlay" style="display:none"> <div id="gameOverlay" class="overlay" style="display:none">
<h2 id="overlayTitle">GAME OVER</h2> <h2 id="overlayTitle">GAME OVER</h2>
@@ -428,7 +428,7 @@
const canvas = document.getElementById('pacmanCanvas'); const canvas = document.getElementById('pacmanCanvas');
const ctx = canvas.getContext('2d'); const ctx = canvas.getContext('2d');
const TILE = 18; const TILE = 22;
const COLS = 19; const COLS = 19;
const ROWS = 21; const ROWS = 21;
+2 -2
View File
@@ -156,7 +156,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
max-width: 520px; max-width: 580px;
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
} }
@@ -285,7 +285,7 @@
</div> </div>
<div class="canvas-wrap"> <div class="canvas-wrap">
<canvas id="siCanvas" width="480" height="360"></canvas> <canvas id="siCanvas" width="540" height="420"></canvas>
<div id="gameOverlay" class="overlay" style="display:none"> <div id="gameOverlay" class="overlay" style="display:none">
<h2 id="overlayTitle">GAME OVER</h2> <h2 id="overlayTitle">GAME OVER</h2>
+7 -7
View File
@@ -145,8 +145,8 @@
.sidebar { .sidebar {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 6px; gap: 7px;
width: 146px; width: 154px;
} }
.panel-box { .panel-box {
background: var(--panel-box); background: var(--panel-box);
@@ -275,7 +275,7 @@
<div class="arcade-wrap"> <div class="arcade-wrap">
<div class="canvas-container"> <div class="canvas-container">
<canvas id="tetris" width="220" height="440"></canvas> <canvas id="tetris" width="240" height="480"></canvas>
<div id="gameOverlay" class="overlay-msg" style="display:none"> <div id="gameOverlay" class="overlay-msg" style="display:none">
<h2 id="overlayTitle">GAME OVER</h2> <h2 id="overlayTitle">GAME OVER</h2>
<div id="overlayScore" style="color:var(--blue);font-size:16px;font-weight:700">Score: 0</div> <div id="overlayScore" style="color:var(--blue);font-size:16px;font-weight:700">Score: 0</div>
@@ -284,9 +284,9 @@
</div> </div>
<div class="sidebar"> <div class="sidebar">
<div class="panel-box" style="padding:5px"> <div class="panel-box" style="padding:6px">
<h3 id="labelNext" style="font-size:9.5px;margin-bottom:3px">Prochaine</h3> <h3 id="labelNext" style="font-size:10px;margin-bottom:3px">Prochaine</h3>
<canvas id="next" class="preview-canvas" width="74" height="66"></canvas> <canvas id="next" class="preview-canvas" width="78" height="70"></canvas>
</div> </div>
<div class="panel-box stats-box"> <div class="panel-box stats-box">
<div class="stat-col"> <div class="stat-col">
@@ -612,7 +612,7 @@
const COLS = 10; const COLS = 10;
const ROWS = 20; const ROWS = 20;
const BLOCK = 22; const BLOCK = 24;
const COLORS = [ const COLORS = [
null, null,
+6 -6
View File
@@ -165,7 +165,7 @@
border-radius: 14px; border-radius: 14px;
padding: 10px 14px; padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(92,167,255,0.12); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(92,167,255,0.12);
max-width: 430px; max-width: 470px;
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -245,15 +245,15 @@
position: relative; position: relative;
} }
.cell { .cell {
width: 44px; width: 50px;
height: 44px; height: 50px;
background: var(--cell-bg); background: var(--cell-bg);
border: 1px solid var(--cell-border); border: 1px solid var(--cell-border);
border-radius: 7px; border-radius: 8px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 17px; font-size: 19px;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
@@ -275,7 +275,7 @@
.cell.number-node { .cell.number-node {
color: var(--node-color); color: var(--node-color);
font-family: monospace; font-family: monospace;
font-size: 18px; font-size: 20px;
text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
} }
.cell.number-node::after { .cell.number-node::after {