From a82603dc3746374fd2d66b3704e757d60426ffe9 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Wed, 19 May 2021 09:21:36 +0530 Subject: [PATCH] added info-box --- src/index.html | 25 +--- src/index2.html | 107 +++++++++++++++ src/pages/forms/general.html | 81 +++++++++++ src/partials/dashboard/_content-header.html | 15 ++ src/partials/dashboard/_sidenav.html | 22 +-- src/scss/_info-box.scss | 145 ++++++++++++++++++++ src/scss/parts/_extra-components.scss | 1 + 7 files changed, 363 insertions(+), 33 deletions(-) create mode 100644 src/index2.html create mode 100644 src/pages/forms/general.html create mode 100644 src/partials/dashboard/_content-header.html create mode 100644 src/scss/_info-box.scss diff --git a/src/index.html b/src/index.html index 19c1ef2f3..8b10e5996 100644 --- a/src/index.html +++ b/src/index.html @@ -5,11 +5,10 @@ @@include('./_head.html', { "path": ".", - "title": "AdminLTE - Free Bootstrap 5 Admin Dashboard" + "title": "AdminLTE 4 | Dashboard" }) - + -
@@include('./dashboard/_topbar.html', { @@ -17,25 +16,15 @@ }) @@include('./dashboard/_sidenav.html', { + "mainPage": "dashboard", + "page": "index", "path": "." })
-
-
-
-
-
Dashboard
-
-
- -
-
-
-
+ @@include('./dashboard/_content-header.html', { + "header_name": "Dashboard" + })
diff --git a/src/index2.html b/src/index2.html new file mode 100644 index 000000000..8c8e52a9f --- /dev/null +++ b/src/index2.html @@ -0,0 +1,107 @@ + + + + + + @@include('./_head.html', { + "path": ".", + "title": "AdminLTE 4 | Dashboard 2" + }) + + +
+ @@include('./dashboard/_topbar.html', { + "path": "." + }) + + @@include('./dashboard/_sidenav.html', { + "mainPage": "dashboard", + "page": "index2", + "path": "." + }) + +
+ @@include('./dashboard/_content-header.html', { + "header_name": "Dashboard v2" + }) +
+
+ +
+
+
+ + +
+ CPU Traffic + + 10 + % + +
+ +
+ +
+ +
+
+ + +
+ Likes + 41,410 +
+ +
+ +
+ + + + + +
+
+ + +
+ Sales + 760 +
+ +
+ +
+ +
+
+ + +
+ New Members + 2,000 +
+ +
+ +
+ +
+ +
+
+
+ + + @@include('./dashboard/_footer.html', { + "path": "." + }) +
+ + + @@include('./_scripts.html', { + "path": "." + }) + + diff --git a/src/pages/forms/general.html b/src/pages/forms/general.html new file mode 100644 index 000000000..10e67a514 --- /dev/null +++ b/src/pages/forms/general.html @@ -0,0 +1,81 @@ + + + + + + @@include('./_head.html', { + "path": "../../", + "title": "AdminLTE 4 | Dashboard 2" + }) + + +
+ @@include('./dashboard/_topbar.html', { + "path": "../../" + }) + + @@include('./dashboard/_sidenav.html', { + "mainPage": "forms", + "page": "general", + "path": "../../" + }) + +
+ @@include('./dashboard/_content-header.html', { + "header_name": "General Form" + }) + +
+
+
+ +
+ +
+
Quick Example
+
+
+
+ + +
We'll never share your email with anyone else.
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+ + + @@include('./dashboard/_footer.html', { + "path": "../../" + }) +
+ + + @@include('./_scripts.html', { + "path": "../../" + }) + + diff --git a/src/partials/dashboard/_content-header.html b/src/partials/dashboard/_content-header.html new file mode 100644 index 000000000..40591c30c --- /dev/null +++ b/src/partials/dashboard/_content-header.html @@ -0,0 +1,15 @@ +
+
+
+
+
@@header_name
+
+
+ +
+
+
+
diff --git a/src/partials/dashboard/_sidenav.html b/src/partials/dashboard/_sidenav.html index c810ac4cb..2b77982b5 100644 --- a/src/partials/dashboard/_sidenav.html +++ b/src/partials/dashboard/_sidenav.html @@ -12,8 +12,8 @@