fix(i18n): translate antiwaste title in IT/DE + use quantity validation

- translations: antiwaste.title = 'Rapporto Anti-Spreco' (IT), 'Anti-Verschwendungs-Bericht' (DE)
- translations: add use.error_exceeds_stock in IT/EN/DE
- submitUse(): block submit if qty > available at selected location + shake animation
- adjustUseQty(): cap '+' button at max available at selected location (incl. sub-unit mode)
- style.css: add @keyframes inputShake + .input-shake class

Bump app.js cache buster to v=20260504c
This commit is contained in:
dadaloop82
2026-05-04 16:56:37 +00:00
parent 874ae90afa
commit bff22d43b4
6 changed files with 51 additions and 12 deletions
+8
View File
@@ -384,6 +384,14 @@ body {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes inputShake {
0%, 100% { transform: translateX(0); }
20% { transform: translateX(-6px); }
40% { transform: translateX(6px); }
60% { transform: translateX(-4px); }
80% { transform: translateX(4px); }
}
.input-shake { animation: inputShake 0.5s ease; border-color: var(--danger, #ef4444) !important; }
/* ===== PAGE HEADER ===== */
.page-header {