From 9a9776b43734d0f780ce9078cb9603fdd378da54 Mon Sep 17 00:00:00 2001 From: Cantuerk <21caog1bif@hft-stuttgart.de> Date: Tue, 31 Dec 2024 18:06:10 +0000 Subject: [PATCH] Update public/index.html, public/previewImages/placeholder.png, public/previewImages/exit.png, public/previewImages/robot.png --- public/index.html | 102 +++++++++++++++++---- public/previewImages/exit.png | Bin 0 -> 16634 bytes public/{ => previewImages}/placeholder.png | Bin public/previewImages/robot.png | Bin 0 -> 393961 bytes 4 files changed, 86 insertions(+), 16 deletions(-) create mode 100644 public/previewImages/exit.png rename public/{ => previewImages}/placeholder.png (100%) create mode 100644 public/previewImages/robot.png diff --git a/public/index.html b/public/index.html index 5111758..99d4d9a 100644 --- a/public/index.html +++ b/public/index.html @@ -46,7 +46,7 @@ width: 100%; background: rgba(0, 0, 0, 0.4); color: white; - display: flex; + display: none; justify-content: space-around; padding: 10px; z-index: 10; @@ -88,6 +88,55 @@ button:active { background-color: #387a39; } + + #confirmation-dialog { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + z-index: 20; + } + + .dialog-overlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.5); + } + + .dialog-box { + position: relative; + background: white; + padding: 20px; + border-radius: 8px; + text-align: center; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); + } + + .dialog-box button { + margin: 5px; + padding: 10px 20px; + font-size: 16px; + border: none; + border-radius: 5px; + cursor: pointer; + } + + .dialog-box button:first-child { + background-color: #e74c3c; + color: white; + } + + .dialog-box button:last-child { + background-color: #3498db; + color: white; + } @@ -96,14 +145,22 @@
+ -