Implement ticket scanning logic and UI enhancements: check for scanned tickets, update styles, and add "Scan Again" button

This commit is contained in:
vista-man
2025-04-10 22:23:51 +02:00
parent 2cfa881747
commit 5072eb7792
4 changed files with 66 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ html {
}
#video {
display: block;
display: none; /* Initially hidden */
margin: 0 auto;
width: 100%;
max-width: 400px;
@@ -60,3 +60,7 @@ html {
border-radius: 10px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
#video:visible {
display: block; /* Show the video feed when it becomes visible */
}