Commit Graph

182 Commits (1c856b0d8cd847ff22917bb09afa64e62862adb6)

Author SHA1 Message Date
REJack 209075b504 fix mulitple level dropdown-menu overlapping 2020-09-21 09:28:14 +02:00
REJack e257bffd0d add posibile fix to use multiple sidebar treeviews 2020-09-21 09:12:41 +02:00
REJack fd07c05d2d last few changes
- fix sidebar menu item name (remove badge text)
- add removeActiveTab and event listener
2020-09-20 11:18:05 +02:00
REJack 0cfe854c71 add ability to set menu items active 2020-09-20 10:55:39 +02:00
REJack 18aeaed0a6 add event callback's (tabClicked, tabChanged, tabCreated) 2020-09-20 10:07:34 +02:00
REJack b4b92be945 add ability to use navbar items 2020-09-20 09:59:23 +02:00
REJack 3a12dce448 add tab loading screen with delay 2020-09-19 14:51:15 +02:00
REJack 5bf7e0346b fix iframe height setter 2020-09-19 14:16:39 +02:00
REJack 563a91d15a add panelAutoHeightMode in Layout.js 2020-09-19 14:15:59 +02:00
REJack 349b501c27 further progress
- fix tab creation
- fix tab switching
- add auto open tab on creation
- add auto iframe mode for easy adaption
- add switchTab method
2020-09-19 14:00:55 +02:00
REJack b810326bb8 further changes
- add empty tab
- fix tab switching
- add _fixHeight
2020-09-18 12:54:44 +02:00
REJack a298bab35d start iframe plugin 2020-09-16 15:32:22 +02:00
Ryan 48743c7dee
Small fix for TodoList plugin (#3013)
Properly attach the event listener to the correct selector and fix on the options passed on in the JQuery API. However, a new bug comes from this fix when both data-widget and Jquery API is set where the event listener will be triggered twice
2020-09-11 11:57:33 +02:00
REJack c79452bb22
sidebar search enhancements (#2929)
* add ability to move across entries with arrow keys
* small style fixes for sidebar search
* bump bundlewatch size
2020-07-25 22:52:55 +02:00
REJack 45a51f51b2
fix control-sidebar height with layout-fixed (#2927) 2020-07-25 00:39:07 +02:00
REJack 346515b5a7
remove sidebar-is-opening on expand (#2926) 2020-07-24 22:43:50 +02:00
REJack 01e00cd43d
enhance ExpandableTable for table tree (#2907)
* enhance ExpandableTable for table tree
* remove unused rotate class
* fix html validator error/warnings
2020-07-22 16:03:54 +02:00
REJack c9603ef5aa
fullscreen plugin/button (#2906)
* add fullscreen plugin
* add fullscreen buton in topnav
* remove old mozilla function
2020-07-22 16:01:38 +02:00
REJack c02ab3f0cd
Merge pull request #2841 from ColorlibHQ/feat/sidebar-search
Sidebar Search
2020-07-05 12:03:22 +02:00
XhmikosR 755df41324
Remove console.log (#2860) 2020-06-28 14:03:01 +02:00
REJack 5b24a7a47d
rework expandable table (#2825) 2020-06-27 18:58:40 +02:00
REJack 45d4759ab0 add abilty to highlight name and path 2020-06-27 18:58:12 +02:00
REJack 00b4aec60a add SidebarSearch.js 2020-06-13 17:32:43 +02:00
XhmikosR c886592bc5
ControlSidebar.js: minor simplification (#2837) 2020-06-13 14:42:56 +02:00
XhmikosR 2545f04bf3
Use template literals (#2835) 2020-06-13 14:34:10 +02:00
XhmikosR 6a7c491071 ExpandableTable.js: add missing variable 2020-06-13 10:23:57 +03:00
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