Commit graph

206 commits

Author SHA1 Message Date
XhmikosR f94fa978f9 Fix DirectChat toggled event. 2020-06-13 10:23:57 +03:00
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 7f890fd6a2 ExpandableTable.js: lowercase colspan 2020-06-08 14:29:22 +03:00
XhmikosR 39e9416f8c
Rename variable for clarity (#2801) 2020-06-05 15:49:56 +02:00
bansalshashank f1ce1758ce
[Tables] Expandable table (#2528)
* [Tables] Expandable table

* enhance expandable table

* fix AdminLTE.js export

* fix linting errors

* fix HTML validator errors

Co-authored-by: Shashank Bansal <shashank.bansal@eloquent.studio>
Co-authored-by: REJack <info@rejack.de>
2020-06-05 00:35:50 +02:00
XhmikosR 5a1ae0c35e
Cache selectors when possible. (#2790) 2020-06-04 20:06:38 +02:00
XhmikosR 97d48edcdf Use an object when setting multiple CSS properties 2020-06-03 19:57:41 +03:00
REJack b4b8d07feb
Merge pull request #2785 from XhmikosR/js-tweaks-sort-exports
Sort imports/exports alphabetically
2020-06-03 18:07:00 +02:00
XhmikosR f091c5d510
Dropdown.js: return early (#2783) 2020-06-03 18:05:36 +02:00
XhmikosR e2e4bab687 Sort imports/exports alphabetically 2020-06-03 08:17:10 +03:00
XhmikosR 312e083fc0
Dropdown.js: remove variable used only once (#2779)
Co-authored-by: REJack <info@rejack.de>
2020-06-02 22:41:03 +02:00
REJack 85d4b6be05
Dropdown.js: rename variable (#2780) 2020-06-02 22:39:17 +02:00
XhmikosR 13c857679b
Layout.js: reuse constant (#2778) 2020-06-02 22:38:50 +02:00
XhmikosR 5167252a55 Dropdown.js: rename variable 2020-06-02 18:59:38 +03:00
REJack 2eec6fe614
fix nav-link fadeIn (#2776) 2020-06-02 15:26:19 +02:00
XhmikosR e848621b32
Remove unneeded IIFEs (#2774) 2020-06-02 15:23:22 +02:00
REJack bbfcc0639e
fix sidebar item icon transition (#2775)
* fix sidebar item icon transition

* rename menu-opens to menu-is-opening
2020-06-02 13:37:16 +02:00
XhmikosR be3631930d Fix regression after 27ff009 2020-06-02 06:30:40 +03:00
XhmikosR 7853dcbd6e Use the document ready shorthand. 2020-06-02 06:30:39 +03:00
XhmikosR 3478837aab Layout.js: Simplify else 2020-06-02 06:30:39 +03:00
XhmikosR cb85af826e Reuse variable 2020-06-02 06:30:39 +03:00
XhmikosR e56939983d Remove variables only used once. 2020-06-02 06:30:39 +03:00
XhmikosR 187a01a8ee Return early. 2020-06-02 06:30:39 +03:00
XhmikosR 3528b6c1f8 Remove that workaround 2020-06-02 06:30:38 +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
XhmikosR 5ba59f1454 Add ESLint support.
Used the Bootstrap master branch config and adapted it.

Also, remove the `babel-eslint` package since we don't use it.
2020-06-01 14:26:07 +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 282ff7f6ce enhanced PushMenu's autoCollapse feature 2020-04-01 17:20:47 +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 771a2d5530
enhanced dropdown position in navbar dropdown menus 2020-02-11 15:15:26 +01:00
REJack b1c99c8963
fixed CardRefresh doubled load if loadOnInit is true 2020-02-07 10:27:44 +01:00
REJack ff41f98ea5
enhanced CardWidget & card style with nav-tabs 2020-01-28 11:25:39 +01:00
REJack ce486267c4
fixed nested card collapse/expand icon bug 2020-01-17 07:37:39 +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 d1f555e679
disabled expandSidebar by default in Treeview 2019-11-20 09:13:58 +01:00
REJack e24c4d01ff
some small js option fixes 2019-11-17 11:53:47 +01:00
REJack f5286d6229
enhanced javascript plugins
- added expand & collapse method in PushMenu
- added expandSidebar & sidebarButtonSelector option in Treeview
- updated docs
2019-11-13 14:10:18 +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 829a9b3c6c
fixed collapsed sidebar autocollapse bug (#2339) 2019-10-19 12:01:46 +02:00
Raphael Jackstadt 29a3ba3953
fixed content height calc with less sidebar content (#2332) 2019-10-16 08:34:07 +02:00
Raphael Jackstadt f83f34546d
fixed autocallapse on mobile touchscroll & rebuild dists (#2324) 2019-10-12 11:41:11 +02:00
REJack bd982813c4
fixed content height calculation 2019-10-12 11:36:52 +02:00
REJack 2356b9844b
enable auto collapse size by 992px as default option 2019-10-08 12:02:43 +02:00
REJack 2b0e4aa843
fixed submenu expand bug 2019-10-07 09:13:50 +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 5af52cf9df
removed screenCollapseSize option for PushMenu and removed isShown() 2019-09-19 13:34:26 +02:00
REJack 40d88ee12e
fixed treeview selection 2019-09-19 09:57:49 +02:00
REJack e6db3e09ea
fixed Treeview toggle() 2019-09-16 14:40:38 +02:00
REJack 683a015a4e
removed console.log from Layout.js 2019-09-16 14:10:12 +02:00
REJack 6f73dc7ca7
changed next() to find() in Treeview toggle() 2019-09-16 13:50:46 +02:00
REJack ec008a693f
added Toasts.js & enhanced toasts style
- created Toasts.js
- updated build/js/scss/plugins/_toastr.scss
- added toast-variant mixin in build/scss/_mixinis.scss
- created build/scss/_toasts.scss
- added zindex-toasts variable in build/scss/_variables.scss
- updated build/scss/AdminLTE.scss & build/scss/AdminLTE-raw.scss
- updated pages/UI/modals.html
- created docs/javascript/toasts.md
- updated docs/_config.yml
2019-09-16 12:05:25 +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 7c730af2c8
fixed icon update in CardWidget 2019-08-29 11:55:25 +02:00
REJack 6874eb31d7
enhanced navbar dropdown & top-nav example
- added Dropdown.js
- added .dropdown-submenu
- added .dropdown-hover
- added dropdown example & fixed card headers in pages/layout/top-nav.html
2019-08-27 16:23:07 +02:00
REJack 1aa67a08ea
migrated CardRefresh (BoxRefresh)
- created CardRefresh Plugin
- created docs
- updated pages/UI/widgets.html
2019-08-20 17:19:08 +02:00
REJack 1b1b909162
renamed ControlSidebar DATA_KEY to lte.controlsidebar 2019-08-20 12:35:22 +02:00
REJack b816ef347a
enhanced CardWidget (Widget)
- renamed Widget to CardWidget
- renamed data-widget to data-card-widget
- reworked Selector & ClassName Icons to Option
- splited toggleMaximize to maximize & minimize
- added maximizeTrigger Option
- enhance code to run methods without buttons
2019-08-20 12:33:52 +02:00
REJack ec9f780ed7
enhanced tree collapse/expand to avoid flood slide animation on multiple clicks on one item 2019-08-20 11:04:55 +02:00
REJack c98018c880
enhanced PushMenu with sidebar state remember 2019-08-19 14:03:05 +02:00
REJack d6c8360f4f
added toggled event to DirectChat.js 2019-08-19 13:14:56 +02:00
REJack c4c082c4ac
some control-sidebar fixes
- removed setMargin in js
- fixed control-sidebar slide animate step
- added zindex-contro-sidebar
- added control-sidebar-push class
- updated zindex's
2019-08-13 14:26:25 +02:00
REJack 0876d0ab70
added missing expanded/collapsed event in ControlSidebar.js 2019-08-13 13:09:07 +02:00
REJack fd8183c965
renamed option slide to controlsidebarSlide and tweaked a bit the animate step 2019-08-11 14:16:27 +02:00
REJack fe693889dd
added collapse, expand & toggleMaximize to run via js script 2019-07-29 14:21:05 +02:00
REJack 3fed7f5897
fixed DirectChat toggle 2019-07-28 21:27:48 +02:00
REJack c089bc9796
added DirectChat & TodoList JS (+ TodoList CSS fixes) 2019-07-28 21:11:54 +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 94d37b5520
reworked control-sidebar & removed overflow from wrapper and html
- added display none/block to control-sidebar to avoid sidewards scrolling
- reworked ControlSidebar.js with queue to add and remove .control-sidebar-animate from html to avoid overflow
2019-07-10 16:02:33 +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 d852f4ba34
enhanced card & widget with expand/compress (fullscreen) and some little fixes
- updated Widget.js
- updated _cards.scss
- enabled gradients in _bootstrap-variables.scss
- fixed old bg-*-gradient (theme colors)
- added bg-*-gradient (colors)
- updated cards demo section in pages/widgets.html
2019-06-15 12:22:25 +02:00
REJack b8ffeb2d5d
fixed sidebar collapse bug after autoCollapse feature 2019-06-10 17:39:15 +02:00
REJack cc8a2d7e51
added js option for content height fixed 2019-06-06 14:28:59 +02:00
REJack 5e05228f3c
removed console.log() from PushMenu 2019-06-05 14:08:04 +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
hendimarcos 261c5c714e fix(js): AdminLTE 3 collapse button (#1938)
https://github.com/almasaeed2010/AdminLTE/issues/1910
2019-01-31 13:00:03 -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
Abdullah Almsaeed cfe8c644f4 Create site wide search bar 2017-01-03 10:42:20 -05:00
Abdullah Almsaeed b2a83e147f Remove app.js and enable the Layout module by default 2016-11-06 14:44:01 -05:00
Abdullah Almsaeed e47cc06a9e Update search to remove headers and keep parent menus open if a search match is found 2016-11-03 16:44:15 -04:00
Abdullah Almsaeed 41f6f8d55a Create Search plugin 2016-10-26 09:30:59 -04:00
Abdullah Almsaeed 97dfbaa79f Update adminlte version 2016-10-22 15:32:28 -04:00
Abdullah Almsaeed 64443ee54f Replace labels with tags according to BS4 implementation 2016-10-19 11:24:30 -04:00
Abdullah Almsaeed f27bb32c4a Add Control Sidebar Plugin 2016-10-19 11:23:34 -04:00
Abdullah Almsaeed 7041e65d3f Update JS files 2016-10-15 13:19:09 -04:00
Abdullah Almsaeed 71c560ec27 Fix layout height computation 2016-10-15 13:18:29 -04:00
Abdullah Almsaeed 3f47e43650 Add bower_components to gitignore 2016-10-15 13:14:27 -04:00
Abdullah Almsaeed 6841615631 Update Layout manager to work with regular layout for now 2016-07-02 11:44:24 -04:00
Abdullah Almsaeed 545a862c1d Dev setup 2016-01-16 11:27:23 -05:00
Abdullah Almsaeed c4ac73688b Create PushMenu.js 2015-11-11 14:29:54 -05:00
Abdullah Almsaeed 17dce579b0 Add new js build folder 2015-11-04 13:51:53 -05:00