From ff39f1e23147bce798d351dabf6708d4180f1379 Mon Sep 17 00:00:00 2001 From: Rifcki12 <168059971+Rifcki12@users.noreply.github.com> Date: Tue, 28 May 2024 21:46:50 +0700 Subject: [PATCH 1/8] Password for Show data --- test.html | 110 +++++++++++++++++++++++++++++------------------------- 1 file changed, 60 insertions(+), 50 deletions(-) diff --git a/test.html b/test.html index f8a9b68..a955102 100644 --- a/test.html +++ b/test.html @@ -44,7 +44,7 @@

- +
@@ -909,57 +909,67 @@

From 78a105c0c2a1bdfac642428fc99b4b700c067985 Mon Sep 17 00:00:00 2001 From: Rifcki12 <168059971+Rifcki12@users.noreply.github.com> Date: Sat, 1 Jun 2024 09:17:58 +0700 Subject: [PATCH 2/8] Update yearly.html --- html/yearly.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/html/yearly.html b/html/yearly.html index cf560a8..fb3659e 100644 --- a/html/yearly.html +++ b/html/yearly.html @@ -5,7 +5,6 @@ Document - @@ -306,5 +305,4 @@ }); }); }); - \ No newline at end of file From 03906fe1c92f270e2383ee1bf321a1e68c7ffba3 Mon Sep 17 00:00:00 2001 From: Rifcki12 <168059971+Rifcki12@users.noreply.github.com> Date: Sat, 1 Jun 2024 12:00:07 +0700 Subject: [PATCH 3/8] Modals --- html/css/style.css | 52 +++++++- html/yearly.html | 41 +----- testfitur.html | 302 ++++++++++++++++++++++++--------------------- 3 files changed, 218 insertions(+), 177 deletions(-) diff --git a/html/css/style.css b/html/css/style.css index 5397e51..03eaa7d 100644 --- a/html/css/style.css +++ b/html/css/style.css @@ -132,7 +132,7 @@ body{ width: 100%; height: auto; text-align: center; - padding: 10px 30px; + padding: 15px 30px; text-decoration: none; font-size: 12px; background-color: rgb(230, 230, 230); @@ -359,6 +359,56 @@ th { width: 100% !important; /* Ensure the table takes full width of the modal */ } + /* ----------------------------------Modal styles --------------------------------*/ + body.modal-open { + overflow: hidden; + } + .modal { + display: none; + position: fixed; + z-index: 1; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0,0,0,0.5); + } + .modal-dialog { + margin: 2% auto; + padding: 25px; + width: 95%; + background-color: white; + border-radius: 5px; + box-shadow: 0 5px 15px rgba(0,0,0,0.3); + } + .modal-header, .modal-footer { + display: flex; + justify-content: space-between; + align-items: center; + border-bottom: 1px solid #e5e5e5; + } + .modal-header { + border-bottom: none; + } + .modal-body { + padding: 5px; + } + .close { + font-size: 1.5rem; + cursor: pointer; + background: none; + border: none; + } + .btn-secondary { + padding: 10px 20px; + background-color: #6c757d; + color: white; + border: none; + cursor: pointer; + border-radius: 5px; + } + @media screen and (max-width: 768px) { /* Ketika lebar layar kurang dari atau sama dengan 768px */ .cards { diff --git a/html/yearly.html b/html/yearly.html index fb3659e..fa397e4 100644 --- a/html/yearly.html +++ b/html/yearly.html @@ -162,11 +162,11 @@

Top 5 Product Sold based on Quantity Sales

-