admin-lte 4.0.0-alpha2 → 4.0.0-beta1
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/README.md +9 -4
- package/dist/assets/img/AdminLTEFullLogo.png +0 -0
- package/dist/css/adminlte.css +879 -418
- 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 +886 -416
- 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 +178 -96
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +3 -3
- package/dist/js/adminlte.min.js.map +1 -1
- package/dist/pages/UI/general.html +895 -0
- package/dist/pages/UI/timeline.html +309 -515
- package/dist/pages/docs/browser-support.html +265 -433
- package/dist/pages/docs/color-mode.html +482 -615
- package/dist/pages/docs/components/main-header.html +516 -703
- package/dist/pages/docs/components/main-sidebar.html +550 -0
- package/dist/pages/docs/faq.html +433 -0
- package/dist/pages/docs/how-to-contribute.html +474 -0
- package/dist/pages/docs/introduction.html +463 -0
- package/dist/pages/docs/javascript/treeview.html +453 -0
- package/dist/pages/docs/layout.html +293 -433
- package/dist/pages/docs/license.html +436 -0
- package/dist/pages/examples/lockscreen.html +69 -0
- package/dist/pages/examples/login-v2.html +88 -0
- package/dist/pages/examples/login.html +49 -100
- package/dist/pages/examples/register-v2.html +90 -0
- package/dist/pages/examples/register.html +50 -103
- package/dist/pages/forms/general.html +430 -454
- package/dist/pages/index.html +466 -740
- package/dist/pages/index2.html +672 -1041
- package/dist/pages/index3.html +371 -629
- package/dist/pages/layout/collapsed-sidebar.html +441 -0
- package/dist/pages/layout/fixed-complete.html +541 -0
- package/dist/pages/layout/fixed-sidebar.html +263 -446
- package/dist/pages/layout/layout-rtl.html +263 -445
- package/dist/pages/layout/logo-switch.html +234 -0
- package/dist/pages/layout/sidebar-mini.html +263 -445
- package/dist/pages/layout/unfixed-sidebar.html +263 -445
- package/dist/pages/tables/simple.html +314 -499
- package/dist/pages/widgets/cards.html +326 -629
- package/dist/pages/widgets/info-box.html +348 -674
- package/dist/pages/widgets/small-box.html +279 -465
- package/index.html +6 -10
- package/package.json +34 -30
- 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 +32 -26
- package/src/html/components/_scripts.astro +27 -28
- package/src/html/components/dashboard/_footer.astro +14 -8
- package/src/html/components/dashboard/_sidenav.astro +352 -113
- package/src/html/components/dashboard/_topbar.astro +99 -50
- 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} +30 -5
- package/src/html/components/docs/license.mdx +9 -0
- package/src/html/components/javascript/treeview.mdx +39 -0
- package/src/html/pages/UI/general.astro +1451 -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 +91 -42
- package/src/html/pages/docs/components/main-header.astro +134 -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 +568 -37
- package/src/html/pages/index.astro +403 -157
- package/src/html/pages/index2.astro +715 -255
- package/src/html/pages/index3.astro +298 -197
- 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 +226 -86
- package/src/html/pages/widgets/cards.astro +137 -72
- 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 +6 -5
- package/src/scss/_app-sidebar.scss +244 -70
- package/src/scss/_bootstrap-variables.scss +26 -22
- package/src/scss/_callouts.scss +6 -0
- package/src/scss/_cards.scss +32 -7
- package/src/scss/_compact-mode.scss +79 -0
- package/src/scss/_direct-chat.scss +5 -0
- package/src/scss/_dropdown.scss +1 -0
- package/src/scss/_info-box.scss +2 -10
- package/src/scss/_small-box.scss +0 -3
- package/src/scss/_timeline.scss +1 -0
- package/src/scss/_toasts.scss +33 -0
- package/src/scss/_variables.scss +32 -9
- package/src/scss/adminlte.scss +1 -2
- package/src/scss/mixins/_animations.scss +0 -5
- package/src/scss/pages/_lockscreen.scss +75 -0
- package/src/scss/pages/_login_and_register.scss +1 -3
- package/src/scss/parts/_core.scss +2 -0
- package/src/scss/parts/_extra-components.scss +1 -0
- package/src/scss/parts/_pages.scss +1 -0
- package/src/ts/adminlte.ts +3 -1
- package/src/ts/card-widget.ts +20 -52
- package/src/ts/direct-chat.ts +5 -4
- package/src/ts/fullscreen.ts +110 -0
- package/src/ts/layout.ts +5 -4
- package/src/ts/push-menu.ts +6 -22
- package/src/ts/treeview.ts +34 -11
- package/src/ts/util/index.ts +15 -13
- package/src/utils/index.js +20 -3
- package/.idea/AdminLTE.iml +0 -12
- package/.idea/codeStyles/Project.xml +0 -29
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -7
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -28
- package/.idea/vcs.xml +0 -6
- package/dist/pages/docs.html +0 -617
- package/src/html/components/docs/color-mode/navbar-html.md +0 -80
- package/src/html/components/docs/color-mode/toggle-script.md +0 -48
package/index.html
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html
|
|
2
|
+
<html>
|
|
3
3
|
<head>
|
|
4
|
-
<meta charset=
|
|
5
|
-
<meta http-equiv=
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
4
|
+
<meta charset='utf-8'>
|
|
5
|
+
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
|
7
6
|
<title>AdminLTE v4</title>
|
|
7
|
+
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
|
10
|
-
|
|
11
|
-
<a href="https://github.com/ColorlibHQ/AdminLTE/tree/v4-dev">Check once</a>
|
|
12
|
-
<script>
|
|
13
|
-
window.location = './dist/pages/index.html';
|
|
14
|
-
</script>
|
|
10
|
+
<script>window.location.href = './dist/pages/index.html'</script>
|
|
15
11
|
</body>
|
|
16
|
-
</html>
|
|
12
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "admin-lte",
|
|
3
3
|
"description": "Responsive open source admin dashboard and control panel.",
|
|
4
|
-
"version": "4.0.0-
|
|
4
|
+
"version": "4.0.0-beta1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colorlib <https://colorlib.com>",
|
|
7
7
|
"main": "dist/js/adminlte.min.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
|
|
11
11
|
"css-compile": "sass --style expanded --load-path=\"node_modules\" --source-map --embed-sources --no-error-css src/scss/:dist/css/",
|
|
12
12
|
"css-rtl": "cross-env NODE_ENV=RTL postcss --config src/config/postcss.config.mjs --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
|
|
13
|
-
"css-lint": "stylelint \"
|
|
13
|
+
"css-lint": "stylelint \"src/scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache --rd",
|
|
14
14
|
"css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
|
|
15
15
|
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
|
|
16
16
|
"css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"docs-compile": "astro --config src/config/astro.config.mjs build",
|
|
25
25
|
"docs-lint": "astro --config src/config/astro.config.mjs check",
|
|
26
26
|
"docs-format": "js-beautify --file \"dist/pages/**/*.html\"",
|
|
27
|
-
"docs-serve": "astro --config src/config/astro.config.mjs dev --open",
|
|
27
|
+
"docs-serve": "astro --config src/config/astro.config.mjs dev --open --port 3000",
|
|
28
28
|
"assets": "node src/config/assets.config.mjs",
|
|
29
29
|
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
|
|
30
30
|
"compile": "npm-run-all docs-compile docs-format assets css js",
|
|
@@ -57,36 +57,40 @@
|
|
|
57
57
|
"url": "https://github.com/ColorlibHQ/AdminLTE/issues"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@typescript
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
60
|
+
"@astrojs/check": "^0.6.0",
|
|
61
|
+
"@astrojs/mdx": "^3.0.0",
|
|
62
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^7.5.0",
|
|
64
|
+
"@typescript-eslint/parser": "^7.5.0",
|
|
65
|
+
"astro": "^4.5.17",
|
|
66
|
+
"autoprefixer": "^10.4.19",
|
|
67
|
+
"bootstrap": "^5.3.2",
|
|
66
68
|
"bundlewatch": "^0.3.3",
|
|
67
|
-
"clean-css-cli": "^5.6.
|
|
68
|
-
"concurrently": "^8.
|
|
69
|
+
"clean-css-cli": "^5.6.3",
|
|
70
|
+
"concurrently": "^8.2.2",
|
|
69
71
|
"cross-env": "^7.0.3",
|
|
70
|
-
"eslint": "^8.
|
|
71
|
-
"eslint-config-xo": "^0.
|
|
72
|
-
"eslint-config-xo-typescript": "^0.
|
|
73
|
-
"eslint-plugin-astro": "^0.
|
|
74
|
-
"eslint-plugin-import": "^2.
|
|
75
|
-
"eslint-plugin-unicorn": "^
|
|
72
|
+
"eslint": "^8.55.0",
|
|
73
|
+
"eslint-config-xo": "^0.44.0",
|
|
74
|
+
"eslint-config-xo-typescript": "^4.0.0",
|
|
75
|
+
"eslint-plugin-astro": "^0.34.0",
|
|
76
|
+
"eslint-plugin-import": "^2.29.1",
|
|
77
|
+
"eslint-plugin-unicorn": "^52.0.0",
|
|
76
78
|
"fs-extra": "^11.1.1",
|
|
77
|
-
"js-beautify": "^1.
|
|
78
|
-
"lockfile-lint": "^4.
|
|
79
|
-
"nodemon": "^
|
|
79
|
+
"js-beautify": "^1.15.1",
|
|
80
|
+
"lockfile-lint": "^4.13.2",
|
|
81
|
+
"nodemon": "^3.0.2",
|
|
80
82
|
"npm-run-all": "^4.1.5",
|
|
81
|
-
"postcss": "^8.4.
|
|
82
|
-
"postcss-cli": "^
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
83
|
+
"postcss": "^8.4.31",
|
|
84
|
+
"postcss-cli": "^11.0.0",
|
|
85
|
+
"prettier": "^3.2.5",
|
|
86
|
+
"prettier-plugin-astro": "^0.13.0",
|
|
87
|
+
"rollup": "^4.17.2",
|
|
88
|
+
"rtlcss": "^4.1.1",
|
|
89
|
+
"sass": "^1.77.1",
|
|
90
|
+
"stylelint": "^16.3.1",
|
|
91
|
+
"stylelint-config-twbs-bootstrap": "^14.1.0",
|
|
92
|
+
"terser": "^5.31.0",
|
|
93
|
+
"tslib": "^2.6.2",
|
|
94
|
+
"typescript": "^5.4.4"
|
|
91
95
|
}
|
|
92
96
|
}
|
|
Binary file
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig } from 'astro/config'
|
|
2
|
+
import mdx from '@astrojs/mdx'
|
|
2
3
|
|
|
3
4
|
// https://astro.build/config
|
|
4
5
|
export default defineConfig({
|
|
@@ -11,7 +12,8 @@ export default defineConfig({
|
|
|
11
12
|
theme: 'dark-plus'
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
|
-
|
|
15
|
+
integrations: [mdx()],
|
|
15
16
|
srcDir: './src/html',
|
|
17
|
+
cacheDir: './dist/pages',
|
|
16
18
|
outDir: './dist/pages'
|
|
17
19
|
})
|
|
@@ -1,31 +1,37 @@
|
|
|
1
1
|
---
|
|
2
|
-
const { title, path, isRtl } = Astro.props
|
|
3
|
-
const cssPath = isRtl ?
|
|
2
|
+
const { title, path, isRtl } = Astro.props;
|
|
3
|
+
const cssPath = isRtl ? ".rtl" : "";
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
|
-
<!-- Primary Meta Tags -->
|
|
8
7
|
<title>{title}</title>
|
|
9
|
-
|
|
10
|
-
<meta name="
|
|
11
|
-
<meta name="
|
|
12
|
-
<meta name="
|
|
13
|
-
<meta
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<!--
|
|
23
|
-
<link
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
<!--
|
|
31
|
-
<link rel="stylesheet" href=
|
|
8
|
+
<!--begin::Primary Meta Tags-->
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
10
|
+
<meta name="title" content={title} />
|
|
11
|
+
<meta name="author" content="ColorlibHQ" />
|
|
12
|
+
<meta
|
|
13
|
+
name="description"
|
|
14
|
+
content="AdminLTE is a Free Bootstrap 5 Admin Dashboard, 30 example pages using Vanilla JS."
|
|
15
|
+
/>
|
|
16
|
+
<meta
|
|
17
|
+
name="keywords"
|
|
18
|
+
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"
|
|
19
|
+
/>
|
|
20
|
+
<!--end::Primary Meta Tags-->
|
|
21
|
+
<!--begin::Fonts-->
|
|
22
|
+
<link
|
|
23
|
+
rel="stylesheet"
|
|
24
|
+
href="https://cdn.jsdelivr.net/npm/@fontsource/source-sans-3@5.0.12/index.css"
|
|
25
|
+
integrity="sha256-tXJfXfp6Ewt1ilPzLDtQnJV4hclT9XuaZUKyUvmyr+Q="
|
|
26
|
+
crossorigin="anonymous"
|
|
27
|
+
/>
|
|
28
|
+
<!--end::Fonts-->
|
|
29
|
+
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
|
30
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.3.0/styles/overlayscrollbars.min.css" integrity="sha256-dSokZseQNT08wYEWiz5iLI8QPlKxG+TswNRD8k35cpg=" crossorigin="anonymous">
|
|
31
|
+
<!--end::Third Party Plugin(OverlayScrollbars)-->
|
|
32
|
+
<!--begin::Third Party Plugin(Bootstrap Icons)-->
|
|
33
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.min.css" integrity="sha256-Qsx5lrStHZyR9REqhUF8iQt73X06c8LGIUPzpOhwRrI=" crossorigin="anonymous">
|
|
34
|
+
<!--end::Third Party Plugin(Bootstrap Icons)-->
|
|
35
|
+
<!--begin::Required Plugin(AdminLTE)-->
|
|
36
|
+
<link rel="stylesheet" href={path + "/css/adminlte" + cssPath + ".css"} />
|
|
37
|
+
<!--end::Required Plugin(AdminLTE)-->
|
|
@@ -1,40 +1,39 @@
|
|
|
1
1
|
---
|
|
2
|
-
const { path } = Astro.props
|
|
3
|
-
const adminlteJsUrl = path +
|
|
2
|
+
const { path } = Astro.props;
|
|
3
|
+
const adminlteJsUrl = path + "/js/adminlte.js";
|
|
4
4
|
---
|
|
5
|
-
<!-- OPTIONAL SCRIPTS -->
|
|
6
|
-
<!-- overlayscrollbars -->
|
|
7
|
-
<script src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.1.0/browser/overlayscrollbars.browser.es6.min.js" integrity="sha256-NRZchBuHZWSXldqrtAOeCZpucH/1n1ToJ3C8mSK95NU=" crossorigin="anonymous"></script>
|
|
8
5
|
|
|
9
|
-
<!--
|
|
10
|
-
<script src="https://cdn.jsdelivr.net/npm
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<!--
|
|
16
|
-
<!-- AdminLTE App -->
|
|
6
|
+
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
|
7
|
+
<script src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.3.0/browser/overlayscrollbars.browser.es6.min.js" integrity="sha256-H2VM7BKda+v2Z4+DRy69uknwxjyDRhszjXFhsL4gD3w=" crossorigin="anonymous"></script>
|
|
8
|
+
<!--end::Third Party Plugin(OverlayScrollbars)--><!--begin::Required Plugin(popperjs for Bootstrap 5)-->
|
|
9
|
+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha256-whL0tQWoY1Ku1iskqPFvmZ+CHsvmRWx/PIoEvIeWh4I=" crossorigin="anonymous"></script>
|
|
10
|
+
<!--end::Required Plugin(popperjs for Bootstrap 5)--><!--begin::Required Plugin(Bootstrap 5)-->
|
|
11
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js" integrity="sha256-YMa+wAM6QkVyz999odX7lPRxkoYAan8suedu4k2Zur8=" crossorigin="anonymous"></script>
|
|
12
|
+
<!--end::Required Plugin(Bootstrap 5)--><!--begin::Required Plugin(AdminLTE)-->
|
|
17
13
|
<script src={adminlteJsUrl} is:inline></script>
|
|
18
|
-
|
|
19
|
-
<!--
|
|
14
|
+
<!--end::Required Plugin(AdminLTE)-->
|
|
15
|
+
<!--begin::OverlayScrollbars Configure-->
|
|
20
16
|
<script is:inline>
|
|
21
|
-
const SELECTOR_SIDEBAR_WRAPPER =
|
|
17
|
+
const SELECTOR_SIDEBAR_WRAPPER = ".sidebar-wrapper";
|
|
22
18
|
const Default = {
|
|
23
|
-
scrollbarTheme:
|
|
24
|
-
scrollbarAutoHide:
|
|
25
|
-
scrollbarClickScroll: true
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
scrollbarTheme: "os-theme-light",
|
|
20
|
+
scrollbarAutoHide: "leave",
|
|
21
|
+
scrollbarClickScroll: true,
|
|
22
|
+
};
|
|
23
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
24
|
+
const sidebarWrapper = document.querySelector(SELECTOR_SIDEBAR_WRAPPER);
|
|
25
|
+
if (
|
|
26
|
+
sidebarWrapper &&
|
|
27
|
+
typeof OverlayScrollbarsGlobal?.OverlayScrollbars !== "undefined"
|
|
28
|
+
) {
|
|
31
29
|
OverlayScrollbarsGlobal.OverlayScrollbars(sidebarWrapper, {
|
|
32
30
|
scrollbars: {
|
|
33
31
|
theme: Default.scrollbarTheme,
|
|
34
32
|
autoHide: Default.scrollbarAutoHide,
|
|
35
|
-
clickScroll: Default.scrollbarClickScroll
|
|
36
|
-
}
|
|
37
|
-
})
|
|
33
|
+
clickScroll: Default.scrollbarClickScroll,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
38
36
|
}
|
|
39
|
-
})
|
|
37
|
+
});
|
|
40
38
|
</script>
|
|
39
|
+
<!--end::OverlayScrollbars Configure-->
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
---
|
|
2
|
-
const year = new Date().getFullYear()
|
|
2
|
+
const year = new Date().getFullYear();
|
|
3
3
|
---
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
<!--begin::Footer-->
|
|
5
6
|
<footer class="app-footer">
|
|
6
|
-
<!--
|
|
7
|
-
<div class="float-end d-none d-sm-inline">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
<!--begin::To the end-->
|
|
8
|
+
<div class="float-end d-none d-sm-inline">Anything you want</div>
|
|
9
|
+
<!--end::To the end-->
|
|
10
|
+
<!--begin::Copyright-->
|
|
11
|
+
<strong>
|
|
12
|
+
Copyright © 2014-{year}
|
|
13
|
+
<a href="https://adminlte.io" class="text-decoration-none">AdminLTE.io</a>.
|
|
14
|
+
</strong>
|
|
15
|
+
All rights reserved.
|
|
16
|
+
<!--end::Copyright-->
|
|
12
17
|
</footer>
|
|
18
|
+
<!--end::Footer-->
|