admin-lte 4.0.0-alpha2 → 4.0.0-alpha3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bundlewatch.config.json +6 -6
- package/.cache/.eslintcache +1 -1
- package/.cache/.stylelintcache +1 -1
- package/.gitpod.yml +1 -1
- package/.idea/AdminLTE.iml +4 -0
- package/.idea/codeStyles/Project.xml +24 -0
- package/.idea/dbnavigator.xml +421 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/jsLibraryMappings.xml +6 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/vcs.xml +6 -0
- package/README.md +3 -3
- package/dist/assets/img/AdminLTEFullLogo.png +0 -0
- package/dist/css/adminlte.css +695 -318
- package/dist/css/adminlte.css.map +1 -1
- package/dist/css/adminlte.min.css +1 -1
- package/dist/css/adminlte.min.css.map +1 -1
- package/dist/css/adminlte.rtl.css +693 -316
- package/dist/css/adminlte.rtl.css.map +1 -1
- package/dist/css/adminlte.rtl.min.css +1 -1
- package/dist/css/adminlte.rtl.min.css.map +1 -1
- package/dist/js/adminlte.js +43 -63
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +2 -2
- package/dist/js/adminlte.min.js.map +1 -1
- package/dist/pages/UI/timeline.html +389 -218
- package/dist/pages/docs/browser-support.html +345 -204
- package/dist/pages/docs/color-mode.html +560 -348
- package/dist/pages/docs/components/main-header.html +579 -368
- package/dist/pages/docs/components/main-sidebar.html +858 -0
- package/dist/pages/docs/faq.html +743 -0
- package/dist/pages/docs/how-to-contribute.html +783 -0
- package/dist/pages/docs/introduction.html +767 -0
- package/dist/pages/docs/javascript/treeview.html +762 -0
- package/dist/pages/docs/layout.html +372 -201
- package/dist/pages/{docs.html → docs/license.html} +347 -218
- package/dist/pages/examples/lockscreen.html +107 -0
- package/dist/pages/examples/login-v2.html +148 -0
- package/dist/pages/examples/login.html +45 -40
- package/dist/pages/examples/register-v2.html +155 -0
- package/dist/pages/examples/register.html +46 -41
- package/dist/pages/forms/general.html +664 -202
- package/dist/pages/index.html +514 -285
- package/dist/pages/index2.html +665 -341
- package/dist/pages/index3.html +415 -254
- package/dist/pages/layout/collapsed-sidebar.html +766 -0
- package/dist/pages/layout/fixed-complete.html +867 -0
- package/dist/pages/layout/fixed-sidebar.html +344 -201
- package/dist/pages/layout/layout-rtl.html +344 -201
- package/dist/pages/layout/logo-switch.html +433 -0
- package/dist/pages/layout/sidebar-mini.html +345 -202
- package/dist/pages/layout/unfixed-sidebar.html +343 -201
- package/dist/pages/tables/simple.html +437 -233
- package/dist/pages/widgets/cards.html +389 -244
- package/dist/pages/widgets/info-box.html +398 -215
- package/dist/pages/widgets/small-box.html +349 -198
- package/index.html +6 -10
- package/package.json +27 -24
- package/src/assets/img/AdminLTEFullLogo.png +0 -0
- package/src/config/astro.config.mjs +3 -1
- package/src/html/.prettierrc.js +11 -0
- package/src/html/components/_head.astro +42 -26
- package/src/html/components/_scripts.astro +38 -27
- package/src/html/components/dashboard/_footer.astro +14 -8
- package/src/html/components/dashboard/_sidenav.astro +343 -113
- package/src/html/components/dashboard/_topbar.astro +90 -49
- package/src/html/components/docs/{browser-support/index.md → browser-support.mdx} +2 -1
- package/src/html/components/docs/color-mode.mdx +169 -0
- package/src/html/components/docs/components/{main-header-1.md → main-header.mdx} +60 -21
- package/src/html/components/docs/components/main-sidebar.mdx +129 -0
- package/src/html/components/docs/faq.mdx +11 -0
- package/src/html/components/docs/how-to-contribute.mdx +34 -0
- package/src/html/components/docs/{introduction/index.md → introduction.mdx} +27 -2
- package/src/html/components/docs/license.mdx +9 -0
- package/src/html/components/javascript/treeview.mdx +39 -0
- package/src/html/pages/UI/timeline.astro +111 -48
- package/src/html/pages/docs/browser-support.astro +24 -11
- package/src/html/pages/docs/color-mode.astro +89 -42
- package/src/html/pages/docs/components/main-header.astro +133 -46
- package/src/html/pages/docs/components/main-sidebar.astro +71 -0
- package/src/html/pages/docs/faq.astro +71 -0
- package/src/html/pages/docs/how-to-contribute.astro +71 -0
- package/src/html/pages/docs/{index.astro → introduction.astro} +24 -11
- package/src/html/pages/docs/javascript/treeview.astro +71 -0
- package/src/html/pages/docs/layout.astro +62 -19
- package/src/html/pages/docs/license.astro +71 -0
- package/src/html/pages/examples/lockscreen.astro +63 -0
- package/src/html/pages/examples/login-v2.astro +109 -0
- package/src/html/pages/examples/login.astro +34 -16
- package/src/html/pages/examples/register-v2.astro +116 -0
- package/src/html/pages/examples/register.astro +36 -18
- package/src/html/pages/forms/general.astro +567 -36
- package/src/html/pages/index.astro +389 -152
- package/src/html/pages/index2.astro +682 -250
- package/src/html/pages/index3.astro +290 -189
- package/src/html/pages/layout/collapsed-sidebar.astro +110 -0
- package/src/html/pages/layout/fixed-complete.astro +209 -0
- package/src/html/pages/layout/fixed-sidebar.astro +52 -27
- package/src/html/pages/layout/layout-rtl.astro +53 -28
- package/src/html/pages/layout/logo-switch.astro +212 -0
- package/src/html/pages/layout/sidebar-mini.astro +53 -28
- package/src/html/pages/layout/unfixed-sidebar.astro +51 -27
- package/src/html/pages/tables/simple.astro +206 -66
- package/src/html/pages/widgets/cards.astro +134 -69
- package/src/html/pages/widgets/info-box.astro +96 -41
- package/src/html/pages/widgets/small-box.astro +93 -32
- package/src/scss/_app-content.scss +52 -0
- package/src/scss/_app-footer.scss +1 -1
- package/src/scss/_app-main.scss +2 -5
- package/src/scss/_app-sidebar.scss +244 -70
- package/src/scss/_bootstrap-variables.scss +4 -4
- package/src/scss/_cards.scss +31 -7
- package/src/scss/_compact-mode.scss +79 -0
- package/src/scss/_small-box.scss +0 -3
- package/src/scss/_variables.scss +21 -4
- package/src/scss/mixins/_animations.scss +0 -5
- package/src/scss/pages/_lockscreen.scss +74 -0
- package/src/scss/pages/_login_and_register.scss +0 -3
- package/src/scss/parts/_core.scss +2 -0
- package/src/scss/parts/_pages.scss +1 -0
- package/src/ts/card-widget.ts +17 -50
- package/src/ts/direct-chat.ts +2 -2
- package/src/ts/layout.ts +2 -2
- package/src/ts/push-menu.ts +3 -20
- package/src/ts/treeview.ts +14 -8
- package/src/ts/util/index.ts +14 -12
- package/src/utils/index.js +20 -3
- package/src/html/components/docs/color-mode/navbar-html.md +0 -80
- package/src/html/components/docs/color-mode/toggle-script.md +0 -48
|
@@ -4,27 +4,34 @@ import Footer from "@components/dashboard/_footer.astro";
|
|
|
4
4
|
import Topbar from "@components/dashboard/_topbar.astro";
|
|
5
5
|
import Sidenav from "@components/dashboard/_sidenav.astro";
|
|
6
6
|
import Scripts from "@components/_scripts.astro";
|
|
7
|
-
import
|
|
8
|
-
|
|
7
|
+
import ColorMode from "@components/docs/color-mode.mdx";
|
|
8
|
+
|
|
9
9
|
const title = "Color Mode | AdminLTE 4";
|
|
10
|
-
const path =
|
|
10
|
+
const path = "../../../dist";
|
|
11
11
|
const mainPage = "docs";
|
|
12
12
|
const page = "color-mode";
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
<!DOCTYPE html>
|
|
16
16
|
<html lang="en">
|
|
17
|
+
<!--begin::Head-->
|
|
17
18
|
<head>
|
|
18
19
|
<Head title={title} path={path} />
|
|
19
20
|
</head>
|
|
21
|
+
<!--end::Head-->
|
|
22
|
+
<!--begin::Body-->
|
|
20
23
|
<body class="layout-fixed sidebar-expand-lg bg-body-tertiary">
|
|
24
|
+
<!--begin::App Wrapper-->
|
|
21
25
|
<div class="app-wrapper">
|
|
22
26
|
<Topbar path={path} />
|
|
23
27
|
<Sidenav path={path} mainPage={mainPage} page={page} />
|
|
24
|
-
<!-- Main
|
|
28
|
+
<!--begin::App Main-->
|
|
25
29
|
<main class="app-main">
|
|
30
|
+
<!--begin::App Content Header-->
|
|
26
31
|
<div class="app-content-header">
|
|
32
|
+
<!--begin::Container-->
|
|
27
33
|
<div class="container-fluid">
|
|
34
|
+
<!--begin::Row-->
|
|
28
35
|
<div class="row">
|
|
29
36
|
<div class="col-sm-6">
|
|
30
37
|
<h3 class="mb-0">Color Mode Toggle</h3>
|
|
@@ -33,30 +40,45 @@ const page = "color-mode";
|
|
|
33
40
|
<ol class="breadcrumb float-sm-end">
|
|
34
41
|
<li class="breadcrumb-item"><a href="#">Docs</a></li>
|
|
35
42
|
<li class="breadcrumb-item active" aria-current="page">
|
|
36
|
-
|
|
43
|
+
Color Mode
|
|
37
44
|
</li>
|
|
38
45
|
</ol>
|
|
39
46
|
</div>
|
|
40
47
|
</div>
|
|
48
|
+
<!--end::Row-->
|
|
41
49
|
</div>
|
|
50
|
+
<!--end::Container-->
|
|
42
51
|
</div>
|
|
43
|
-
<!--
|
|
52
|
+
<!--end::App Content Header-->
|
|
53
|
+
<!--begin::App Content-->
|
|
44
54
|
<div class="app-content">
|
|
55
|
+
<!--begin::Container-->
|
|
45
56
|
<div class="container-fluid">
|
|
57
|
+
<!--begin::Row-->
|
|
46
58
|
<div class="row g-4">
|
|
59
|
+
<div class="col-12">
|
|
60
|
+
<div class="callout callout-info">
|
|
61
|
+
<h5 class="fw-bold">Tips</h5>
|
|
62
|
+
<p>
|
|
63
|
+
First Visit
|
|
64
|
+
https://getbootstrap.com/docs/5.3/customize/color-modes/
|
|
65
|
+
</p>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
47
68
|
<!-- Start column -->
|
|
48
69
|
<div class="col-12">
|
|
49
|
-
<!--
|
|
70
|
+
<!--begin::Header-->
|
|
50
71
|
<nav class="navbar navbar-expand bg-body">
|
|
72
|
+
<!--begin::Container-->
|
|
51
73
|
<div class="container-fluid">
|
|
52
|
-
<!--
|
|
74
|
+
<!--begin::Start Navbar links-->
|
|
53
75
|
<ul class="navbar-nav">
|
|
54
76
|
<li class="nav-item">
|
|
55
77
|
<a
|
|
56
78
|
class="nav-link"
|
|
57
79
|
data-lte-toggle="sidebar"
|
|
58
80
|
href="#"
|
|
59
|
-
role="button"><i class="
|
|
81
|
+
role="button"><i class="bi bi-list"></i></a
|
|
60
82
|
>
|
|
61
83
|
</li>
|
|
62
84
|
<li class="nav-item d-none d-md-block">
|
|
@@ -66,6 +88,8 @@ const page = "color-mode";
|
|
|
66
88
|
<a href="#" class="nav-link">Contact</a>
|
|
67
89
|
</li>
|
|
68
90
|
</ul>
|
|
91
|
+
<!--end::Start Navbar links-->
|
|
92
|
+
<!--begin::End Navbar links-->
|
|
69
93
|
<ul class="navbar-nav ms-auto">
|
|
70
94
|
<li class="nav-item dropdown">
|
|
71
95
|
<button
|
|
@@ -79,10 +103,13 @@ const page = "color-mode";
|
|
|
79
103
|
<span class="theme-icon-active">
|
|
80
104
|
<i class="my-1"></i>
|
|
81
105
|
</span>
|
|
106
|
+
<span class="d-lg-none ms-2" id="bd-theme-text"
|
|
107
|
+
>Toggle theme</span
|
|
108
|
+
>
|
|
82
109
|
</button>
|
|
83
110
|
<ul
|
|
84
111
|
class="dropdown-menu dropdown-menu-end"
|
|
85
|
-
aria-labelledby="bd-theme"
|
|
112
|
+
aria-labelledby="bd-theme-text"
|
|
86
113
|
style="--bs-dropdown-min-width: 8rem;"
|
|
87
114
|
>
|
|
88
115
|
<li>
|
|
@@ -90,10 +117,11 @@ const page = "color-mode";
|
|
|
90
117
|
type="button"
|
|
91
118
|
class="dropdown-item d-flex align-items-center active"
|
|
92
119
|
data-bs-theme-value="light"
|
|
120
|
+
aria-pressed="false"
|
|
93
121
|
>
|
|
94
|
-
<i class="
|
|
122
|
+
<i class="bi bi-sun-fill me-2"></i>
|
|
95
123
|
Light
|
|
96
|
-
<i class="
|
|
124
|
+
<i class="bi bi-check-lg ms-auto d-none"></i>
|
|
97
125
|
</button>
|
|
98
126
|
</li>
|
|
99
127
|
<li>
|
|
@@ -101,10 +129,11 @@ const page = "color-mode";
|
|
|
101
129
|
type="button"
|
|
102
130
|
class="dropdown-item d-flex align-items-center"
|
|
103
131
|
data-bs-theme-value="dark"
|
|
132
|
+
aria-pressed="false"
|
|
104
133
|
>
|
|
105
|
-
<i class="
|
|
134
|
+
<i class="bi bi-moon-fill me-2"></i>
|
|
106
135
|
Dark
|
|
107
|
-
<i class="
|
|
136
|
+
<i class="bi bi-check-lg ms-auto d-none"></i>
|
|
108
137
|
</button>
|
|
109
138
|
</li>
|
|
110
139
|
<li>
|
|
@@ -112,36 +141,38 @@ const page = "color-mode";
|
|
|
112
141
|
type="button"
|
|
113
142
|
class="dropdown-item d-flex align-items-center"
|
|
114
143
|
data-bs-theme-value="auto"
|
|
144
|
+
aria-pressed="true"
|
|
115
145
|
>
|
|
116
|
-
<i class="
|
|
146
|
+
<i class="bi bi-circle-fill-half-stroke me-2"
|
|
117
147
|
></i>
|
|
118
148
|
Auto
|
|
119
|
-
<i class="
|
|
149
|
+
<i class="bi bi-check-lg ms-auto d-none"></i>
|
|
120
150
|
</button>
|
|
121
151
|
</li>
|
|
122
152
|
</ul>
|
|
123
153
|
</li>
|
|
124
154
|
</ul>
|
|
155
|
+
<!--end::End Navbar links-->
|
|
125
156
|
</div>
|
|
157
|
+
<!--end::Container-->
|
|
126
158
|
</nav>
|
|
159
|
+
<!--end::Header-->
|
|
127
160
|
</div>
|
|
128
161
|
<!-- Start column -->
|
|
129
162
|
<div class="col-12">
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
<ToggleScript />
|
|
163
|
+
<ColorMode />
|
|
133
164
|
</div>
|
|
134
165
|
</div>
|
|
135
|
-
<!--
|
|
136
|
-
</div
|
|
166
|
+
<!--end::Row-->
|
|
167
|
+
</div>
|
|
168
|
+
<!--end::Container-->
|
|
137
169
|
</div>
|
|
138
|
-
<!--
|
|
170
|
+
<!--end::App Content-->
|
|
139
171
|
</main>
|
|
140
|
-
<!--
|
|
141
|
-
|
|
172
|
+
<!--end::App Main-->
|
|
142
173
|
<Footer />
|
|
143
174
|
</div>
|
|
144
|
-
<!--
|
|
175
|
+
<!--end::App Wrapper-->
|
|
145
176
|
|
|
146
177
|
<Scripts path={path} />
|
|
147
178
|
|
|
@@ -175,25 +206,40 @@ const page = "color-mode";
|
|
|
175
206
|
|
|
176
207
|
setTheme(getPreferredTheme());
|
|
177
208
|
|
|
178
|
-
const showActiveTheme = (theme) => {
|
|
209
|
+
const showActiveTheme = (theme, focus = false) => {
|
|
210
|
+
const themeSwitcher = document.querySelector("#bd-theme");
|
|
211
|
+
|
|
212
|
+
if (!themeSwitcher) {
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const themeSwitcherText = document.querySelector("#bd-theme-text");
|
|
179
217
|
const activeThemeIcon = document.querySelector(
|
|
180
218
|
".theme-icon-active i"
|
|
181
219
|
);
|
|
182
220
|
const btnToActive = document.querySelector(
|
|
183
|
-
|
|
221
|
+
`[data-bs-theme-value="${theme}"]`
|
|
184
222
|
);
|
|
185
223
|
const svgOfActiveBtn = btnToActive
|
|
186
224
|
.querySelector("i")
|
|
187
225
|
.getAttribute("class");
|
|
188
226
|
|
|
189
|
-
document
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
227
|
+
for (const element of document.querySelectorAll(
|
|
228
|
+
"[data-bs-theme-value]"
|
|
229
|
+
)) {
|
|
230
|
+
element.classList.remove("active");
|
|
231
|
+
element.setAttribute("aria-pressed", "false");
|
|
232
|
+
}
|
|
194
233
|
|
|
195
234
|
btnToActive.classList.add("active");
|
|
235
|
+
btnToActive.setAttribute("aria-pressed", "true");
|
|
196
236
|
activeThemeIcon.setAttribute("class", svgOfActiveBtn);
|
|
237
|
+
const themeSwitcherLabel = `${themeSwitcherText.textContent} (${btnToActive.dataset.bsThemeValue})`;
|
|
238
|
+
themeSwitcher.setAttribute("aria-label", themeSwitcherLabel);
|
|
239
|
+
|
|
240
|
+
if (focus) {
|
|
241
|
+
themeSwitcher.focus();
|
|
242
|
+
}
|
|
197
243
|
};
|
|
198
244
|
|
|
199
245
|
window
|
|
@@ -207,18 +253,19 @@ const page = "color-mode";
|
|
|
207
253
|
window.addEventListener("DOMContentLoaded", () => {
|
|
208
254
|
showActiveTheme(getPreferredTheme());
|
|
209
255
|
|
|
210
|
-
document
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
});
|
|
256
|
+
for (const toggle of document.querySelectorAll(
|
|
257
|
+
"[data-bs-theme-value]"
|
|
258
|
+
)) {
|
|
259
|
+
toggle.addEventListener("click", () => {
|
|
260
|
+
const theme = toggle.getAttribute("data-bs-theme-value");
|
|
261
|
+
localStorage.setItem("theme", theme);
|
|
262
|
+
setTheme(theme);
|
|
263
|
+
showActiveTheme(theme, true);
|
|
219
264
|
});
|
|
265
|
+
}
|
|
220
266
|
});
|
|
221
267
|
})();
|
|
222
268
|
</script>
|
|
223
|
-
|
|
269
|
+
<!--end::Script-->
|
|
270
|
+
</body><!--end::Body-->
|
|
224
271
|
</html>
|
|
@@ -2,29 +2,37 @@
|
|
|
2
2
|
import Head from "@components/_head.astro";
|
|
3
3
|
import Footer from "@components/dashboard/_footer.astro";
|
|
4
4
|
import Topbar from "@components/dashboard/_topbar.astro";
|
|
5
|
-
import
|
|
5
|
+
import MainHeader from "@components/docs/components/main-header.mdx";
|
|
6
6
|
import Sidenav from "@components/dashboard/_sidenav.astro";
|
|
7
7
|
import Scripts from "@components/_scripts.astro";
|
|
8
|
+
|
|
8
9
|
const title = "Main Header Component | AdminLTE 4";
|
|
9
|
-
const path =
|
|
10
|
+
const path = "../../../../dist";
|
|
10
11
|
const mainPage = "components";
|
|
11
12
|
const page = "main-header";
|
|
12
|
-
const distPath = path
|
|
13
|
+
const distPath = path;
|
|
13
14
|
---
|
|
14
15
|
|
|
15
16
|
<!DOCTYPE html>
|
|
16
17
|
<html lang="en">
|
|
18
|
+
<!--begin::Head-->
|
|
17
19
|
<head>
|
|
18
20
|
<Head title={title} path={path} />
|
|
19
21
|
</head>
|
|
22
|
+
<!--end::Head-->
|
|
23
|
+
<!--begin::Body-->
|
|
20
24
|
<body class="layout-fixed sidebar-expand-lg bg-body-tertiary">
|
|
25
|
+
<!--begin::App Wrapper-->
|
|
21
26
|
<div class="app-wrapper">
|
|
22
27
|
<Topbar path={path} />
|
|
23
28
|
<Sidenav path={path} mainPage={mainPage} page={page} />
|
|
24
|
-
<!-- Main
|
|
29
|
+
<!--begin::App Main-->
|
|
25
30
|
<main class="app-main">
|
|
31
|
+
<!--begin::App Content Header-->
|
|
26
32
|
<div class="app-content-header">
|
|
33
|
+
<!--begin::Container-->
|
|
27
34
|
<div class="container-fluid">
|
|
35
|
+
<!--begin::Row-->
|
|
28
36
|
<div class="row">
|
|
29
37
|
<div class="col-sm-6">
|
|
30
38
|
<h3 class="mb-0">Main Header Component</h3>
|
|
@@ -38,32 +46,49 @@ const distPath = path
|
|
|
38
46
|
</ol>
|
|
39
47
|
</div>
|
|
40
48
|
</div>
|
|
49
|
+
<!--end::Row-->
|
|
41
50
|
</div>
|
|
51
|
+
<!--end::Container-->
|
|
42
52
|
</div>
|
|
43
|
-
<!--
|
|
53
|
+
<!--end::App Content Header-->
|
|
54
|
+
<!--begin::App Content-->
|
|
44
55
|
<div class="app-content">
|
|
56
|
+
<!--begin::Container-->
|
|
45
57
|
<div class="container-fluid">
|
|
46
58
|
<div class="callout callout-warning mb-4">
|
|
47
59
|
<h5 class="fw-bold">Reminder!</h5>
|
|
48
60
|
<p>
|
|
49
|
-
AdminLTE uses all of Bootstrap 5 components. It's a good start
|
|
61
|
+
AdminLTE uses all of Bootstrap 5 components. It's a good start
|
|
62
|
+
to review the [Bootstrap
|
|
63
|
+
documentation](https://getbootstrap.com/) to get an idea of the
|
|
64
|
+
various components that this documentation <b>does not</b> cover.
|
|
50
65
|
</p>
|
|
51
66
|
</div>
|
|
52
67
|
|
|
53
68
|
<div class="callout callout-info mb-4">
|
|
54
69
|
<h5 class="fw-bold">Tips!</h5>
|
|
55
70
|
<p>
|
|
56
|
-
If you go through the example pages and would like to copy a
|
|
71
|
+
If you go through the example pages and would like to copy a
|
|
72
|
+
component, right-click on the component and choose “inspect
|
|
73
|
+
element” to get to the HTML quicker than scanning the HTML page.
|
|
57
74
|
</p>
|
|
58
75
|
</div>
|
|
59
76
|
|
|
60
77
|
<!-- Navbar -->
|
|
61
78
|
<nav class="navbar navbar-expand bg-body">
|
|
79
|
+
<!--begin::Container-->
|
|
62
80
|
<div class="container-fluid">
|
|
63
81
|
<!-- Start navbar links -->
|
|
64
82
|
<ul class="navbar-nav">
|
|
65
83
|
<li class="nav-item">
|
|
66
|
-
<a
|
|
84
|
+
<a
|
|
85
|
+
class="nav-link"
|
|
86
|
+
data-lte-toggle="sidebar"
|
|
87
|
+
href="#"
|
|
88
|
+
role="button"
|
|
89
|
+
>
|
|
90
|
+
<i class="bi bi-list"></i>
|
|
91
|
+
</a>
|
|
67
92
|
</li>
|
|
68
93
|
<li class="nav-item d-none d-md-block">
|
|
69
94
|
<a href="#" class="nav-link">Home</a>
|
|
@@ -77,31 +102,46 @@ const distPath = path
|
|
|
77
102
|
<ul class="navbar-nav ms-auto">
|
|
78
103
|
<!-- Navbar Search -->
|
|
79
104
|
<li class="nav-item">
|
|
80
|
-
<a
|
|
81
|
-
|
|
105
|
+
<a
|
|
106
|
+
class="nav-link"
|
|
107
|
+
data-widget="navbar-search"
|
|
108
|
+
href="#"
|
|
109
|
+
role="button"
|
|
110
|
+
>
|
|
111
|
+
<i class="bi bi-search"></i>
|
|
82
112
|
</a>
|
|
83
113
|
</li>
|
|
84
114
|
|
|
85
115
|
<!-- Messages Dropdown Menu -->
|
|
86
116
|
<li class="nav-item dropdown">
|
|
87
117
|
<a class="nav-link" data-bs-toggle="dropdown" href="#">
|
|
88
|
-
<i class="
|
|
118
|
+
<i class="bi bi-chat-text"></i>
|
|
89
119
|
<span class="navbar-badge badge text-bg-danger">3</span>
|
|
90
120
|
</a>
|
|
91
|
-
<div
|
|
121
|
+
<div
|
|
122
|
+
class="dropdown-menu dropdown-menu-lg dropdown-menu-end"
|
|
123
|
+
>
|
|
92
124
|
<a href="#" class="dropdown-item">
|
|
93
125
|
<!-- Message Start -->
|
|
94
126
|
<div class="d-flex">
|
|
95
127
|
<div class="flex-shrink-0">
|
|
96
|
-
<img
|
|
128
|
+
<img
|
|
129
|
+
src={distPath + "/assets/img/user1-128x128.jpg"}
|
|
130
|
+
alt="User Avatar"
|
|
131
|
+
class="img-size-50 rounded-circle me-3"
|
|
132
|
+
/>
|
|
97
133
|
</div>
|
|
98
134
|
<div class="flex-grow-1">
|
|
99
135
|
<h3 class="dropdown-item-title">
|
|
100
136
|
Brad Diesel
|
|
101
|
-
<span class="float-end fs-7 text-danger"
|
|
137
|
+
<span class="float-end fs-7 text-danger">
|
|
138
|
+
<i class="bi bi-star-fill"></i>
|
|
139
|
+
</span>
|
|
102
140
|
</h3>
|
|
103
141
|
<p class="fs-7">Call me whenever you can...</p>
|
|
104
|
-
<p class="fs-7 text-secondary"
|
|
142
|
+
<p class="fs-7 text-secondary">
|
|
143
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
144
|
+
</p>
|
|
105
145
|
</div>
|
|
106
146
|
</div>
|
|
107
147
|
<!-- Message End -->
|
|
@@ -111,15 +151,23 @@ const distPath = path
|
|
|
111
151
|
<!-- Message Start -->
|
|
112
152
|
<div class="d-flex">
|
|
113
153
|
<div class="flex-shrink-0">
|
|
114
|
-
<img
|
|
154
|
+
<img
|
|
155
|
+
src={distPath + "/assets/img/user8-128x128.jpg"}
|
|
156
|
+
alt="User Avatar"
|
|
157
|
+
class="img-size-50 rounded-circle me-3"
|
|
158
|
+
/>
|
|
115
159
|
</div>
|
|
116
160
|
<div class="flex-grow-1">
|
|
117
161
|
<h3 class="dropdown-item-title">
|
|
118
162
|
John Pierce
|
|
119
|
-
<span class="float-end fs-7 text-secondary"
|
|
163
|
+
<span class="float-end fs-7 text-secondary">
|
|
164
|
+
<i class="bi bi-star-fill"></i>
|
|
165
|
+
</span>
|
|
120
166
|
</h3>
|
|
121
167
|
<p class="fs-7">I got your message bro</p>
|
|
122
|
-
<p class="fs-7 text-secondary"
|
|
168
|
+
<p class="fs-7 text-secondary">
|
|
169
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
170
|
+
</p>
|
|
123
171
|
</div>
|
|
124
172
|
</div>
|
|
125
173
|
<!-- Message End -->
|
|
@@ -129,59 +177,94 @@ const distPath = path
|
|
|
129
177
|
<!-- Message Start -->
|
|
130
178
|
<div class="d-flex">
|
|
131
179
|
<div class="flex-shrink-0">
|
|
132
|
-
<img
|
|
180
|
+
<img
|
|
181
|
+
src={distPath + "/assets/img/user3-128x128.jpg"}
|
|
182
|
+
alt="User Avatar"
|
|
183
|
+
class="img-size-50 rounded-circle me-3"
|
|
184
|
+
/>
|
|
133
185
|
</div>
|
|
134
186
|
<div class="flex-grow-1">
|
|
135
187
|
<h3 class="dropdown-item-title">
|
|
136
188
|
Nora Silvester
|
|
137
|
-
<span class="float-end fs-7 text-warning"
|
|
189
|
+
<span class="float-end fs-7 text-warning">
|
|
190
|
+
<i class="bi bi-star-fill"></i>
|
|
191
|
+
</span>
|
|
138
192
|
</h3>
|
|
139
193
|
<p class="fs-7">The subject goes here</p>
|
|
140
|
-
<p class="fs-7 text-secondary"
|
|
194
|
+
<p class="fs-7 text-secondary">
|
|
195
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
196
|
+
</p>
|
|
141
197
|
</div>
|
|
142
198
|
</div>
|
|
143
199
|
<!-- Message End -->
|
|
144
200
|
</a>
|
|
145
201
|
<div class="dropdown-divider"></div>
|
|
146
|
-
<a href="#" class="dropdown-item dropdown-footer">
|
|
202
|
+
<a href="#" class="dropdown-item dropdown-footer">
|
|
203
|
+
See All Messages
|
|
204
|
+
</a>
|
|
147
205
|
</div>
|
|
148
206
|
</li>
|
|
149
207
|
<!-- Notifications Dropdown Menu -->
|
|
150
208
|
<li class="nav-item dropdown">
|
|
151
209
|
<a class="nav-link" data-bs-toggle="dropdown" href="#">
|
|
152
|
-
<i class="
|
|
210
|
+
<i class="bi bi-bell-fill"></i>
|
|
153
211
|
<span class="navbar-badge badge text-bg-warning">15</span>
|
|
154
212
|
</a>
|
|
155
|
-
<div
|
|
156
|
-
|
|
213
|
+
<div
|
|
214
|
+
class="dropdown-menu dropdown-menu-lg dropdown-menu-end"
|
|
215
|
+
>
|
|
216
|
+
<span class="dropdown-item dropdown-header"
|
|
217
|
+
>15 Notifications</span
|
|
218
|
+
>
|
|
157
219
|
<div class="dropdown-divider"></div>
|
|
158
220
|
<a href="#" class="dropdown-item">
|
|
159
|
-
<i class="
|
|
160
|
-
<span class="float-end text-secondary fs-7">3 mins</span
|
|
221
|
+
<i class="bi bi-envelope me-2"></i> 4 new messages
|
|
222
|
+
<span class="float-end text-secondary fs-7">3 mins</span
|
|
223
|
+
>
|
|
161
224
|
</a>
|
|
162
225
|
<div class="dropdown-divider"></div>
|
|
163
226
|
<a href="#" class="dropdown-item">
|
|
164
|
-
<i class="
|
|
165
|
-
<span class="float-end text-secondary fs-7">
|
|
227
|
+
<i class="bi bi-people-fill me-2"></i> 8 friend requests
|
|
228
|
+
<span class="float-end text-secondary fs-7">
|
|
229
|
+
12 hours
|
|
230
|
+
</span>
|
|
166
231
|
</a>
|
|
167
232
|
<div class="dropdown-divider"></div>
|
|
168
233
|
<a href="#" class="dropdown-item">
|
|
169
|
-
<i class="
|
|
170
|
-
<span class="float-end text-secondary fs-7">
|
|
234
|
+
<i class="bi bi-file-earmark-fill me-2"></i> 3 new reports
|
|
235
|
+
<span class="float-end text-secondary fs-7">
|
|
236
|
+
2 days
|
|
237
|
+
</span>
|
|
171
238
|
</a>
|
|
172
239
|
<div class="dropdown-divider"></div>
|
|
173
|
-
<a href="#" class="dropdown-item dropdown-footer">
|
|
240
|
+
<a href="#" class="dropdown-item dropdown-footer">
|
|
241
|
+
See All Notifications
|
|
242
|
+
</a>
|
|
174
243
|
</div>
|
|
175
244
|
</li>
|
|
176
245
|
<li class="nav-item dropdown user-menu">
|
|
177
|
-
<a
|
|
178
|
-
|
|
246
|
+
<a
|
|
247
|
+
href="#"
|
|
248
|
+
class="nav-link dropdown-toggle"
|
|
249
|
+
data-bs-toggle="dropdown"
|
|
250
|
+
>
|
|
251
|
+
<img
|
|
252
|
+
src={distPath + "/assets/img/user2-160x160.jpg"}
|
|
253
|
+
class="user-image rounded-circle shadow"
|
|
254
|
+
alt="User Image"
|
|
255
|
+
/>
|
|
179
256
|
<span class="d-none d-md-inline">Alexander Pierce</span>
|
|
180
257
|
</a>
|
|
181
|
-
<ul
|
|
258
|
+
<ul
|
|
259
|
+
class="dropdown-menu dropdown-menu-lg dropdown-menu-end"
|
|
260
|
+
>
|
|
182
261
|
<!-- User image -->
|
|
183
262
|
<li class="user-header text-bg-primary">
|
|
184
|
-
<img
|
|
263
|
+
<img
|
|
264
|
+
src={distPath + "/assets/img/user2-160x160.jpg"}
|
|
265
|
+
class="rounded-circle shadow"
|
|
266
|
+
alt="User Image"
|
|
267
|
+
/>
|
|
185
268
|
|
|
186
269
|
<p>
|
|
187
270
|
Alexander Pierce - Web Developer
|
|
@@ -190,6 +273,7 @@ const distPath = path
|
|
|
190
273
|
</li>
|
|
191
274
|
<!-- Menu Body -->
|
|
192
275
|
<li class="user-body">
|
|
276
|
+
<!--begin::Row-->
|
|
193
277
|
<div class="row">
|
|
194
278
|
<div class="col-4 text-center">
|
|
195
279
|
<a href="#">Followers</a>
|
|
@@ -201,32 +285,35 @@ const distPath = path
|
|
|
201
285
|
<a href="#">Friends</a>
|
|
202
286
|
</div>
|
|
203
287
|
</div>
|
|
204
|
-
<!--
|
|
288
|
+
<!--end::Row-->
|
|
205
289
|
</li>
|
|
206
290
|
<!-- Menu Footer-->
|
|
207
291
|
<li class="user-footer">
|
|
208
292
|
<a href="#" class="btn btn-default btn-flat">Profile</a>
|
|
209
|
-
<a href="#" class="btn btn-default btn-flat float-end">
|
|
293
|
+
<a href="#" class="btn btn-default btn-flat float-end">
|
|
294
|
+
Sign out
|
|
295
|
+
</a>
|
|
210
296
|
</li>
|
|
211
297
|
</ul>
|
|
212
298
|
</li>
|
|
213
299
|
</ul>
|
|
214
300
|
</div>
|
|
301
|
+
<!--end::Container-->
|
|
215
302
|
</nav>
|
|
216
303
|
<!-- /.navbar -->
|
|
217
304
|
|
|
218
|
-
<
|
|
305
|
+
<MainHeader />
|
|
219
306
|
</div>
|
|
220
|
-
<!--
|
|
307
|
+
<!--end::Container-->
|
|
221
308
|
</div>
|
|
222
|
-
<!--
|
|
309
|
+
<!--end::App Content-->
|
|
223
310
|
</main>
|
|
224
|
-
<!--
|
|
225
|
-
|
|
311
|
+
<!--end::App Main-->
|
|
226
312
|
<Footer />
|
|
227
313
|
</div>
|
|
228
|
-
<!--
|
|
229
|
-
|
|
314
|
+
<!--end::App Wrapper-->
|
|
315
|
+
<!--begin::Script-->
|
|
230
316
|
<Scripts path={path} />
|
|
231
|
-
|
|
317
|
+
<!--end::Script-->
|
|
318
|
+
</body><!--end::Body-->
|
|
232
319
|
</html>
|