From 7fe4beb5032b60fd4c2d1355dad1c7f95f5e2ade Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:11:45 +0530 Subject: [PATCH] minor bugs fixes (#5350) --- src/html/components/dashboard/_footer.astro | 4 +- src/html/pages/UI/general.astro | 2 +- src/html/pages/docs/color-mode.astro | 6 +- .../pages/docs/components/main-header.astro | 5 +- src/html/pages/docs/layout.astro | 2 +- src/html/pages/examples/lockscreen.astro | 6 +- src/html/pages/forms/general.astro | 2 +- src/html/pages/index.astro | 55 +++--- src/html/pages/index2.astro | 172 ++++++++++-------- src/html/pages/index3.astro | 24 +-- src/html/pages/tables/simple.astro | 40 ++-- src/html/pages/widgets/cards.astro | 6 +- src/html/pages/widgets/small-box.astro | 2 +- src/scss/_app-main.scss | 4 + src/scss/_app-sidebar.scss | 4 +- src/scss/_callouts.scss | 6 + src/scss/_cards.scss | 1 + src/scss/_direct-chat.scss | 5 + src/scss/_dropdown.scss | 1 + src/scss/_info-box.scss | 12 +- src/scss/_timeline.scss | 1 + src/scss/_variables.scss | 4 + src/scss/pages/_lockscreen.scss | 1 + src/scss/pages/_login_and_register.scss | 1 + 24 files changed, 211 insertions(+), 155 deletions(-) diff --git a/src/html/components/dashboard/_footer.astro b/src/html/components/dashboard/_footer.astro index 05012f4c7..dd3b028fd 100644 --- a/src/html/components/dashboard/_footer.astro +++ b/src/html/components/dashboard/_footer.astro @@ -9,8 +9,8 @@ const year = new Date().getFullYear(); - Copyright © 2014-{year} - AdminLTE.io. + Copyright © 2014-{year}  + AdminLTE.io. All rights reserved. diff --git a/src/html/pages/UI/general.astro b/src/html/pages/UI/general.astro index ffcbfd068..02a72922b 100644 --- a/src/html/pages/UI/general.astro +++ b/src/html/pages/UI/general.astro @@ -63,7 +63,7 @@ const pageTitle = "General UI Elements"; href="https://getbootstrap.com/docs/5.3/components/" target="_blank" rel="noopener noreferrer" - class="fw-bold" + class="callout-link" > Bootstrap Components diff --git a/src/html/pages/docs/color-mode.astro b/src/html/pages/docs/color-mode.astro index 038cbc59a..1fcaa3c6e 100644 --- a/src/html/pages/docs/color-mode.astro +++ b/src/html/pages/docs/color-mode.astro @@ -60,8 +60,10 @@ const page = "color-mode";
Tips

- First Visit - https://getbootstrap.com/docs/5.3/customize/color-modes/ + + Color modes in Bootstrap + allow you to switch between light and dark modes. You can do this using the data-bs-theme attribute. You can also create your own custom color modes. +

diff --git a/src/html/pages/docs/components/main-header.astro b/src/html/pages/docs/components/main-header.astro index 6124da005..99236fc0a 100644 --- a/src/html/pages/docs/components/main-header.astro +++ b/src/html/pages/docs/components/main-header.astro @@ -59,8 +59,9 @@ const distPath = path;
Reminder!

AdminLTE uses all of Bootstrap 5 components. It's a good start - to review the [Bootstrap - documentation](https://getbootstrap.com/) to get an idea of the + to review the + Bootstrap documentation + to get an idea of the various components that this documentation does not cover.

diff --git a/src/html/pages/docs/layout.astro b/src/html/pages/docs/layout.astro index ce0fd3b6a..7a4b7a117 100644 --- a/src/html/pages/docs/layout.astro +++ b/src/html/pages/docs/layout.astro @@ -55,7 +55,7 @@ const page = "layout";
Tips

- The + The starter page is a good place to start building your app if you’d like to start from scratch. diff --git a/src/html/pages/examples/lockscreen.astro b/src/html/pages/examples/lockscreen.astro index a2206842b..57b429767 100644 --- a/src/html/pages/examples/lockscreen.astro +++ b/src/html/pages/examples/lockscreen.astro @@ -49,11 +49,11 @@ const year = new Date().getFullYear(); Enter your password to retrieve your session

- Or sign in as a different user + Or sign in as a different user
diff --git a/src/html/pages/forms/general.astro b/src/html/pages/forms/general.astro index 6cd919158..eeb8b7858 100644 --- a/src/html/pages/forms/general.astro +++ b/src/html/pages/forms/general.astro @@ -62,7 +62,7 @@ const page = "general"; href="https://getbootstrap.com/docs/5.3/forms/overview/" target="_blank" rel="noopener noreferrer" - class="fw-bold" + class="callout-link" > Bootstrap Form diff --git a/src/html/pages/index.astro b/src/html/pages/index.astro index fc5bd3d32..b83e3534d 100644 --- a/src/html/pages/index.astro +++ b/src/html/pages/index.astro @@ -11,7 +11,7 @@ const mainPage = "dashboard"; const page = "index"; --- - + @@ -91,7 +91,10 @@ const page = "index"; d="M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z" > - + More info @@ -117,7 +120,10 @@ const page = "index"; d="M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75zM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 01-1.875-1.875V8.625zM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 013 19.875v-6.75z" > - + More info @@ -143,7 +149,10 @@ const page = "index"; d="M6.25 6.375a4.125 4.125 0 118.25 0 4.125 4.125 0 01-8.25 0zM3.25 19.125a7.125 7.125 0 0114.25 0v.003l-.001.119a.75.75 0 01-.363.63 13.067 13.067 0 01-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 01-.364-.63l-.001-.122zM19.75 7.5a.75.75 0 00-1.5 0v2.25H16a.75.75 0 000 1.5h2.25v2.25a.75.75 0 001.5 0v-2.25H22a.75.75 0 000-1.5h-2.25V7.5z" > - + More info @@ -176,7 +185,10 @@ const page = "index"; d="M12.75 3a.75.75 0 01.75-.75 8.25 8.25 0 018.25 8.25.75.75 0 01-.75.75h-7.5a.75.75 0 01-.75-.75V3z" > - + More info @@ -201,7 +213,7 @@ const page = "index"; -
+

Direct Chat

@@ -510,7 +522,7 @@ const page = "index";

Sales Value

@@ -532,15 +544,15 @@ const page = "index";
-
+
Visitors
-
+
Online
-
+
Sales
@@ -569,8 +581,7 @@ const page = "index"; + crossorigin="anonymous"> + crossorigin="anonymous"> @@ -661,13 +672,11 @@ const page = "index"; + crossorigin="anonymous"> + crossorigin="anonymous"> diff --git a/src/html/pages/index2.astro b/src/html/pages/index2.astro index 48b3541f9..74fc3f137 100644 --- a/src/html/pages/index2.astro +++ b/src/html/pages/index2.astro @@ -11,7 +11,7 @@ const mainPage = "dashboard"; const page = "index2"; --- - + @@ -309,7 +309,7 @@ const page = "index2";
-
+
@@ -329,7 +329,8 @@ const page = "index2"; data-lte-toggle="card-collapse" > - +
@@ -777,7 +779,7 @@ const page = "index2";
- +

Latest Orders

@@ -815,7 +817,7 @@ const page = "index2"; - OR9842 + OR9842 Call of Duty IV @@ -824,36 +826,24 @@ const page = "index2"; -
- 90,80,90,-70,61,-83,63 -
+
- OR1848 + OR1848 Samsung Smart TV Pending -
- 90,80,-90,70,61,-83,68 -
+
- OR7429 + OR7429 iPhone 6 Plus @@ -862,54 +852,36 @@ const page = "index2"; -
- 90,-80,90,70,-61,83,63 -
+
- OR7429 + OR7429 Samsung Smart TV Processing -
- 90,80,-90,70,-61,83,63 -
+
- OR1848 + OR1848 Samsung Smart TV Pending -
- 90,80,-90,70,61,-83,68 -
+
- OR7429 + OR7429 iPhone 6 Plus @@ -918,31 +890,19 @@ const page = "index2"; -
- 90,-80,90,70,-61,83,63 -
+
- OR9842 + OR9842 Call of Duty IV Shipped -
- 90,80,90,-70,61,-83,63 -
+
@@ -1063,7 +1023,7 @@ const page = "index2"; United States of America - 12% + 12% @@ -1233,8 +1193,7 @@ const page = "index2"; + crossorigin="anonymous">