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

@@ -1342,6 +1342,64 @@ h3 {
color: var(--texte-secondaire);
}
.cadre-choix-item.cadre-selectionne {
border-color: var(--primaire);
}
/* Popup sélection cadre au moment de l'impression */
.popup-box-cadre {
max-width: 92vw;
width: 680px;
max-height: 90vh;
padding: 1.2rem;
overflow: hidden;
}
.grille-cadres-popup {
flex: 1;
min-height: 0;
min-width: 0;
flex-wrap: nowrap;
overflow: hidden;
gap: 0.6rem;
padding: 0.3rem;
}
.grille-cadres-popup .cadre-choix-item {
flex: 0 1 78px;
min-width: 0;
width: auto;
}
.grille-cadres-popup .cadre-choix-item .cadre-thumb-wrap {
width: 100%;
aspect-ratio: 2 / 3;
height: auto;
}
.grille-cadres-popup .cadre-choix-item .cadre-thumb-wrap img {
width: 250%;
height: 250%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.grille-cadres-popup .cadre-choix-aucun .cadre-choix-vide {
width: 100%;
aspect-ratio: 2 / 3;
height: auto;
font-size: 1.6rem;
}
.grille-cadres-popup .cadre-choix-item span {
font-size: 0.68rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.cadre-choix-aucun .cadre-choix-vide {
width: 140px;
height: 210px;