diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index 936c4312..56d2ec67 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/input.css b/osinaweb/input.css index cb4514ca..07af5fc2 100644 --- a/osinaweb/input.css +++ b/osinaweb/input.css @@ -143,4 +143,12 @@ .swiper-slide { width: 90% !important; } +} + + + +@media screen and (max-width: 650px) { + #notesContainer { + display: block; + } } \ No newline at end of file diff --git a/osinaweb/static/dist/output.css b/osinaweb/static/dist/output.css index 97a8ac35..b26caf01 100644 --- a/osinaweb/static/dist/output.css +++ b/osinaweb/static/dist/output.css @@ -806,8 +806,8 @@ video { margin-top: 1.5rem; } -.mt-\[-63px\] { - margin-top: -63px; +.mt-\[-50px\] { + margin-top: -50px; } .mt-\[5\%\] { @@ -951,18 +951,10 @@ video { width: 13px; } -.w-\[15\%\] { - width: 15%; -} - .w-\[150px\] { width: 150px; } -.w-\[16\.33\%\] { - width: 16.33%; -} - .w-\[160px\] { width: 160px; } @@ -975,10 +967,6 @@ video { width: 220px; } -.w-\[23\%\] { - width: 23%; -} - .w-\[25\%\] { width: 25%; } @@ -1003,10 +991,6 @@ video { width: 30px; } -.w-\[35\%\] { - width: 35%; -} - .w-\[35px\] { width: 35px; } @@ -1039,8 +1023,8 @@ video { width: 60px; } -.w-\[74\.5\%\] { - width: 74.5%; +.w-\[70px\] { + width: 70px; } .w-\[80\%\] { @@ -1233,10 +1217,6 @@ video { gap: 1.25rem; } -.gap-\[2\.5\%\] { - gap: 2.5%; -} - .gap-y-2 { row-gap: 0.5rem; } @@ -2264,6 +2244,12 @@ video { } } +@media screen and (max-width: 650px) { + #notesContainer { + display: block; + } +} + .hover\:bg-blue-500:hover { --tw-bg-opacity: 1; background-color: rgb(59 130 246 / var(--tw-bg-opacity)); @@ -2319,10 +2305,34 @@ video { } @media (min-width: 650px) { + .s\:mt-\[-63px\] { + margin-top: -63px; + } + + .s\:flex { + display: flex; + } + + .s\:hidden { + display: none; + } + + .s\:h-\[100px\] { + height: 100px; + } + .s\:h-\[50px\] { height: 50px; } + .s\:h-\[55px\] { + height: 55px; + } + + .s\:w-\[100px\] { + width: 100px; + } + .s\:w-\[300px\] { width: 300px; } @@ -2357,6 +2367,11 @@ video { padding-right: 2.25rem; } + .s\:text-3xl { + font-size: 1.875rem; + line-height: 2.25rem; + } + .s\:text-xl { font-size: 1.25rem; line-height: 1.75rem; @@ -2437,21 +2452,9 @@ video { position: fixed; } - .xlg1\:block { - display: block; - } - - .xlg1\:hidden { - display: none; - } - .xlg1\:w-\[300px\] { width: 300px; } - - .xlg1\:w-\[74\.5\%\] { - width: 74.5%; - } } @media (min-width: 1300px) { @@ -2481,6 +2484,10 @@ video { display: none; } + .xxlg1\:w-\[74\.5\%\] { + width: 74.5%; + } + .xxlg1\:w-\[75\%\] { width: 75%; } diff --git a/osinaweb/static/js/daily-reports.js b/osinaweb/static/js/daily-reports.js new file mode 100644 index 00000000..2617639a --- /dev/null +++ b/osinaweb/static/js/daily-reports.js @@ -0,0 +1,13 @@ +document.addEventListener("DOMContentLoaded", function () { + var showReportButtons = document.querySelectorAll(".showReportButton"); + + // Iterate through each button and attach the click event + showReportButtons.forEach(function (button) { + button.addEventListener("click", function () { + // Find the related reportContainer based on the button's parent + var reportContainer = button.closest(".daily-report").querySelector(".reportContainer"); + + reportContainer.classList.toggle("hidden"); + }); + }); +}); \ No newline at end of file diff --git a/osinaweb/templates/add_pages/add-business.html b/osinaweb/templates/add_pages/add-business.html index 6e48f5c3..b91fc51d 100644 --- a/osinaweb/templates/add_pages/add-business.html +++ b/osinaweb/templates/add_pages/add-business.html @@ -2,7 +2,7 @@ {%load static%} {% block content %} -
+

Add Business @@ -96,7 +96,7 @@
diff --git a/osinaweb/templates/add_pages/add-customer.html b/osinaweb/templates/add_pages/add-customer.html index f266ef92..91ee5fb9 100644 --- a/osinaweb/templates/add_pages/add-customer.html +++ b/osinaweb/templates/add_pages/add-customer.html @@ -2,7 +2,7 @@ {%load static%} {% block content %} -
+

Add Customer @@ -99,7 +99,7 @@

diff --git a/osinaweb/templates/add_pages/add-daily-report.html b/osinaweb/templates/add_pages/add-daily-report.html index 0ce654cd..40366deb 100644 --- a/osinaweb/templates/add_pages/add-daily-report.html +++ b/osinaweb/templates/add_pages/add-daily-report.html @@ -2,7 +2,7 @@ {%load static%} {% block content %} -
+

Add Daily Report @@ -18,7 +18,7 @@
+ class="w-fit py-1 px-3 bg-blue-500 rounded-md outline-none text-white border border-blue-500 text-base s:text-xl cursor-pointer hover:bg-white hover:text-blue-500">Add

diff --git a/osinaweb/templates/add_pages/add-staff.html b/osinaweb/templates/add_pages/add-staff.html index 54ff4d32..1e1b347d 100644 --- a/osinaweb/templates/add_pages/add-staff.html +++ b/osinaweb/templates/add_pages/add-staff.html @@ -3,7 +3,7 @@ {% block content %} -
+

@@ -17,7 +17,7 @@
{% csrf_token %}
-
+
@@ -128,7 +128,7 @@
@@ -136,6 +136,8 @@

+ + + +