Flash Canon configurable, choix de cadre a l'impression, fixes capture/reconnexion DSLR

- Flash integre Canon activable/desactivable depuis l'admin (configurer_flash)
- Popup de choix de cadre juste avant impression, layout sans defilement (flex nowrap + aspect-ratio)
- Capture : ignore camera_erreur pendant une capture en cours (laisse l'API trancher)
- surveiller_dslr : grace period preview augmentee a 2s, reapplique la config camera apres reconnexion
- start.sh simplifie (Chromium gere par kiosk-session.sh), remote debugging port 9222 active
This commit is contained in:
2026-06-21 21:59:36 +02:00
parent c7225cc9f6
commit fe0a559c85
10 changed files with 217 additions and 60 deletions

View File

@@ -7,7 +7,7 @@
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta name="google" content="notranslate">
<meta http-equiv="Content-Language" content="fr">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/style.css?v=2">
<link rel="stylesheet" href="/css/themes.css">
</head>
<body>
@@ -144,7 +144,6 @@
<span>QR Code</span>
</button>
</div>
<!-- Choix exemplaires impression -->
<div id="form-impression" class="form-impression cache">
<div class="exemplaires-choix">
<button class="btn-exemplaire" onclick="changerExemplaires(-1)">-</button>
@@ -379,6 +378,9 @@
<label>Compte a rebours (secondes)</label>
<input type="number" id="admin-car" min="1" max="10" value="3">
</div>
<div class="champ">
<label class="toggle"><input type="checkbox" id="tog-flash-integre" checked><span class="toggle-slider"></span> Flash intégré Canon (décocher = flash Off)</label>
</div>
<h3>Imprimante</h3>
<div class="champ">
@@ -672,6 +674,18 @@
</div>
</section>
<!-- Popup sélection cadre impression -->
<div id="popup-cadre-impression" class="popup-overlay cache">
<div class="popup-box popup-box-cadre">
<h3>Cadre d'impression</h3>
<div id="grille-cadres-impression" class="grille-cadres-choix grille-cadres-popup"></div>
<div class="popup-actions">
<button class="btn-action" onclick="confirmerCadreImpression()">Confirmer</button>
<button class="btn-secondaire" onclick="annulerCadreImpression()">Annuler</button>
</div>
</div>
</div>
<!-- Popup PIN photostation -->
<div id="popup-pin-photostation" class="popup-overlay cache">
<div class="popup-box popup-box-pave">
@@ -722,12 +736,12 @@
</div>
<script src="/js/websocket.js"></script>
<script src="/js/app.js"></script>
<script src="/js/camera.js"></script>
<script src="/js/effects.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/share.js"></script>
<script src="/js/admin.js"></script>
<script src="/js/websocket.js?v=3"></script>
<script src="/js/app.js?v=4"></script>
<script src="/js/camera.js?v=6"></script>
<script src="/js/effects.js?v=3"></script>
<script src="/js/gallery.js?v=3"></script>
<script src="/js/share.js?v=5"></script>
<script src="/js/admin.js?v=4"></script>
</body>
</html>