admin-lte 4.0.0-alpha1 → 4.0.0-alpha2

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.
Files changed (151) hide show
  1. package/.bundlewatch.config.json +2 -2
  2. package/.cache/.eslintcache +1 -0
  3. package/.cache/.stylelintcache +1 -0
  4. package/.eslintignore +1 -0
  5. package/.eslintrc.json +16 -0
  6. package/.stylelintrc.json +47 -0
  7. package/LICENSE +1 -1
  8. package/README.md +5 -6
  9. package/dist/css/adminlte.css +2383 -2754
  10. package/dist/css/adminlte.css.map +1 -1
  11. package/dist/css/adminlte.min.css +2 -2
  12. package/dist/css/adminlte.min.css.map +1 -1
  13. package/dist/css/{rtl/adminlte.rtl.css → adminlte.rtl.css} +2377 -2749
  14. package/dist/css/adminlte.rtl.css.map +1 -0
  15. package/dist/css/adminlte.rtl.min.css +7 -0
  16. package/dist/css/adminlte.rtl.min.css.map +1 -0
  17. package/dist/js/adminlte.js +173 -182
  18. package/dist/js/adminlte.js.map +1 -1
  19. package/dist/js/adminlte.min.js +6 -1
  20. package/dist/js/adminlte.min.js.map +1 -1
  21. package/dist/pages/UI/timeline.html +698 -0
  22. package/dist/pages/docs/browser-support.html +614 -0
  23. package/dist/pages/docs/color-mode.html +855 -0
  24. package/dist/pages/docs/components/main-header.html +926 -0
  25. package/dist/pages/docs/layout.html +617 -0
  26. package/dist/pages/docs.html +617 -0
  27. package/dist/pages/examples/login.html +114 -187
  28. package/dist/pages/examples/register.html +117 -190
  29. package/dist/pages/forms/general.html +598 -647
  30. package/dist/pages/index.html +1091 -0
  31. package/dist/pages/index2.html +1452 -0
  32. package/dist/pages/index3.html +950 -0
  33. package/dist/pages/layout/fixed-sidebar.html +590 -638
  34. package/dist/pages/layout/layout-rtl.html +623 -0
  35. package/dist/pages/layout/sidebar-mini.html +623 -0
  36. package/dist/pages/layout/unfixed-sidebar.html +589 -638
  37. package/dist/pages/tables/simple.html +837 -938
  38. package/dist/pages/widgets/cards.html +814 -698
  39. package/dist/pages/widgets/info-box.html +864 -951
  40. package/dist/pages/widgets/small-box.html +625 -678
  41. package/index.html +1 -6
  42. package/package.json +53 -36
  43. package/src/config/assets.config.mjs +8 -0
  44. package/src/config/astro.config.mjs +17 -0
  45. package/src/config/postcss.config.mjs +15 -0
  46. package/src/config/rollup.config.js +20 -0
  47. package/src/html/.eslintrc.json +24 -0
  48. package/src/html/.tsconfig.json +4 -0
  49. package/src/html/components/_head.astro +31 -0
  50. package/src/html/components/_scripts.astro +40 -0
  51. package/src/html/components/dashboard/_footer.astro +12 -0
  52. package/src/html/components/dashboard/_sidenav.astro +323 -0
  53. package/src/{partials/dashboard/_topbar.html → html/components/dashboard/_topbar.astro} +20 -46
  54. package/src/html/components/docs/browser-support/index.md +22 -0
  55. package/src/html/components/docs/color-mode/navbar-html.md +80 -0
  56. package/src/{partials/_scripts.html → html/components/docs/color-mode/toggle-script.md} +5 -52
  57. package/src/html/components/docs/components/main-header-1.md +159 -0
  58. package/src/html/components/docs/introduction/index.md +35 -0
  59. package/src/html/env.d.ts +1 -0
  60. package/src/html/pages/UI/timeline.astro +158 -0
  61. package/src/html/pages/docs/browser-support.astro +58 -0
  62. package/src/html/pages/docs/color-mode.astro +224 -0
  63. package/src/html/pages/docs/components/main-header.astro +232 -0
  64. package/src/html/pages/docs/index.astro +58 -0
  65. package/src/html/pages/docs/layout.astro +77 -0
  66. package/src/{pages/examples/login.html → html/pages/examples/login.astro} +13 -13
  67. package/src/{pages/examples/register.html → html/pages/examples/register.astro} +13 -13
  68. package/src/{pages/forms/general.html → html/pages/forms/general.astro} +26 -30
  69. package/src/{index.html → html/pages/index.astro} +266 -189
  70. package/src/{index2.html → html/pages/index2.astro} +229 -284
  71. package/src/{index3.html → html/pages/index3.astro} +151 -169
  72. package/src/{pages/layout/fixed-sidebar.html → html/pages/layout/fixed-sidebar.astro} +26 -29
  73. package/src/html/pages/layout/layout-rtl.astro +84 -0
  74. package/src/html/pages/layout/sidebar-mini.astro +83 -0
  75. package/src/{pages/layout/unfixed-sidebar.html → html/pages/layout/unfixed-sidebar.astro} +26 -30
  76. package/src/{pages/tables/simple.html → html/pages/tables/simple.astro} +26 -30
  77. package/src/html/pages/widgets/cards.astro +308 -0
  78. package/src/{pages/widgets/info-box.html → html/pages/widgets/info-box.astro} +26 -31
  79. package/src/html/pages/widgets/small-box.astro +121 -0
  80. package/src/scss/_app-footer.scss +15 -0
  81. package/src/scss/_app-header.scss +26 -0
  82. package/src/scss/_app-main.scss +20 -0
  83. package/src/scss/_app-sidebar.scss +429 -0
  84. package/src/scss/{_wrapper.scss → _app-wrapper.scss} +8 -4
  85. package/src/scss/_bootstrap-variables.scss +41 -26
  86. package/src/scss/_callouts.scss +34 -0
  87. package/src/scss/_cards.scss +30 -224
  88. package/src/scss/_direct-chat.scss +15 -9
  89. package/src/scss/_docs.scss +4 -0
  90. package/src/scss/_dropdown.scss +7 -5
  91. package/src/scss/_info-box.scss +2 -6
  92. package/src/scss/_miscellaneous.scss +0 -455
  93. package/src/scss/_mixins.scss +0 -6
  94. package/src/scss/_root.scss +2 -58
  95. package/src/scss/_small-box.scss +15 -38
  96. package/src/scss/_table.scss +0 -50
  97. package/src/scss/_timeline.scss +120 -0
  98. package/src/scss/_variables-dark.scss +15 -8
  99. package/src/scss/_variables.scss +30 -135
  100. package/src/scss/adminlte.scss +1 -1
  101. package/src/scss/mixins/_animations.scss +4 -0
  102. package/src/scss/mixins/_scrollbar.scss +2 -2
  103. package/src/scss/pages/_login_and_register.scss +1 -2
  104. package/src/scss/parts/_core.scss +7 -15
  105. package/src/scss/parts/_extra-components.scss +1 -2
  106. package/src/ts/adminlte.ts +0 -2
  107. package/src/ts/card-widget.ts +42 -18
  108. package/src/ts/direct-chat.ts +33 -8
  109. package/src/ts/layout.ts +6 -4
  110. package/src/ts/push-menu.ts +94 -145
  111. package/src/ts/treeview.ts +17 -23
  112. package/src/ts/util/index.ts +2 -2
  113. package/src/utils/index.js +11 -0
  114. package/tsconfig.json +11 -3
  115. package/.stylelintrc +0 -40
  116. package/CHECKLIST.md +0 -0
  117. package/dist/css/rtl/adminlte.rtl.css.map +0 -1
  118. package/dist/css/rtl/adminlte.rtl.min.css +0 -7
  119. package/dist/css/rtl/adminlte.rtl.min.css.map +0 -1
  120. package/dist/index.html +0 -1065
  121. package/dist/index2.html +0 -1629
  122. package/dist/index3.html +0 -1015
  123. package/gulpfile.js +0 -315
  124. package/src/pages/widgets/cards.html +0 -143
  125. package/src/pages/widgets/small-box.html +0 -124
  126. package/src/partials/_head.html +0 -31
  127. package/src/partials/dashboard/_footer.html +0 -9
  128. package/src/partials/dashboard/_sidenav.html +0 -244
  129. package/src/scss/_brand-container.scss +0 -72
  130. package/src/scss/_content-header.scss +0 -9
  131. package/src/scss/_content-wrapper.scss +0 -6
  132. package/src/scss/_content.scss +0 -3
  133. package/src/scss/_layout-fixed.scss +0 -43
  134. package/src/scss/_layout-mobile.scss +0 -22
  135. package/src/scss/_main-footer.scss +0 -28
  136. package/src/scss/_main-header.scss +0 -40
  137. package/src/scss/_main-sidebar.scss +0 -63
  138. package/src/scss/_nav-sidebar.scss +0 -66
  139. package/src/scss/_products.scss +0 -55
  140. package/src/scss/_sidebar-close.scss +0 -6
  141. package/src/scss/_sidebar-collapse.scss +0 -120
  142. package/src/scss/_sidebar-horizontal.scss +0 -67
  143. package/src/scss/_sidebar.scss +0 -11
  144. package/src/scss/_users-list.scss +0 -45
  145. package/src/scss/mixins/_brand-variant.scss +0 -9
  146. package/src/scss/mixins/_cards.scss +0 -53
  147. package/src/scss/mixins/_direct-chat.scss +0 -17
  148. package/src/scss/mixins/_header-variant.scss +0 -22
  149. package/src/scss/mixins/_nav-treeview-dark.scss +0 -87
  150. package/src/scss/mixins/_nav-treeview-light.scss +0 -89
  151. package/src/scss/mixins/_sidebar-color.scss +0 -9
package/gulpfile.js DELETED
@@ -1,315 +0,0 @@
1
- /* eslint-env node */
2
-
3
- const autoprefix = require('autoprefixer')
4
- const browserSync = require('browser-sync').create()
5
- const del = require('del')
6
- const { src, dest, lastRun, watch, series, parallel } = require('gulp')
7
- const cleanCss = require('gulp-clean-css')
8
- const gulpESLintNew = require('gulp-eslint-new')
9
- const fileinclude = require('gulp-file-include')
10
- const formatHTML = require('gulp-format-html')
11
- const validator = require('gulp-html')
12
- const gulpIf = require('gulp-if')
13
- const postcss = require('gulp-postcss')
14
- const rename = require('gulp-rename')
15
- const sass = require('gulp-sass')(require('sass'))
16
- const gulpStylelint = require('@ronilaukkarinen/gulp-stylelint')
17
- const terser = require('gulp-terser')
18
- const rollup = require('rollup')
19
- const rollupTypescript = require('@rollup/plugin-typescript')
20
- const rtlcss = require('rtlcss')
21
-
22
- const pkg = require('./package')
23
- const year = new Date().getFullYear()
24
- const banner = `/*!
25
- * AdminLTE v${pkg.version} (${pkg.homepage})
26
- * Copyright 2014-${year} ${pkg.author}
27
- * Licensed under MIT (https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
28
- */`
29
-
30
- // Define paths
31
-
32
- const paths = {
33
- dist: {
34
- base: './dist/',
35
- css: './dist/css',
36
- js: './dist/js',
37
- html: './dist/pages',
38
- assets: './dist/assets'
39
- },
40
- src: {
41
- base: './src/',
42
- html: './src/pages/**/*.html',
43
- assets: './src/assets/**/*.*',
44
- partials: './src/partials/**/*.html',
45
- scss: './src/scss',
46
- ts: './src/ts'
47
- },
48
- temp: {
49
- base: './.temp/',
50
- css: './.temp/css',
51
- js: './.temp/js',
52
- html: './.temp/pages',
53
- assets: './.temp/assets'
54
- }
55
- }
56
-
57
- const sassOptions = {
58
- outputStyle: 'expanded',
59
- includePaths: ['./node_modules/']
60
- }
61
-
62
- const postcssOptions = [
63
- autoprefix({ cascade: false })
64
- ]
65
-
66
- const postcssRtlOptions = [
67
- autoprefix({ cascade: false }),
68
- rtlcss({})
69
- ]
70
-
71
- // From here Dev mode will Start
72
-
73
- // Lint SCSS
74
- const lintScss = () => src([paths.src.scss + '/**/*.scss'], { since: lastRun(lintScss) })
75
- .pipe(gulpStylelint({
76
- failAfterError: false,
77
- reporters: [
78
- { formatter: 'string', console: true }
79
- ],
80
- debug: true
81
- }))
82
-
83
- // Compile SCSS
84
- const scss = () => src(paths.src.scss + '/adminlte.scss', { sourcemaps: true })
85
- .pipe(sass(sassOptions).on('error', sass.logError))
86
- .pipe(postcss(postcssOptions))
87
- .pipe(dest(paths.temp.css, { sourcemaps: '.' }))
88
- .pipe(browserSync.stream())
89
-
90
- // Compile SCSS Dark
91
- // const scssDark = () => src(paths.src.scss + '/dark/adminlte-dark-addon.scss', { sourcemaps: true })
92
- // .pipe(sass(sassOptions).on('error', sass.logError))
93
- // .pipe(postcss(postcssOptions))
94
- // .pipe(dest(paths.temp.css + '/dark', { sourcemaps: '.' }))
95
- // .pipe(browserSync.stream())
96
-
97
- // Lint TS
98
- function isFixed(file) {
99
- // Has ESLint fixed the file contents?
100
- return file.eslint !== null && file.eslint.fixed
101
- }
102
-
103
- const lintTs = () => src([paths.src.ts + '/**/*.ts'], { since: lastRun(lintTs) })
104
- .pipe(gulpESLintNew({ fix: true }))
105
- .pipe(gulpIf(isFixed, dest(paths.src.ts)))
106
- .pipe(gulpESLintNew.format())
107
- .pipe(gulpESLintNew.failAfterError())
108
-
109
- // Compile TS
110
- const tsCompile = () =>
111
- rollup.rollup({
112
- input: paths.src.ts + '/adminlte.ts',
113
- output: {
114
- banner
115
- },
116
- plugins: [
117
- rollupTypescript()
118
- ]
119
- }).then(bundle => bundle.write({
120
- file: paths.temp.js + '/adminlte.js',
121
- format: 'umd',
122
- name: 'adminlte',
123
- sourcemap: true
124
- }))
125
-
126
- const assets = () => src([paths.src.assets])
127
- .pipe(dest(paths.temp.assets))
128
- .pipe(browserSync.stream())
129
-
130
- const index = () => src([paths.src.base + '*.html'])
131
- .pipe(fileinclude({
132
- prefix: '@@',
133
- basepath: './src/partials/',
134
- context: {
135
- environment: 'development'
136
- }
137
- }))
138
- .pipe(formatHTML())
139
- .pipe(dest(paths.temp.base))
140
- .pipe(browserSync.stream())
141
-
142
- const html = () => src([paths.src.html])
143
- .pipe(fileinclude({
144
- prefix: '@@',
145
- basepath: './src/partials/',
146
- context: {
147
- environment: 'development'
148
- }
149
- }))
150
- .pipe(formatHTML())
151
- .pipe(dest(paths.temp.html))
152
- .pipe(browserSync.stream())
153
-
154
- const lintHtml = () => src([paths.temp.html + '/**/*.html', paths.temp.base + '*.html'], { since: lastRun(lintHtml) })
155
- .pipe(validator())
156
-
157
- const serve = () => {
158
- browserSync.init({
159
- server: paths.temp.base
160
- })
161
-
162
- watch([paths.src.scss], series(lintScss))
163
- watch([paths.src.scss + '/**/*.scss', '!' + paths.src.scss + '/bootstrap-dark/**/*.scss', '!' + paths.src.scss + '/dark/**/*.scss'], series(scss))
164
- watch([paths.src.scss + '/bootstrap-dark/', paths.src.scss + '/dark/'])
165
- watch([paths.src.ts], series(lintTs, tsCompile))
166
- watch([paths.src.html, paths.src.base + '*.html', paths.src.partials], series(html, index, lintHtml))
167
- watch([paths.src.assets], series(assets))
168
- }
169
-
170
- // From here Dist will Start
171
-
172
- // Clean
173
- const cleanDist = () => del([paths.dist.base])
174
-
175
- const lintDistScss = () => src([paths.src.scss + '/**/*.scss'], ['./.temp/**/*.css'])
176
- .pipe(gulpStylelint({
177
- failAfterError: false,
178
- reporters: [
179
- { formatter: 'string', console: true }
180
- ]
181
- }))
182
-
183
- // Compile and copy all scss/css
184
- const copyDistCssAll = () => src([paths.src.scss + '/**/*.scss'], {
185
- base: paths.src.scss,
186
- sourcemaps: true
187
- })
188
- .pipe(sass(sassOptions).on('error', sass.logError))
189
- .pipe(postcss(postcssOptions))
190
- .pipe(dest(paths.dist.css, { sourcemaps: '.' }))
191
-
192
- const copyDistCssRtl = () => src(paths.dist.css + '/*.css', { sourcemaps: true })
193
- .pipe(postcss(postcssRtlOptions))
194
- .pipe(rename({ suffix: '.rtl' }))
195
- .pipe(dest(paths.dist.css + '/rtl', { sourcemaps: '.' }))
196
-
197
- // Minify CSS
198
- const minifyDistCss = () => src([
199
- paths.dist.css + '/**/*.css'
200
- ], {
201
- base: paths.dist.css,
202
- sourcemaps: true
203
- })
204
- .pipe(cleanCss({ format: { breakWith: 'lf' } }))
205
- .pipe(rename({ suffix: '.min' }))
206
- .pipe(dest(paths.dist.css, { sourcemaps: '.' }))
207
-
208
- const lintDistTs = () => src([paths.src.ts + '/**/*.ts'])
209
- .pipe(gulpESLintNew())
210
- .pipe(gulpESLintNew.failAfterError())
211
-
212
- // Compile and copy ts/js
213
- const copyDistJs = () =>
214
- rollup.rollup({
215
- input: paths.src.ts + '/adminlte.ts',
216
- output: {
217
- banner
218
- },
219
- plugins: [
220
- rollupTypescript()
221
- ]
222
- }).then(bundle => bundle.write({
223
- file: paths.dist.js + '/adminlte.js',
224
- format: 'umd',
225
- name: 'adminlte',
226
- sourcemap: true
227
- }))
228
-
229
- // Minify JS
230
- const minifyDistJs = () => src(paths.dist.js + '/adminlte.js', { sourcemaps: true })
231
- .pipe(terser({ compress: { passes: 2 } }))
232
- .pipe(rename({ suffix: '.min' }))
233
- .pipe(dest(paths.dist.js, { sourcemaps: '.' }))
234
-
235
- // Copy assets
236
- const copyDistAssets = () => src(paths.src.assets)
237
- .pipe(dest(paths.dist.assets))
238
-
239
- // Copy index
240
- const copyDistHtmlIndex = () => src([paths.src.base + '*.html'])
241
- .pipe(fileinclude({
242
- prefix: '@@',
243
- basepath: './src/partials/',
244
- context: {
245
- environment: 'production'
246
- }
247
- }))
248
- .pipe(formatHTML())
249
- .pipe(dest(paths.dist.base))
250
-
251
- // Copy Html
252
- const copyDistHtml = () => src([paths.src.html])
253
- .pipe(fileinclude({
254
- prefix: '@@',
255
- basepath: './src/partials/',
256
- context: {
257
- environment: 'production'
258
- }
259
- }))
260
- .pipe(formatHTML())
261
- .pipe(dest(paths.dist.html))
262
-
263
- // HTML Lint
264
- // Copy index for Lint
265
- const copyDistHtmlIndexForLint = () => src([paths.src.base + '*.html'])
266
- .pipe(fileinclude({
267
- prefix: '@@',
268
- basepath: './src/partials/',
269
- context: {
270
- environment: 'production'
271
- }
272
- }))
273
- .pipe(formatHTML())
274
- .pipe(dest(paths.temp.base))
275
- // Copy Html for Lint
276
- const copyDistHtmlForLint = () => src([paths.src.html])
277
- .pipe(fileinclude({
278
- prefix: '@@',
279
- basepath: './src/partials/',
280
- context: {
281
- environment: 'production'
282
- }
283
- }))
284
- .pipe(formatHTML())
285
- .pipe(dest(paths.temp.html))
286
- // Now Lint
287
- const lintDistHtmlCopied = () => src([paths.temp.html + '/**/*.html', paths.temp.base + '*.html'])
288
- .pipe(validator())
289
-
290
- const lintDistHtml = series(copyDistHtmlIndexForLint, copyDistHtmlForLint, lintDistHtmlCopied)
291
-
292
- const lint = parallel(
293
- lintDistScss,
294
- lintDistTs,
295
- lintDistHtml
296
- )
297
- exports.lint = lint
298
-
299
- const compile = series(
300
- cleanDist,
301
- parallel(
302
- series(copyDistCssAll, copyDistCssRtl, minifyDistCss),
303
- series(copyDistJs, minifyDistJs),
304
- copyDistAssets,
305
- copyDistHtmlIndex,
306
- copyDistHtml
307
- )
308
- )
309
- exports.compile = compile
310
-
311
- // For Production Release
312
- exports.production = series(lint, compile)
313
-
314
- // Default - Only for light mode AdminLTE
315
- exports.default = series(scss, tsCompile, html, index, assets, serve)
@@ -1,143 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <!-- For RTL verison -->
4
- <!-- <html lang="en" dir="rtl"> -->
5
- <head>
6
- @@include('./_head.html', {
7
- "path": "../..",
8
- "title": "AdminLTE 4 | Widgets - Cards"
9
- })
10
- </head>
11
- <body class="layout-fixed">
12
- <div class="wrapper">
13
- @@include('./dashboard/_topbar.html', {
14
- "path": "../.."
15
- })
16
-
17
- @@include('./dashboard/_sidenav.html', {
18
- "mainPage": "widgets",
19
- "page": "cards",
20
- "path": "../.."
21
- })
22
- <!-- Main content -->
23
- <main class="content-wrapper">
24
- <div class="content-header">
25
- <div class="container-fluid">
26
- <div class="row mb-2">
27
- <div class="col-sm-6">
28
- <h3>Cards</h3>
29
- </div>
30
- <div class="col-sm-6">
31
- <ol class="breadcrumb float-sm-end">
32
- <li class="breadcrumb-item"><a href="#">Home</a></li>
33
- <li class="breadcrumb-item active" aria-current="page">Cards</li>
34
- </ol>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
39
- <!-- Main content -->
40
- <div class="content">
41
- <div class="container-fluid">
42
- <h4 class="mb-2 mt-4">Cards</h4>
43
- <h5 class="mb-2">Abilities</h5>
44
- <div class="row">
45
- <div class="col-md-3">
46
- <div class="card card-primary collapsed-card">
47
- <div class="card-header">
48
- <h3 class="card-title">Expandable</h3>
49
-
50
- <div class="card-tools">
51
- <button type="button" class="btn btn-tool" data-lte-toggle="card-collapse"><i class="fa-solid fa-plus"></i>
52
- </button>
53
- </div>
54
- <!-- /.card-tools -->
55
- </div>
56
- <!-- /.card-header -->
57
- <div class="card-body">
58
- The body of the card
59
- </div>
60
- <!-- /.card-body -->
61
- </div>
62
- <!-- /.card -->
63
- </div>
64
- <!-- /.col -->
65
- <div class="col-md-3">
66
- <div class="card card-success">
67
- <div class="card-header">
68
- <h3 class="card-title">Collapsable</h3>
69
-
70
- <div class="card-tools">
71
- <button type="button" class="btn btn-tool" data-lte-toggle="card-collapse"><i class="fa-solid fa-minus"></i>
72
- </button>
73
- </div>
74
- <!-- /.card-tools -->
75
- </div>
76
- <!-- /.card-header -->
77
- <div class="card-body">
78
- The body of the card
79
- </div>
80
- <!-- /.card-body -->
81
- </div>
82
- <!-- /.card -->
83
- </div>
84
- <!-- /.col -->
85
- <div class="col-md-3">
86
- <div class="card card-warning">
87
- <div class="card-header">
88
- <h3 class="card-title">Removable</h3>
89
-
90
- <div class="card-tools">
91
- <button type="button" class="btn btn-tool" data-lte-dismiss="card-remove"><i class="fa-solid fa-times"></i>
92
- </button>
93
- </div>
94
- <!-- /.card-tools -->
95
- </div>
96
- <!-- /.card-header -->
97
- <div class="card-body">
98
- The body of the card
99
- </div>
100
- <!-- /.card-body -->
101
- </div>
102
- <!-- /.card -->
103
- </div>
104
- <!-- /.col -->
105
- <div class="col-md-3">
106
- <div class="card card-danger">
107
- <div class="card-header">
108
- <h3 class="card-title">Maximizable</h3>
109
-
110
- <div class="card-tools">
111
- <button type="button" class="btn btn-tool" data-lte-toggle="card-maximize"><i class="fa-solid fa-expand"></i>
112
- </button>
113
- </div>
114
- <!-- /.card-tools -->
115
- </div>
116
- <!-- /.card-header -->
117
- <div class="card-body">
118
- The body of the card
119
- </div>
120
- <!-- /.card-body -->
121
- </div>
122
- <!-- /.card -->
123
- </div>
124
- <!-- /.col -->
125
- </div>
126
- <!-- /.row -->
127
- </div><!-- /.container-fluid -->
128
- </div>
129
- <!-- /.content -->
130
- </main>
131
- <!-- /.content-wrapper -->
132
-
133
- @@include('./dashboard/_footer.html', {
134
- "path": "../.."
135
- })
136
- </div>
137
- <!-- ./wrapper -->
138
-
139
- @@include('./_scripts.html', {
140
- "path": "../.."
141
- })
142
- </body>
143
- </html>
@@ -1,124 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <!-- For RTL verison -->
4
- <!-- <html lang="en" dir="rtl"> -->
5
- <head>
6
- @@include('./_head.html', {
7
- "path": "../..",
8
- "title": "AdminLTE 4 | Widgets - Small Box"
9
- })
10
- <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
11
- </head>
12
- <body class="layout-fixed">
13
- <div class="wrapper">
14
- @@include('./dashboard/_topbar.html', {
15
- "path": "../.."
16
- })
17
-
18
- @@include('./dashboard/_sidenav.html', {
19
- "mainPage": "widgets",
20
- "page": "small-box",
21
- "path": "../.."
22
- })
23
- <!-- Main content -->
24
- <main class="content-wrapper">
25
- <div class="content-header">
26
- <div class="container-fluid">
27
- <div class="row mb-2">
28
- <div class="col-sm-6">
29
- <h3>Small Box</h3>
30
- </div>
31
- <div class="col-sm-6">
32
- <ol class="breadcrumb float-sm-end">
33
- <li class="breadcrumb-item"><a href="#">Home</a></li>
34
- <li class="breadcrumb-item active" aria-current="page">Small Box</li>
35
- </ol>
36
- </div>
37
- </div>
38
- </div>
39
- </div>
40
- <!-- Main content -->
41
- <div class="content">
42
- <div class="container-fluid">
43
- <!-- Small Box (Stat card) -->
44
- <h5 class="mb-2">Small Box</h5>
45
- <div class="row">
46
- <div class="col-lg-3 col-6">
47
- <!-- small box -->
48
- <div class="small-box text-bg-primary">
49
- <div class="inner">
50
- <h3>150</h3>
51
-
52
- <p>New Orders</p>
53
- </div>
54
- <div class="icon">
55
- <i class="inner-icon ion ion-bag"></i>
56
- </div>
57
- <a href="#" class="small-box-footer">More info <i class="fa-solid fa-arrow-circle-right"></i></a>
58
- </div>
59
- </div>
60
- <!-- ./col -->
61
- <div class="col-lg-3 col-6">
62
- <!-- small box -->
63
- <div class="small-box text-bg-success">
64
- <div class="inner">
65
- <h3>53<sup class="fs-5">%</sup></h3>
66
-
67
- <p>Bounce Rate</p>
68
- </div>
69
- <div class="icon">
70
- <i class="inner-icon ion ion-stats-bars"></i>
71
- </div>
72
- <a href="#" class="small-box-footer">More info <i class="fa-solid fa-arrow-circle-right"></i></a>
73
- </div>
74
- </div>
75
- <!-- ./col -->
76
- <div class="col-lg-3 col-6">
77
- <!-- small box -->
78
- <div class="small-box text-bg-warning">
79
- <div class="inner">
80
- <h3>44</h3>
81
-
82
- <p>User Registrations</p>
83
- </div>
84
- <div class="icon">
85
- <i class="inner-icon ion ion-person-add"></i>
86
- </div>
87
- <a href="#" class="small-box-footer">More info <i class="fa-solid fa-arrow-circle-right"></i></a>
88
- </div>
89
- </div>
90
- <!-- ./col -->
91
- <div class="col-lg-3 col-6">
92
- <!-- small box -->
93
- <div class="small-box text-bg-danger">
94
- <div class="inner">
95
- <h3>65</h3>
96
-
97
- <p>Unique Visitors</p>
98
- </div>
99
- <div class="icon">
100
- <i class="inner-icon ion ion-pie-graph"></i>
101
- </div>
102
- <a href="#" class="small-box-footer">More info <i class="fa-solid fa-arrow-circle-right"></i></a>
103
- </div>
104
- </div>
105
- <!-- ./col -->
106
- </div>
107
- <!-- /.row -->
108
- </div><!-- /.container-fluid -->
109
- </div>
110
- <!-- /.content -->
111
- </main>
112
- <!-- /.content-wrapper -->
113
-
114
- @@include('./dashboard/_footer.html', {
115
- "path": "../.."
116
- })
117
- </div>
118
- <!-- ./wrapper -->
119
-
120
- @@include('./_scripts.html', {
121
- "path": "../.."
122
- })
123
- </body>
124
- </html>
@@ -1,31 +0,0 @@
1
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
- <!-- Primary Meta Tags -->
3
- <title>@@title</title>
4
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
- <meta name="title" content="@@title">
6
- <meta name="author" content="ColorlibHQ">
7
- <meta name="description" content="AdminLTE is a Free Bootstrap 5 Admin Dashboard featuring over 800 components, 10+ plugins and 20 example pages using Vanilla JS.">
8
- <meta name="keywords" 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" />
9
- <!-- By adding @@path/css/dark/adminlte-dark-addon.css then the page supports both dark color schemes, and the page author prefers / default is light. -->
10
- <meta name="color-scheme" content="light dark">
11
- <!-- By adding @@path/css/dark/adminlte-dark-addon.css then the page supports both dark color schemes, and the page author prefers / default is dark. -->
12
- <!-- <meta name="color-scheme" content="dark light"> -->
13
-
14
- <!-- OPTIONAL LINKS -->
15
-
16
- <!-- Google Font: Source Sans Pro -->
17
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback">
18
-
19
- <!-- overlayScrollbars -->
20
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.0.3/styles/overlayscrollbars.min.css" integrity="sha256-57dSpDS5wv9AYEEmLxcPfrVnygNCdqDWOXyoR46L9H0=" crossorigin="anonymous">
21
-
22
- <!-- Font Awesome -->
23
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.1/css/all.min.css" integrity="sha256-Z1K5uhUaJXA7Ll0XrZ/0JhX4lAtZFpT6jkKrEDT0drU=" crossorigin="anonymous">
24
-
25
- <!-- REQUIRED LINKS -->
26
-
27
- <!-- Theme style -->
28
- <link rel="stylesheet" href="@@path/css/adminlte.css">
29
-
30
- <!-- For RTL verison use @@path/css/rtl/adminlte.rtl.css, remove dist/css/adminlte.css -->
31
- <!-- <link rel="stylesheet" href="@@path/css/rtl/adminlte.rtl.css""> -->
@@ -1,9 +0,0 @@
1
- <!-- Main Footer -->
2
- <footer class="main-footer">
3
- <!-- To the end -->
4
- <div class="float-end d-none d-sm-inline">
5
- Anything you want
6
- </div>
7
- <!-- Default to the start -->
8
- <strong>Copyright &copy; 2014-2021 <a href="https://adminlte.io">AdminLTE.io</a>.</strong> All rights reserved.
9
- </footer>