From ef0442d19d825d9e2734a72edd0970f902654db1 Mon Sep 17 00:00:00 2001 From: JohannBulls Date: Sun, 19 Nov 2023 23:39:33 -0500 Subject: [PATCH 1/9] Nuevas vistas no implementadas --- src/main/resources/js/script.js | 14 - src/main/resources/static/css/style.css | 11 +- src/main/resources/static/index.html | 94 ++++-- src/main/resources/{ => static}/js/all.min.js | 0 .../{ => static}/js/bootstrap.bundle.min.js | 0 .../{ => static}/js/bootstrap.min.js | 0 .../resources/{ => static}/js/fontawesome.js | 0 src/main/resources/static/js/script.js | 41 +++ src/main/resources/templates/about-us.html | 115 +++++++ src/main/resources/templates/admin/admin.html | 299 +++++++++++++++++ src/main/resources/templates/contact-us.html | 127 +++++++ .../resources/templates/forgotPassword.html | 10 +- src/main/resources/templates/login.html | 6 +- src/main/resources/templates/register.html | 4 +- src/main/resources/templates/user/user.html | 310 ++++++++++++++++++ 15 files changed, 974 insertions(+), 57 deletions(-) delete mode 100644 src/main/resources/js/script.js rename src/main/resources/{ => static}/js/all.min.js (100%) rename src/main/resources/{ => static}/js/bootstrap.bundle.min.js (100%) rename src/main/resources/{ => static}/js/bootstrap.min.js (100%) rename src/main/resources/{ => static}/js/fontawesome.js (100%) create mode 100644 src/main/resources/static/js/script.js create mode 100644 src/main/resources/templates/about-us.html create mode 100644 src/main/resources/templates/admin/admin.html create mode 100644 src/main/resources/templates/contact-us.html create mode 100644 src/main/resources/templates/user/user.html diff --git a/src/main/resources/js/script.js b/src/main/resources/js/script.js deleted file mode 100644 index 4b9d818..0000000 --- a/src/main/resources/js/script.js +++ /dev/null @@ -1,14 +0,0 @@ -$(document).ready(function() { - $("#password-toggle, #confirm-password-toggle").click(function() { - var inputField = $(this).parent().find("input"); - var passwordIcon = $(this).find("i"); - - if (inputField.attr("type") === "password") { - inputField.attr("type", "text"); - passwordIcon.removeClass("fa-eye").addClass("fa-eye-slash"); - } else { - inputField.attr("type", "password"); - passwordIcon.removeClass("fa-eye-slash").addClass("fa-eye"); - } - }); -}); diff --git a/src/main/resources/static/css/style.css b/src/main/resources/static/css/style.css index 2e7808e..0cf9caf 100644 --- a/src/main/resources/static/css/style.css +++ b/src/main/resources/static/css/style.css @@ -101,4 +101,13 @@ body { .product-card img { max-width: 100%; - } \ No newline at end of file + } + +.liveAlertPlaceholder { + position: fixed; + top: 0; + right: 0; + z-index: 10000; /* Ajusta el z-index según sea necesario para estar por encima de todo */ + width: 300px; /* Ajusta el ancho según sea necesario */ + margin: 10px; /* Ajusta el margen según sea necesario */ + } \ No newline at end of file diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index f449478..8f7c275 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -8,8 +8,8 @@ Food Express - + @@ -107,7 +107,7 @@