From aea69fb70a1351ad2d64a9c9b89c24e9e9ab6a10 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Sat, 26 Jun 2021 23:47:29 +0530 Subject: [PATCH] split widgets html --- src/pages/widgets/cards.html | 131 +++++++++++++ .../{widgets.html => widgets/info-box.html} | 173 +----------------- src/pages/widgets/small-box.html | 112 ++++++++++++ src/partials/dashboard/_sidenav.html | 27 ++- 4 files changed, 276 insertions(+), 167 deletions(-) create mode 100644 src/pages/widgets/cards.html rename src/pages/{widgets.html => widgets/info-box.html} (68%) create mode 100644 src/pages/widgets/small-box.html diff --git a/src/pages/widgets/cards.html b/src/pages/widgets/cards.html new file mode 100644 index 000000000..d18b38a9d --- /dev/null +++ b/src/pages/widgets/cards.html @@ -0,0 +1,131 @@ + + + + + + @@include('./_head.html', { + "path": "../..", + "title": "AdminLTE 4 | Widgets - Cards" + }) + + +
+ @@include('./dashboard/_topbar.html', { + "path": "../.." + }) + + @@include('./dashboard/_sidenav.html', { + "mainPage": "widgets", + "page": "cards", + "path": "../.." + }) + +
+ @@include('./dashboard/_content-header.html', { + "header_name": "Widgets - Cards" + }) + +
+
+

Cards

+
Abilities
+
+
+
+
+

Expandable

+ +
+ +
+ +
+ +
+ The body of the card +
+ +
+ +
+ +
+
+
+

Collapsable

+ +
+ +
+ +
+ +
+ The body of the card +
+ +
+ +
+ +
+
+
+

Removable

+ +
+ +
+ +
+ +
+ The body of the card +
+ +
+ +
+ +
+
+
+

Maximizable

+ +
+ +
+ +
+ +
+ The body of the card +
+ +
+ +
+ +
+ +
+
+ +
+ + + @@include('./dashboard/_footer.html', { + "path": "../.." + }) +
+ + + @@include('./_scripts.html', { + "path": "../.." + }) + + diff --git a/src/pages/widgets.html b/src/pages/widgets/info-box.html similarity index 68% rename from src/pages/widgets.html rename to src/pages/widgets/info-box.html index 66e146bc8..ac2bc8474 100644 --- a/src/pages/widgets.html +++ b/src/pages/widgets/info-box.html @@ -4,26 +4,26 @@ @@include('./_head.html', { - "path": "..", - "title": "AdminLTE 4 | Widgets" + "path": "../..", + "title": "AdminLTE 4 | Widgets - Info Box" })
@@include('./dashboard/_topbar.html', { - "path": ".." + "path": "../.." }) @@include('./dashboard/_sidenav.html', { - "mainPage": "pages", - "page": "widgets", - "path": ".." + "mainPage": "widgets", + "page": "info-box", + "path": "../.." })
@@include('./dashboard/_content-header.html', { - "header_name": "Widgets" + "header_name": "Widgets - Info Box" })
@@ -332,161 +332,6 @@
- - - - -
Small Box
-
-
- -
-
-

150

- -

New Orders

-
-
- -
- More info -
-
- -
- -
-
-

53%

- -

Bounce Rate

-
-
- -
- More info -
-
- -
- -
-
-

44

- -

User Registrations

-
-
- -
- More info -
-
- -
- -
-
-

65

- -

Unique Visitors

-
-
- -
- More info -
-
- -
- - - -

Cards

-
Abilities
-
-
-
-
-

Expandable

- -
- -
- -
- -
- The body of the card -
- -
- -
- -
-
-
-

Collapsable

- -
- -
- -
- -
- The body of the card -
- -
- -
- -
-
-
-

Removable

- -
- -
- -
- -
- The body of the card -
- -
- -
- -
-
-
-

Maximizable

- -
- -
- -
- -
- The body of the card -
- -
- -
- -
-
@@ -494,13 +339,13 @@ @@include('./dashboard/_footer.html', { - "path": ".." + "path": "../.." }) @@include('./_scripts.html', { - "path": ".." + "path": "../.." }) diff --git a/src/pages/widgets/small-box.html b/src/pages/widgets/small-box.html new file mode 100644 index 000000000..d2268ea00 --- /dev/null +++ b/src/pages/widgets/small-box.html @@ -0,0 +1,112 @@ + + + + + + @@include('./_head.html', { + "path": "../..", + "title": "AdminLTE 4 | Widgets - Small Box" + }) + + + +
+ @@include('./dashboard/_topbar.html', { + "path": "../.." + }) + + @@include('./dashboard/_sidenav.html', { + "mainPage": "widgets", + "page": "small-box", + "path": "../.." + }) + +
+ @@include('./dashboard/_content-header.html', { + "header_name": "Widgets - Small Box" + }) + +
+
+ +
Small Box
+
+
+ +
+
+

150

+ +

New Orders

+
+
+ +
+ More info +
+
+ +
+ +
+
+

53%

+ +

Bounce Rate

+
+
+ +
+ More info +
+
+ +
+ +
+
+

44

+ +

User Registrations

+
+
+ +
+ More info +
+
+ +
+ +
+
+

65

+ +

Unique Visitors

+
+
+ +
+ More info +
+
+ +
+ +
+
+ +
+ + + @@include('./dashboard/_footer.html', { + "path": "../.." + }) +
+ + + @@include('./_scripts.html', { + "path": "../.." + }) + + diff --git a/src/partials/dashboard/_sidenav.html b/src/partials/dashboard/_sidenav.html index 73f06846b..e6ea91e1e 100644 --- a/src/partials/dashboard/_sidenav.html +++ b/src/partials/dashboard/_sidenav.html @@ -41,15 +41,36 @@ - +