Commit graph

39 commits

Author SHA1 Message Date
XhmikosR 4101916d14 Switch to String constants
Should result in better compression (aprox. -10% from the compressed adminlte.min.js) and should be easier to see unused/undefined variables on lint stage.
2020-06-13 10:23:56 +03:00
XhmikosR 5a1ae0c35e
Cache selectors when possible. (#2790) 2020-06-04 20:06:38 +02:00
XhmikosR 13c857679b
Layout.js: reuse constant (#2778) 2020-06-02 22:38:50 +02:00
XhmikosR e848621b32
Remove unneeded IIFEs (#2774) 2020-06-02 15:23:22 +02:00
XhmikosR be3631930d Fix regression after 27ff009 2020-06-02 06:30:40 +03:00
XhmikosR 3478837aab Layout.js: Simplify else 2020-06-02 06:30:39 +03:00
XhmikosR 187a01a8ee Return early. 2020-06-02 06:30:39 +03:00
REJack 0641a8442d
Fix ESLint errors (#2763)
* fix dist/js/demo.js eslint error

* fix Layout.js eslint error

* remove unnecessary semicolon

* remove unexpected token

* add missing radix for parseInt in Layout.js
2020-06-01 21:21:43 +02:00
XhmikosR 27ff009494 Comply to the ESLint rules. 2020-06-01 14:26:08 +03:00
REJack d20dd7c13a replace transition to opacity for sidebar 2020-05-03 13:22:59 +02:00
REJack 26ce58fe28 fix whitespace with fixed navbar & footer 2020-04-27 19:28:05 +02:00
REJack ed6ae4dbb2 replaced fake spaces with real spaces 2020-04-01 13:49:55 +02:00
REJack 14719bdd88 added panelAutoHeight option to Layout.js 2020-03-10 09:28:26 +01:00
REJack b7efadbbca
enhanced Layout.js with options for login auto height with interval ability 2020-02-25 14:25:05 +01:00
REJack 533a5917f5
enhanced register & login page min-height 2020-02-25 09:46:35 +01:00
REJack 2473021861
fixed Layout('init') for external use 2019-12-12 09:49:02 +01:00
REJack 259d67ef8e
some small control sidebar fixes
- fixed content height calculation with overlapping control sidebar
- fixed collapse/show functions (functions was swapped)
2019-11-22 10:23:17 +01:00
REJack e24c4d01ff
some small js option fixes 2019-11-17 11:53:47 +01:00
REJack 373c131092
fixed fixLayoutHeight on pushmenu collapse/expand event & removed auto expand sidebar on resize 2019-10-23 09:11:47 +02:00
Raphael Jackstadt 29a3ba3953
fixed content height calc with less sidebar content (#2332) 2019-10-16 08:34:07 +02:00
REJack bd982813c4
fixed content height calculation 2019-10-12 11:36:52 +02:00
REJack 6099356207
enhanced login/register box positioning
- added min-height update for login-/register-page in Layout.js
- updated login-/register-page to display flex
- updated login/register demo to load adminlte.min.js
2019-09-23 11:39:30 +02:00
REJack 683a015a4e
removed console.log from Layout.js 2019-09-16 14:10:12 +02:00
REJack 7d35fb3b3e
readded hold-transition remove in Layout.js 2019-09-09 14:27:58 +02:00
REJack a99c9b7959
fixed sidebar state remember to work in both ways 2019-09-05 08:15:35 +02:00
REJack 0a1338086a
fixed content-height calculation 2019-09-03 12:36:55 +02:00
REJack eeeee1fbbf
enhanced ControlSidebar
- moved control sidebar related functions from Layout.js to ControlSidebar.js
- added own scrollbar options
- added ability to set control sidebar height while scrolling
- fixed overlapping with fixed footer/navbar
2019-08-30 11:45:07 +02:00
REJack f21bf2fb4f
enhanced responsive fixed-header/-footer #2162
- removed js margin-top/-bottom generation
- added layout-navbar-not-fixed & layout-footer-not-fixed incl. responsive variants (eg. layout-*-navbar-not-fixed, layout-*-footer-not-fixed)
- added responsive variants for fixed (eg. layout-*-navbar-fixed, layout-*-footer-fixed)
- added default border-bottom to main-header navbar like main-footer
- removed .border-bottom from main-header navbar in demo pages
2019-07-12 20:00:43 +02:00
REJack 132d00da32
added support for fixed Table Header (thead th)
- rebuild table scss code to a correct scss/sass code (nesting)
- added .table-head-fixed code for default table & dark table
- removed unnecessary spaces in Layout.js
2019-06-27 10:43:40 +02:00
REJack e9163d3688
added support for focus to expand functionality in main-sidebar
- enhanced Layout.js to add .main-sidebar .sidebar-focused
- added focus style same as hover style in sidebar nav links etc
- added sidebar-focused in sidebar-mini collapsed state
2019-06-26 15:58:53 +02:00
REJack cc8a2d7e51
added js option for content height fixed 2019-06-06 14:28:59 +02:00
REJack 9c640e0f6f
added ability for auto collapse sidebar option 2019-06-05 14:02:11 +02:00
REJack 42568b9b8d
Road to v3.0.0-beta.1
- replaced slimScroll to overlayScrollbars
- added new layout types (fixed, navbar-fixed & footer-fixed)
- changed old default layout from "fixed" to non-fixed
- enhanced PushMenu.js to load options via data
- enhanced Layout.js new layout calcs, options via data for scrollbar
- fixed forms fontawesome icons
- added warning-feedback (without icon)
- added sidebar-mini-md
- updated index to use layout-fixed
- updated index2 to use layout-fixed, layout-navbar-fixed & layout-footer-fixed
2019-06-05 13:34:15 +02:00
Jorge Vilaça 61f3ef7a91 minor formatting 2019-03-24 13:15:36 -04:00
Jorge Vilaça 8a7de1cc56 clean debug code 2019-03-24 13:10:07 -04:00
Jorge Vilaça 654f5b169d slimscroll implementation o v3 2019-03-24 12:58:28 -04:00
Eric Enns 163e2d4976 Fix Layout content height to consider footer-height when setting min-height (#1945) 2019-01-31 13:02:51 -05:00
Abdullah Almsaeed 53a7c75964 Dev release 2018-03-17 13:07:55 -04:00
Abdullah Almsaeed f390ddcc1f Add webpack 2018-02-03 18:45:19 -05:00
Renamed from build/js/src/Layout.js (Browse further)