admin-lte 4.0.0-beta2 → 4.0.0-beta3
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/.astro/content-assets.mjs +1 -0
- package/.astro/content-modules.mjs +1 -0
- package/.astro/content.d.ts +166 -0
- package/.astro/data-store.json +1 -0
- package/.astro/settings.json +1 -1
- package/.astro/types.d.ts +2 -0
- package/.prettierrc +6 -0
- package/adminlte-v4.0.0-beta1-with-dist.zip +0 -0
- package/adminlte-v4.0.0-beta3.zip +0 -0
- package/dist/css/adminlte.css +8 -8
- package/dist/css/adminlte.css.map +1 -1
- package/dist/css/adminlte.min.css +2 -2
- package/dist/css/adminlte.min.css.map +1 -1
- package/dist/css/adminlte.rtl.css +8 -8
- package/dist/css/adminlte.rtl.css.map +1 -1
- package/dist/css/adminlte.rtl.min.css +2 -2
- package/dist/css/adminlte.rtl.min.css.map +1 -1
- package/dist/js/adminlte.js +1 -1
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +1 -1
- package/dist/pages/UI/general.html +1886 -889
- package/dist/pages/UI/icons.html +816 -450
- package/dist/pages/UI/timeline.html +894 -496
- package/dist/pages/docs/browser-support.html +839 -440
- package/dist/pages/docs/color-mode.html +985 -545
- package/dist/pages/docs/components/main-header.html +1016 -541
- package/dist/pages/docs/components/main-sidebar.html +831 -437
- package/dist/pages/docs/faq.html +831 -438
- package/dist/pages/docs/how-to-contribute.html +904 -478
- package/dist/pages/docs/introduction.html +883 -457
- package/dist/pages/docs/javascript/treeview.html +837 -449
- package/dist/pages/docs/layout.html +835 -479
- package/dist/pages/docs/license.html +828 -440
- package/dist/pages/examples/lockscreen.html +129 -66
- package/dist/pages/examples/login-v2.html +157 -85
- package/dist/pages/examples/login.html +147 -80
- package/dist/pages/examples/register-v2.html +167 -88
- package/dist/pages/examples/register.html +152 -81
- package/dist/pages/forms/general.html +1223 -605
- package/dist/pages/generate/theme.html +713 -388
- package/dist/pages/index.html +1400 -799
- package/dist/pages/index2.html +1852 -1057
- package/dist/pages/index3.html +1183 -690
- package/dist/pages/layout/collapsed-sidebar.html +829 -446
- package/dist/pages/layout/fixed-sidebar.html +829 -446
- package/dist/pages/layout/layout-custom-area.html +859 -464
- package/dist/pages/layout/layout-rtl.html +829 -446
- package/dist/pages/layout/logo-switch.html +486 -233
- package/dist/pages/layout/sidebar-mini.html +829 -446
- package/dist/pages/layout/unfixed-sidebar.html +827 -445
- package/dist/pages/tables/simple.html +1079 -692
- package/dist/pages/widgets/cards.html +1034 -550
- package/dist/pages/widgets/info-box.html +1052 -577
- package/dist/pages/widgets/small-box.html +914 -480
- package/package.json +19 -18
- package/src/scss/_bootstrap-variables.scss +11 -9
- package/src/scss/adminlte.scss +1 -1
|
@@ -1,412 +1,737 @@
|
|
|
1
|
-
<!
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"
|
|
6
|
-
<title>AdminLTE 4 | Theme Customize</title
|
|
7
|
-
|
|
8
|
-
<meta name="
|
|
9
|
-
<meta name="
|
|
10
|
-
<meta name="
|
|
11
|
-
<meta
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
</
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
<div class="
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</div>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<!--begin::Head-->
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>AdminLTE 4 | Theme Customize</title>
|
|
7
|
+
<!--begin::Primary Meta Tags-->
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
9
|
+
<meta name="title" content="AdminLTE 4 | Theme Customize" />
|
|
10
|
+
<meta name="author" content="ColorlibHQ" />
|
|
11
|
+
<meta
|
|
12
|
+
name="description"
|
|
13
|
+
content="AdminLTE is a Free Bootstrap 5 Admin Dashboard, 30 example pages using Vanilla JS."
|
|
14
|
+
/>
|
|
15
|
+
<meta
|
|
16
|
+
name="keywords"
|
|
17
|
+
content="bootstrap 5, bootstrap, bootstrap 5 admin dashboard, bootstrap 5 dashboard, bootstrap 5 charts, bootstrap 5 calendar, bootstrap 5 datepicker, bootstrap 5 tables, bootstrap 5 datatable, vanilla js datatable, colorlibhq, colorlibhq dashboard, colorlibhq admin dashboard"
|
|
18
|
+
/>
|
|
19
|
+
<!--end::Primary Meta Tags-->
|
|
20
|
+
<!--begin::Fonts-->
|
|
21
|
+
<link
|
|
22
|
+
rel="stylesheet"
|
|
23
|
+
href="https://cdn.jsdelivr.net/npm/@fontsource/source-sans-3@5.0.12/index.css"
|
|
24
|
+
integrity="sha256-tXJfXfp6Ewt1ilPzLDtQnJV4hclT9XuaZUKyUvmyr+Q="
|
|
25
|
+
crossorigin="anonymous"
|
|
26
|
+
/>
|
|
27
|
+
<!--end::Fonts-->
|
|
28
|
+
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
|
29
|
+
<link
|
|
30
|
+
rel="stylesheet"
|
|
31
|
+
href="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.10.1/styles/overlayscrollbars.min.css"
|
|
32
|
+
integrity="sha256-tZHrRjVqNSRyWg2wbppGnT833E/Ys0DHWGwT04GiqQg="
|
|
33
|
+
crossorigin="anonymous"
|
|
34
|
+
/>
|
|
35
|
+
<!--end::Third Party Plugin(OverlayScrollbars)-->
|
|
36
|
+
<!--begin::Third Party Plugin(Bootstrap Icons)-->
|
|
37
|
+
<link
|
|
38
|
+
rel="stylesheet"
|
|
39
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
|
|
40
|
+
integrity="sha256-9kPW/n5nn53j4WMRYAxe9c1rCY96Oogo/MKSVdKzPmI="
|
|
41
|
+
crossorigin="anonymous"
|
|
42
|
+
/>
|
|
43
|
+
<!--end::Third Party Plugin(Bootstrap Icons)-->
|
|
44
|
+
<!--begin::Required Plugin(AdminLTE)-->
|
|
45
|
+
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
|
|
46
|
+
<!--end::Required Plugin(AdminLTE)-->
|
|
47
|
+
</head>
|
|
48
|
+
<!--end::Head-->
|
|
49
|
+
<!--begin::Body-->
|
|
50
|
+
<body class="sidebar-expand-lg bg-body-tertiary">
|
|
51
|
+
<!--begin::App Wrapper-->
|
|
52
|
+
<div class="app-wrapper">
|
|
53
|
+
<!--begin::Header-->
|
|
54
|
+
<nav class="app-header navbar navbar-expand bg-body">
|
|
55
|
+
<!--begin::Container-->
|
|
56
|
+
<div class="container-fluid">
|
|
57
|
+
<!--begin::Start Navbar Links-->
|
|
58
|
+
<ul class="navbar-nav">
|
|
59
|
+
<li class="nav-item">
|
|
60
|
+
<a class="nav-link" data-lte-toggle="sidebar" href="#" role="button">
|
|
61
|
+
<i class="bi bi-list"></i>
|
|
62
|
+
</a>
|
|
63
|
+
</li>
|
|
64
|
+
<li class="nav-item d-none d-md-block"><a href="#" class="nav-link">Home</a></li>
|
|
65
|
+
<li class="nav-item d-none d-md-block"><a href="#" class="nav-link">Contact</a></li>
|
|
66
|
+
</ul>
|
|
67
|
+
<!--end::Start Navbar Links-->
|
|
68
|
+
<!--begin::End Navbar Links-->
|
|
69
|
+
<ul class="navbar-nav ms-auto">
|
|
70
|
+
<!--begin::Navbar Search-->
|
|
71
|
+
<li class="nav-item">
|
|
72
|
+
<a class="nav-link" data-widget="navbar-search" href="#" role="button">
|
|
73
|
+
<i class="bi bi-search"></i>
|
|
74
|
+
</a>
|
|
75
|
+
</li>
|
|
76
|
+
<!--end::Navbar Search-->
|
|
77
|
+
<!--begin::Messages Dropdown Menu-->
|
|
78
|
+
<li class="nav-item dropdown">
|
|
79
|
+
<a class="nav-link" data-bs-toggle="dropdown" href="#">
|
|
80
|
+
<i class="bi bi-chat-text"></i>
|
|
81
|
+
<span class="navbar-badge badge text-bg-danger">3</span>
|
|
82
|
+
</a>
|
|
83
|
+
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
|
|
84
|
+
<a href="#" class="dropdown-item">
|
|
85
|
+
<!--begin::Message-->
|
|
86
|
+
<div class="d-flex">
|
|
87
|
+
<div class="flex-shrink-0">
|
|
88
|
+
<img
|
|
89
|
+
src="../../../dist/assets/img/user1-128x128.jpg"
|
|
90
|
+
alt="User Avatar"
|
|
91
|
+
class="img-size-50 rounded-circle me-3"
|
|
92
|
+
/>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="flex-grow-1">
|
|
95
|
+
<h3 class="dropdown-item-title">
|
|
96
|
+
Brad Diesel
|
|
97
|
+
<span class="float-end fs-7 text-danger"
|
|
98
|
+
><i class="bi bi-star-fill"></i
|
|
99
|
+
></span>
|
|
100
|
+
</h3>
|
|
101
|
+
<p class="fs-7">Call me whenever you can...</p>
|
|
102
|
+
<p class="fs-7 text-secondary">
|
|
103
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
104
|
+
</p>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
<!--end::Message-->
|
|
108
|
+
</a>
|
|
109
|
+
<div class="dropdown-divider"></div>
|
|
110
|
+
<a href="#" class="dropdown-item">
|
|
111
|
+
<!--begin::Message-->
|
|
112
|
+
<div class="d-flex">
|
|
113
|
+
<div class="flex-shrink-0">
|
|
114
|
+
<img
|
|
115
|
+
src="../../../dist/assets/img/user8-128x128.jpg"
|
|
116
|
+
alt="User Avatar"
|
|
117
|
+
class="img-size-50 rounded-circle me-3"
|
|
118
|
+
/>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="flex-grow-1">
|
|
121
|
+
<h3 class="dropdown-item-title">
|
|
122
|
+
John Pierce
|
|
123
|
+
<span class="float-end fs-7 text-secondary">
|
|
124
|
+
<i class="bi bi-star-fill"></i>
|
|
125
|
+
</span>
|
|
126
|
+
</h3>
|
|
127
|
+
<p class="fs-7">I got your message bro</p>
|
|
128
|
+
<p class="fs-7 text-secondary">
|
|
129
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
130
|
+
</p>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
<!--end::Message-->
|
|
134
|
+
</a>
|
|
135
|
+
<div class="dropdown-divider"></div>
|
|
136
|
+
<a href="#" class="dropdown-item">
|
|
137
|
+
<!--begin::Message-->
|
|
138
|
+
<div class="d-flex">
|
|
139
|
+
<div class="flex-shrink-0">
|
|
140
|
+
<img
|
|
141
|
+
src="../../../dist/assets/img/user3-128x128.jpg"
|
|
142
|
+
alt="User Avatar"
|
|
143
|
+
class="img-size-50 rounded-circle me-3"
|
|
144
|
+
/>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="flex-grow-1">
|
|
147
|
+
<h3 class="dropdown-item-title">
|
|
148
|
+
Nora Silvester
|
|
149
|
+
<span class="float-end fs-7 text-warning">
|
|
150
|
+
<i class="bi bi-star-fill"></i>
|
|
151
|
+
</span>
|
|
152
|
+
</h3>
|
|
153
|
+
<p class="fs-7">The subject goes here</p>
|
|
154
|
+
<p class="fs-7 text-secondary">
|
|
155
|
+
<i class="bi bi-clock-fill me-1"></i> 4 Hours Ago
|
|
156
|
+
</p>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
<!--end::Message-->
|
|
160
|
+
</a>
|
|
161
|
+
<div class="dropdown-divider"></div>
|
|
162
|
+
<a href="#" class="dropdown-item dropdown-footer">See All Messages</a>
|
|
163
|
+
</div>
|
|
164
|
+
</li>
|
|
165
|
+
<!--end::Messages Dropdown Menu-->
|
|
166
|
+
<!--begin::Notifications Dropdown Menu-->
|
|
167
|
+
<li class="nav-item dropdown">
|
|
168
|
+
<a class="nav-link" data-bs-toggle="dropdown" href="#">
|
|
169
|
+
<i class="bi bi-bell-fill"></i>
|
|
170
|
+
<span class="navbar-badge badge text-bg-warning">15</span>
|
|
171
|
+
</a>
|
|
172
|
+
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
|
|
173
|
+
<span class="dropdown-item dropdown-header">15 Notifications</span>
|
|
174
|
+
<div class="dropdown-divider"></div>
|
|
175
|
+
<a href="#" class="dropdown-item">
|
|
176
|
+
<i class="bi bi-envelope me-2"></i> 4 new messages
|
|
177
|
+
<span class="float-end text-secondary fs-7">3 mins</span>
|
|
178
|
+
</a>
|
|
179
|
+
<div class="dropdown-divider"></div>
|
|
180
|
+
<a href="#" class="dropdown-item">
|
|
181
|
+
<i class="bi bi-people-fill me-2"></i> 8 friend requests
|
|
182
|
+
<span class="float-end text-secondary fs-7">12 hours</span>
|
|
183
|
+
</a>
|
|
184
|
+
<div class="dropdown-divider"></div>
|
|
185
|
+
<a href="#" class="dropdown-item">
|
|
186
|
+
<i class="bi bi-file-earmark-fill me-2"></i> 3 new reports
|
|
187
|
+
<span class="float-end text-secondary fs-7">2 days</span>
|
|
188
|
+
</a>
|
|
189
|
+
<div class="dropdown-divider"></div>
|
|
190
|
+
<a href="#" class="dropdown-item dropdown-footer"> See All Notifications </a>
|
|
191
|
+
</div>
|
|
192
|
+
</li>
|
|
193
|
+
<!--end::Notifications Dropdown Menu-->
|
|
194
|
+
<!--begin::Fullscreen Toggle-->
|
|
195
|
+
<li class="nav-item">
|
|
196
|
+
<a class="nav-link" href="#" data-lte-toggle="fullscreen">
|
|
197
|
+
<i data-lte-icon="maximize" class="bi bi-arrows-fullscreen"></i>
|
|
198
|
+
<i data-lte-icon="minimize" class="bi bi-fullscreen-exit" style="display: none"></i>
|
|
199
|
+
</a>
|
|
200
|
+
</li>
|
|
201
|
+
<!--end::Fullscreen Toggle-->
|
|
202
|
+
<!--begin::User Menu Dropdown-->
|
|
203
|
+
<li class="nav-item dropdown user-menu">
|
|
204
|
+
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown">
|
|
205
|
+
<img
|
|
206
|
+
src="../../../dist/assets/img/user2-160x160.jpg"
|
|
207
|
+
class="user-image rounded-circle shadow"
|
|
208
|
+
alt="User Image"
|
|
209
|
+
/>
|
|
210
|
+
<span class="d-none d-md-inline">Alexander Pierce</span>
|
|
211
|
+
</a>
|
|
212
|
+
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-end">
|
|
213
|
+
<!--begin::User Image-->
|
|
214
|
+
<li class="user-header text-bg-primary">
|
|
215
|
+
<img
|
|
216
|
+
src="../../../dist/assets/img/user2-160x160.jpg"
|
|
217
|
+
class="rounded-circle shadow"
|
|
218
|
+
alt="User Image"
|
|
219
|
+
/>
|
|
220
|
+
<p>
|
|
221
|
+
Alexander Pierce - Web Developer
|
|
222
|
+
<small>Member since Nov. 2023</small>
|
|
223
|
+
</p>
|
|
224
|
+
</li>
|
|
225
|
+
<!--end::User Image-->
|
|
226
|
+
<!--begin::Menu Body-->
|
|
227
|
+
<li class="user-body">
|
|
228
|
+
<!--begin::Row-->
|
|
229
|
+
<div class="row">
|
|
230
|
+
<div class="col-4 text-center"><a href="#">Followers</a></div>
|
|
231
|
+
<div class="col-4 text-center"><a href="#">Sales</a></div>
|
|
232
|
+
<div class="col-4 text-center"><a href="#">Friends</a></div>
|
|
233
|
+
</div>
|
|
234
|
+
<!--end::Row-->
|
|
235
|
+
</li>
|
|
236
|
+
<!--end::Menu Body-->
|
|
237
|
+
<!--begin::Menu Footer-->
|
|
238
|
+
<li class="user-footer">
|
|
239
|
+
<a href="#" class="btn btn-default btn-flat">Profile</a>
|
|
240
|
+
<a href="#" class="btn btn-default btn-flat float-end">Sign out</a>
|
|
241
|
+
</li>
|
|
242
|
+
<!--end::Menu Footer-->
|
|
243
|
+
</ul>
|
|
244
|
+
</li>
|
|
245
|
+
<!--end::User Menu Dropdown-->
|
|
246
|
+
</ul>
|
|
247
|
+
<!--end::End Navbar Links-->
|
|
248
|
+
</div>
|
|
249
|
+
<!--end::Container-->
|
|
250
|
+
</nav>
|
|
251
|
+
<!--end::Header-->
|
|
252
|
+
<!--begin::Sidebar-->
|
|
253
|
+
<aside class="app-sidebar bg-primary shadow" data-bs-theme="dark">
|
|
254
|
+
<!--begin::Sidebar Brand-->
|
|
255
|
+
<div class="sidebar-brand">
|
|
256
|
+
<!--begin::Brand Link-->
|
|
257
|
+
<a href="../index.html" class="brand-link">
|
|
258
|
+
<!--begin::Brand Image-->
|
|
259
|
+
<img
|
|
260
|
+
src="../../../dist/assets/img/AdminLTELogo.png"
|
|
261
|
+
alt="AdminLTE Logo"
|
|
262
|
+
class="brand-image opacity-75 shadow"
|
|
263
|
+
/>
|
|
264
|
+
<!--end::Brand Image-->
|
|
265
|
+
<!--begin::Brand Text-->
|
|
266
|
+
<span class="brand-text fw-light">AdminLTE 4</span>
|
|
267
|
+
<!--end::Brand Text-->
|
|
268
|
+
</a>
|
|
269
|
+
<!--end::Brand Link-->
|
|
270
|
+
</div>
|
|
271
|
+
<!--end::Sidebar Brand-->
|
|
272
|
+
<!--begin::Sidebar Wrapper-->
|
|
273
|
+
<div class="sidebar-wrapper">
|
|
274
|
+
<nav class="mt-2">
|
|
275
|
+
<!--begin::Sidebar Menu-->
|
|
276
|
+
<ul
|
|
277
|
+
class="nav sidebar-menu flex-column"
|
|
278
|
+
data-lte-toggle="treeview"
|
|
279
|
+
role="menu"
|
|
280
|
+
data-accordion="false"
|
|
281
|
+
>
|
|
282
|
+
<li class="nav-header">MULTI LEVEL EXAMPLE</li>
|
|
283
|
+
<li class="nav-item">
|
|
284
|
+
<a href="#" class="nav-link">
|
|
285
|
+
<i class="nav-icon bi bi-circle-fill"></i>
|
|
286
|
+
<p>Level 1</p>
|
|
287
|
+
</a>
|
|
288
|
+
</li>
|
|
289
|
+
<li class="nav-item">
|
|
290
|
+
<a href="#" class="nav-link">
|
|
291
|
+
<i class="nav-icon bi bi-circle-fill"></i>
|
|
292
|
+
<p>
|
|
293
|
+
Level 1
|
|
294
|
+
<i class="nav-arrow bi bi-chevron-right"></i>
|
|
295
|
+
</p>
|
|
296
|
+
</a>
|
|
297
|
+
<ul class="nav nav-treeview">
|
|
298
|
+
<li class="nav-item">
|
|
299
|
+
<a href="#" class="nav-link">
|
|
300
|
+
<i class="nav-icon bi bi-circle"></i>
|
|
301
|
+
<p>Level 2</p>
|
|
302
|
+
</a>
|
|
303
|
+
</li>
|
|
304
|
+
<li class="nav-item">
|
|
305
|
+
<a href="#" class="nav-link">
|
|
306
|
+
<i class="nav-icon bi bi-circle"></i>
|
|
307
|
+
<p>
|
|
308
|
+
Level 2
|
|
309
|
+
<i class="nav-arrow bi bi-chevron-right"></i>
|
|
310
|
+
</p>
|
|
311
|
+
</a>
|
|
312
|
+
<ul class="nav nav-treeview">
|
|
313
|
+
<li class="nav-item">
|
|
314
|
+
<a href="#" class="nav-link">
|
|
315
|
+
<i class="nav-icon bi bi-record-circle-fill"></i>
|
|
316
|
+
<p>Level 3</p>
|
|
317
|
+
</a>
|
|
318
|
+
</li>
|
|
319
|
+
<li class="nav-item">
|
|
320
|
+
<a href="#" class="nav-link">
|
|
321
|
+
<i class="nav-icon bi bi-record-circle-fill"></i>
|
|
322
|
+
<p>Level 3</p>
|
|
323
|
+
</a>
|
|
324
|
+
</li>
|
|
325
|
+
<li class="nav-item">
|
|
326
|
+
<a href="#" class="nav-link">
|
|
327
|
+
<i class="nav-icon bi bi-record-circle-fill"></i>
|
|
328
|
+
<p>Level 3</p>
|
|
329
|
+
</a>
|
|
330
|
+
</li>
|
|
331
|
+
</ul>
|
|
332
|
+
</li>
|
|
333
|
+
<li class="nav-item">
|
|
334
|
+
<a href="#" class="nav-link">
|
|
335
|
+
<i class="nav-icon bi bi-circle"></i>
|
|
336
|
+
<p>Level 2</p>
|
|
337
|
+
</a>
|
|
338
|
+
</li>
|
|
339
|
+
</ul>
|
|
340
|
+
</li>
|
|
341
|
+
<li class="nav-item">
|
|
342
|
+
<a href="#" class="nav-link">
|
|
343
|
+
<i class="nav-icon bi bi-circle-fill"></i>
|
|
344
|
+
<p>Level 1</p>
|
|
345
|
+
</a>
|
|
346
|
+
</li>
|
|
347
|
+
</ul>
|
|
348
|
+
<!--end::Sidebar Menu-->
|
|
349
|
+
</nav>
|
|
350
|
+
</div>
|
|
351
|
+
<!--end::Sidebar Wrapper-->
|
|
352
|
+
</aside>
|
|
353
|
+
<!--end::Sidebar-->
|
|
354
|
+
<!--begin::App Main-->
|
|
355
|
+
<main class="app-main">
|
|
356
|
+
<!--begin::App Content Header-->
|
|
357
|
+
<div class="app-content-header">
|
|
358
|
+
<!--begin::Container-->
|
|
359
|
+
<div class="container-fluid">
|
|
360
|
+
<!--begin::Row-->
|
|
361
|
+
<div class="row">
|
|
362
|
+
<!--begin::Col-->
|
|
363
|
+
<div class="col-sm-6"><h3 class="mb-0">Theme Customize</h3></div>
|
|
364
|
+
<!--end::Col-->
|
|
365
|
+
<!--begin::Col-->
|
|
366
|
+
<div class="col-sm-6">
|
|
367
|
+
<ol class="breadcrumb float-sm-end">
|
|
368
|
+
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
|
369
|
+
<li class="breadcrumb-item active" aria-current="page">Theme Customize</li>
|
|
370
|
+
</ol>
|
|
371
|
+
</div>
|
|
372
|
+
<!--end::Col-->
|
|
373
|
+
</div>
|
|
374
|
+
<!--end::Row-->
|
|
375
|
+
</div>
|
|
376
|
+
<!--end::Container-->
|
|
377
|
+
</div>
|
|
378
|
+
<!--end::App Content Header-->
|
|
379
|
+
<!--begin::App Content-->
|
|
380
|
+
<div class="app-content">
|
|
381
|
+
<!--begin::Container-->
|
|
382
|
+
<div class="container-fluid">
|
|
383
|
+
<!--begin::Row-->
|
|
384
|
+
<div class="row">
|
|
385
|
+
<!--begin::Col-->
|
|
386
|
+
<div class="col-12">
|
|
387
|
+
<!--begin::Card-->
|
|
388
|
+
<div class="card">
|
|
389
|
+
<!--begin::Card Header-->
|
|
390
|
+
<div class="card-header">
|
|
391
|
+
<!--begin::Card Title-->
|
|
392
|
+
<h3 class="card-title">Sidebar Theme</h3>
|
|
393
|
+
<!--end::Card Title-->
|
|
394
|
+
<!--begin::Card Toolbar-->
|
|
395
|
+
<div class="card-tools">
|
|
396
|
+
<button type="button" class="btn btn-tool" data-lte-toggle="card-collapse">
|
|
397
|
+
<i data-lte-icon="expand" class="bi bi-plus-lg"></i>
|
|
398
|
+
<i data-lte-icon="collapse" class="bi bi-dash-lg"></i>
|
|
399
|
+
</button>
|
|
400
|
+
<button
|
|
401
|
+
type="button"
|
|
402
|
+
class="btn btn-tool"
|
|
403
|
+
data-lte-toggle="card-remove"
|
|
404
|
+
title="Remove"
|
|
405
|
+
>
|
|
406
|
+
<i class="bi bi-x-lg"></i>
|
|
407
|
+
</button>
|
|
408
|
+
</div>
|
|
409
|
+
<!--end::Card Toolbar-->
|
|
410
|
+
</div>
|
|
411
|
+
<!--end::Card Header-->
|
|
412
|
+
<!--begin::Card Body-->
|
|
413
|
+
<div class="card-body">
|
|
414
|
+
<!--begin::Row-->
|
|
415
|
+
<div class="row">
|
|
416
|
+
<!--begin::Col-->
|
|
417
|
+
<div class="col-md-3">
|
|
418
|
+
<select
|
|
419
|
+
id="sidebar-color-modes"
|
|
420
|
+
class="form-select form-select-lg"
|
|
421
|
+
aria-label="Sidebar Color Mode Select"
|
|
422
|
+
>
|
|
423
|
+
<option value="">---Select---</option>
|
|
424
|
+
<option value="dark">Dark</option>
|
|
425
|
+
<option value="light">Light</option>
|
|
426
|
+
</select>
|
|
427
|
+
</div>
|
|
428
|
+
<!--end::Col-->
|
|
429
|
+
<!--begin::Col-->
|
|
430
|
+
<div class="col-md-3">
|
|
431
|
+
<select
|
|
432
|
+
id="sidebar-color"
|
|
433
|
+
class="form-select form-select-lg"
|
|
434
|
+
aria-label="Sidebar Color Select"
|
|
435
|
+
>
|
|
436
|
+
<option value="">---Select---</option>
|
|
437
|
+
</select>
|
|
438
|
+
</div>
|
|
439
|
+
<!--end::Col-->
|
|
440
|
+
<!--begin::Col-->
|
|
441
|
+
<div class="col-md-6"><div id="sidebar-color-code" class="w-100"></div></div>
|
|
442
|
+
<!--end::Col-->
|
|
443
|
+
</div>
|
|
444
|
+
<!--end::Row-->
|
|
445
|
+
</div>
|
|
446
|
+
<!--end::Card Body-->
|
|
447
|
+
<!--begin::Card Footer-->
|
|
448
|
+
<div class="card-footer">
|
|
449
|
+
Check more color in
|
|
450
|
+
<a
|
|
451
|
+
href="https://getbootstrap.com/docs/5.3/utilities/background/"
|
|
452
|
+
target="_blank"
|
|
453
|
+
class="link-primary"
|
|
454
|
+
>Bootstrap Background Colors</a
|
|
455
|
+
>
|
|
456
|
+
</div>
|
|
457
|
+
<!--end::Card Footer-->
|
|
458
|
+
</div>
|
|
459
|
+
<!--end::Card-->
|
|
460
|
+
<!--begin::Card-->
|
|
461
|
+
<div class="card mt-4">
|
|
462
|
+
<!--begin::Card Header-->
|
|
463
|
+
<div class="card-header">
|
|
464
|
+
<!--begin::Card Title-->
|
|
465
|
+
<h3 class="card-title">Navbar Theme</h3>
|
|
466
|
+
<!--end::Card Title-->
|
|
467
|
+
<!--begin::Card Toolbar-->
|
|
468
|
+
<div class="card-tools">
|
|
469
|
+
<button type="button" class="btn btn-tool" data-lte-toggle="card-collapse">
|
|
470
|
+
<i data-lte-icon="expand" class="bi bi-plus-lg"></i>
|
|
471
|
+
<i data-lte-icon="collapse" class="bi bi-dash-lg"></i>
|
|
472
|
+
</button>
|
|
473
|
+
<button
|
|
474
|
+
type="button"
|
|
475
|
+
class="btn btn-tool"
|
|
476
|
+
data-lte-toggle="card-remove"
|
|
477
|
+
title="Remove"
|
|
478
|
+
>
|
|
479
|
+
<i class="bi bi-x-lg"></i>
|
|
480
|
+
</button>
|
|
481
|
+
</div>
|
|
482
|
+
<!--end::Card Toolbar-->
|
|
483
|
+
</div>
|
|
484
|
+
<!--end::Card Header-->
|
|
485
|
+
<!--begin::Card Body-->
|
|
486
|
+
<div class="card-body">
|
|
487
|
+
<!--begin::Row-->
|
|
488
|
+
<div class="row">
|
|
489
|
+
<!--begin::Col-->
|
|
490
|
+
<div class="col-md-3">
|
|
491
|
+
<select
|
|
492
|
+
id="navbar-color-modes"
|
|
493
|
+
class="form-select form-select-lg"
|
|
494
|
+
aria-label="Navbar Color Mode Select"
|
|
495
|
+
>
|
|
496
|
+
<option value="">---Select---</option>
|
|
497
|
+
<option value="dark">Dark</option>
|
|
498
|
+
<option value="light">Light</option>
|
|
499
|
+
</select>
|
|
500
|
+
</div>
|
|
501
|
+
<!--end::Col-->
|
|
502
|
+
<!--begin::Col-->
|
|
503
|
+
<div class="col-md-3">
|
|
504
|
+
<select
|
|
505
|
+
id="navbar-color"
|
|
506
|
+
class="form-select form-select-lg"
|
|
507
|
+
aria-label="Navbar Color Select"
|
|
508
|
+
>
|
|
509
|
+
<option value="">---Select---</option>
|
|
510
|
+
</select>
|
|
511
|
+
</div>
|
|
512
|
+
<!--end::Col-->
|
|
513
|
+
<!--begin::Col-->
|
|
514
|
+
<div class="col-md-6"><div id="navbar-color-code" class="w-100"></div></div>
|
|
515
|
+
<!--end::Col-->
|
|
516
|
+
</div>
|
|
517
|
+
<!--end::Row-->
|
|
518
|
+
</div>
|
|
519
|
+
<!--end::Card Body-->
|
|
520
|
+
<!--begin::Card Footer-->
|
|
521
|
+
<div class="card-footer">
|
|
522
|
+
Check more color in
|
|
523
|
+
<a
|
|
524
|
+
href="https://getbootstrap.com/docs/5.3/utilities/background/"
|
|
525
|
+
target="_blank"
|
|
526
|
+
class="link-primary"
|
|
527
|
+
>Bootstrap Background Colors</a
|
|
528
|
+
>
|
|
529
|
+
</div>
|
|
530
|
+
<!--end::Card Footer-->
|
|
531
|
+
</div>
|
|
532
|
+
<!--end::Card-->
|
|
533
|
+
</div>
|
|
534
|
+
<!--end::Col-->
|
|
535
|
+
</div>
|
|
536
|
+
<!--end::Row-->
|
|
537
|
+
</div>
|
|
538
|
+
<!--end::Container-->
|
|
539
|
+
</div>
|
|
540
|
+
<!--end::App Content-->
|
|
541
|
+
</main>
|
|
542
|
+
<!--end::App Main-->
|
|
543
|
+
<!--begin::Footer-->
|
|
544
|
+
<footer class="app-footer">
|
|
545
|
+
<!--begin::To the end-->
|
|
546
|
+
<div class="float-end d-none d-sm-inline">Anything you want</div>
|
|
547
|
+
<!--end::To the end-->
|
|
548
|
+
<!--begin::Copyright-->
|
|
549
|
+
<strong>
|
|
550
|
+
Copyright © 2014-2024
|
|
551
|
+
<a href="https://adminlte.io" class="text-decoration-none">AdminLTE.io</a>.
|
|
552
|
+
</strong>
|
|
553
|
+
All rights reserved.
|
|
554
|
+
<!--end::Copyright-->
|
|
555
|
+
</footer>
|
|
556
|
+
<!--end::Footer-->
|
|
557
|
+
</div>
|
|
558
|
+
<!--end::App Wrapper-->
|
|
559
|
+
<!--begin::Script-->
|
|
560
|
+
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
|
561
|
+
<script
|
|
562
|
+
src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.10.1/browser/overlayscrollbars.browser.es6.min.js"
|
|
563
|
+
integrity="sha256-dghWARbRe2eLlIJ56wNB+b760ywulqK3DzZYEpsg2fQ="
|
|
564
|
+
crossorigin="anonymous"
|
|
565
|
+
></script>
|
|
566
|
+
<!--end::Third Party Plugin(OverlayScrollbars)--><!--begin::Required Plugin(popperjs for Bootstrap 5)-->
|
|
567
|
+
<script
|
|
568
|
+
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
|
|
569
|
+
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
|
|
570
|
+
crossorigin="anonymous"
|
|
571
|
+
></script>
|
|
572
|
+
<!--end::Required Plugin(popperjs for Bootstrap 5)--><!--begin::Required Plugin(Bootstrap 5)-->
|
|
573
|
+
<script
|
|
574
|
+
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js"
|
|
575
|
+
integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"
|
|
576
|
+
crossorigin="anonymous"
|
|
577
|
+
></script>
|
|
578
|
+
<!--end::Required Plugin(Bootstrap 5)--><!--begin::Required Plugin(AdminLTE)-->
|
|
579
|
+
<script src="../../../dist/js/adminlte.js"></script>
|
|
580
|
+
<!--end::Required Plugin(AdminLTE)--><!--begin::OverlayScrollbars Configure-->
|
|
249
581
|
<script>
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
});
|
|
271
|
-
</script> <!--end::OverlayScrollbars Configure-->
|
|
582
|
+
const SELECTOR_SIDEBAR_WRAPPER = '.sidebar-wrapper';
|
|
583
|
+
const Default = {
|
|
584
|
+
scrollbarTheme: 'os-theme-light',
|
|
585
|
+
scrollbarAutoHide: 'leave',
|
|
586
|
+
scrollbarClickScroll: true,
|
|
587
|
+
};
|
|
588
|
+
document.addEventListener('DOMContentLoaded', function () {
|
|
589
|
+
const sidebarWrapper = document.querySelector(SELECTOR_SIDEBAR_WRAPPER);
|
|
590
|
+
if (sidebarWrapper && typeof OverlayScrollbarsGlobal?.OverlayScrollbars !== 'undefined') {
|
|
591
|
+
OverlayScrollbarsGlobal.OverlayScrollbars(sidebarWrapper, {
|
|
592
|
+
scrollbars: {
|
|
593
|
+
theme: Default.scrollbarTheme,
|
|
594
|
+
autoHide: Default.scrollbarAutoHide,
|
|
595
|
+
clickScroll: Default.scrollbarClickScroll,
|
|
596
|
+
},
|
|
597
|
+
});
|
|
598
|
+
}
|
|
599
|
+
});
|
|
600
|
+
</script>
|
|
601
|
+
<!--end::OverlayScrollbars Configure-->
|
|
272
602
|
<script>
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
const sidebarColor = document.querySelector("#sidebar-color");
|
|
279
|
-
const sidebarColorCode = document.querySelector("#sidebar-color-code");
|
|
603
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
604
|
+
const appSidebar = document.querySelector('.app-sidebar');
|
|
605
|
+
const sidebarColorModes = document.querySelector('#sidebar-color-modes');
|
|
606
|
+
const sidebarColor = document.querySelector('#sidebar-color');
|
|
607
|
+
const sidebarColorCode = document.querySelector('#sidebar-color-code');
|
|
280
608
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
609
|
+
const themeBg = [
|
|
610
|
+
'bg-primary',
|
|
611
|
+
'bg-primary-subtle',
|
|
612
|
+
'bg-secondary',
|
|
613
|
+
'bg-secondary-subtle',
|
|
614
|
+
'bg-success',
|
|
615
|
+
'bg-success-subtle',
|
|
616
|
+
'bg-danger',
|
|
617
|
+
'bg-danger-subtle',
|
|
618
|
+
'bg-warning',
|
|
619
|
+
'bg-warning-subtle',
|
|
620
|
+
'bg-info',
|
|
621
|
+
'bg-info-subtle',
|
|
622
|
+
'bg-light',
|
|
623
|
+
'bg-light-subtle',
|
|
624
|
+
'bg-dark',
|
|
625
|
+
'bg-dark-subtle',
|
|
626
|
+
'bg-body-secondary',
|
|
627
|
+
'bg-body-tertiary',
|
|
628
|
+
'bg-body',
|
|
629
|
+
'bg-black',
|
|
630
|
+
'bg-white',
|
|
631
|
+
'bg-transparent',
|
|
632
|
+
];
|
|
305
633
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
},
|
|
312
|
-
);
|
|
634
|
+
// loop through each option themeBg array
|
|
635
|
+
document.querySelector('#sidebar-color').innerHTML = themeBg.map((bg) => {
|
|
636
|
+
// return option element with value and text
|
|
637
|
+
return `<option value="${bg}" class="text-${bg}">${bg}</option>`;
|
|
638
|
+
});
|
|
313
639
|
|
|
314
|
-
|
|
315
|
-
|
|
640
|
+
let sidebarColorMode = '';
|
|
641
|
+
let sidebarBg = '';
|
|
316
642
|
|
|
317
|
-
|
|
318
|
-
|
|
643
|
+
function updateSidebar() {
|
|
644
|
+
appSidebar.setAttribute('data-bs-theme', sidebarColorMode);
|
|
319
645
|
|
|
320
|
-
|
|
321
|
-
|
|
646
|
+
sidebarColorCode.innerHTML = `<pre><code class="language-html"><aside class="app-sidebar ${sidebarBg}" data-bs-theme="${sidebarColorMode}">...</aside></code></pre>`;
|
|
647
|
+
}
|
|
322
648
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
649
|
+
sidebarColorModes.addEventListener('input', (event) => {
|
|
650
|
+
sidebarColorMode = event.target.value;
|
|
651
|
+
updateSidebar();
|
|
652
|
+
});
|
|
327
653
|
|
|
328
|
-
|
|
329
|
-
|
|
654
|
+
sidebarColor.addEventListener('input', (event) => {
|
|
655
|
+
sidebarBg = event.target.value;
|
|
330
656
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
657
|
+
themeBg.forEach((className) => {
|
|
658
|
+
appSidebar.classList.remove(className);
|
|
659
|
+
});
|
|
334
660
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
661
|
+
if (themeBg.includes(sidebarBg)) {
|
|
662
|
+
appSidebar.classList.add(sidebarBg);
|
|
663
|
+
}
|
|
338
664
|
|
|
339
|
-
|
|
340
|
-
});
|
|
665
|
+
updateSidebar();
|
|
341
666
|
});
|
|
667
|
+
});
|
|
342
668
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
669
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
670
|
+
const appNavbar = document.querySelector('.app-header');
|
|
671
|
+
const navbarColorModes = document.querySelector('#navbar-color-modes');
|
|
672
|
+
const navbarColor = document.querySelector('#navbar-color');
|
|
673
|
+
const navbarColorCode = document.querySelector('#navbar-color-code');
|
|
348
674
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
675
|
+
const themeBg = [
|
|
676
|
+
'bg-primary',
|
|
677
|
+
'bg-primary-subtle',
|
|
678
|
+
'bg-secondary',
|
|
679
|
+
'bg-secondary-subtle',
|
|
680
|
+
'bg-success',
|
|
681
|
+
'bg-success-subtle',
|
|
682
|
+
'bg-danger',
|
|
683
|
+
'bg-danger-subtle',
|
|
684
|
+
'bg-warning',
|
|
685
|
+
'bg-warning-subtle',
|
|
686
|
+
'bg-info',
|
|
687
|
+
'bg-info-subtle',
|
|
688
|
+
'bg-light',
|
|
689
|
+
'bg-light-subtle',
|
|
690
|
+
'bg-dark',
|
|
691
|
+
'bg-dark-subtle',
|
|
692
|
+
'bg-body-secondary',
|
|
693
|
+
'bg-body-tertiary',
|
|
694
|
+
'bg-body',
|
|
695
|
+
'bg-black',
|
|
696
|
+
'bg-white',
|
|
697
|
+
'bg-transparent',
|
|
698
|
+
];
|
|
373
699
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
},
|
|
380
|
-
);
|
|
700
|
+
// loop through each option themeBg array
|
|
701
|
+
document.querySelector('#navbar-color').innerHTML = themeBg.map((bg) => {
|
|
702
|
+
// return option element with value and text
|
|
703
|
+
return `<option value="${bg}" class="text-${bg}">${bg}</option>`;
|
|
704
|
+
});
|
|
381
705
|
|
|
382
|
-
|
|
383
|
-
|
|
706
|
+
let navbarColorMode = '';
|
|
707
|
+
let navbarBg = '';
|
|
384
708
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
709
|
+
function updateNavbar() {
|
|
710
|
+
appNavbar.setAttribute('data-bs-theme', navbarColorMode);
|
|
711
|
+
navbarColorCode.innerHTML = `<pre><code class="language-html"><nav class="app-header navbar navbar-expand ${navbarBg}" data-bs-theme="${navbarColorMode}">...</nav></code></pre>`;
|
|
712
|
+
}
|
|
389
713
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
714
|
+
navbarColorModes.addEventListener('input', (event) => {
|
|
715
|
+
navbarColorMode = event.target.value;
|
|
716
|
+
updateNavbar();
|
|
717
|
+
});
|
|
394
718
|
|
|
395
|
-
|
|
396
|
-
|
|
719
|
+
navbarColor.addEventListener('input', (event) => {
|
|
720
|
+
navbarBg = event.target.value;
|
|
397
721
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
722
|
+
themeBg.forEach((className) => {
|
|
723
|
+
appNavbar.classList.remove(className);
|
|
724
|
+
});
|
|
401
725
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
726
|
+
if (themeBg.includes(navbarBg)) {
|
|
727
|
+
appNavbar.classList.add(navbarBg);
|
|
728
|
+
}
|
|
405
729
|
|
|
406
|
-
|
|
407
|
-
});
|
|
730
|
+
updateNavbar();
|
|
408
731
|
});
|
|
409
|
-
|
|
410
|
-
</
|
|
411
|
-
|
|
412
|
-
</
|
|
732
|
+
});
|
|
733
|
+
</script>
|
|
734
|
+
<!--end::Script-->
|
|
735
|
+
</body>
|
|
736
|
+
<!--end::Body-->
|
|
737
|
+
</html>
|