Commit graph

206 commits

Author SHA1 Message Date
REJack 63eff3a60f first changes 2020-12-02 08:50:58 +01:00
REJack 5d4ed59ba9 fix SidebarSearch 2020-12-02 08:35:47 +01:00
dependabot[bot] 86af2757ac
Bump eslint-plugin-unicorn from 22.0.0 to 23.0.0 (#3174)
* Bump eslint-plugin-unicorn from 22.0.0 to 23.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 22.0.0 to 23.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v22.0.0...v23.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Update Layout.js

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-11-30 14:46:19 +02:00
REJack 120844862f escape navItem & tabItem in IFrame.js 2020-11-30 09:50:19 +01:00
REJack 480b63121c escape results in SidebarSearch 2020-11-30 09:42:38 +01:00
REJack da94ddd415 add escape around _renderItem in SidebarSearch.js 2020-11-30 09:31:53 +01:00
REJack b0f9c48ea5 try to fix SidebarSearch xss error 2020-11-30 09:03:15 +01:00
REJack 3d4e523b59 remove console.log from ControlSidebar 2020-11-27 10:46:57 +01:00
REJack 29c2375e2b enhance ControlSidebar.js
- add abilty to set target
- fix show control-sidebar on page load
2020-11-27 10:21:42 +01:00
Daniel 48ceaed751
sidebar upgradeed (#3159)
Removed Unnecessary Code
And
Sidebar improved (Can work smothly without overlayscroll plugin)
2020-11-27 09:21:15 +01:00
REJack b835bb678b rework content height events
- add mouse enter/leave event
- add timeout on expand/collapse sidebar event
2020-11-26 16:15:10 +01:00
REJack 8196efdc5e fix min-height calculation with controlSidebar 2020-11-26 15:39:31 +01:00
Daniel 0a70c3c89f layout size bug fixed 2020-11-25 14:22:20 +05:30
REJack 45cd9f6645 rename .fullscreen-mode to .iframe-mode-fullscreen 2020-10-03 15:43:47 +02:00
REJack 865fc053fa add iframe fullscreen mode 2020-10-03 15:43:15 +02:00
REJack 113a477618 add scroll buttons for navbar items 2020-10-03 15:12:06 +02:00
REJack 98962aeab7 enhance removeActiveTab 2020-10-03 14:31:11 +02:00
REJack 81b9131269
Merge branch 'master' into feat/iframe-plugin 2020-10-01 13:11:46 +02:00
REJack a772df102d rework methods 2020-09-30 09:04:29 +02:00
REJack f0f59489f0 fix tab events 2020-09-29 08:48:41 +02:00
REJack 39f9e9e8a8 add usage for useNavbarItems 2020-09-29 08:44:17 +02:00
REJack 94867cd6b5 rename events to onTab* instead of tab* 2020-09-29 08:27:43 +02:00
REJack 99a1632731
Merge pull request #3039 from ColorlibHQ/feat/some-plugin-fixes
some plugin fixes
2020-09-21 10:45:22 +02:00
Ryan 32a760a47d
Fix for sidebar searching when there are no sidebar to search (#3010)
* added examples for box shadows

Add some examples for shadows on certain elements/widgets like the cards or tables; mainly to help with color contrasting since the body background has a similar color / tone with the element/widget's background

* Revert "added examples for box shadows"

This reverts commit 3aa62588db.

* Fix sidebar searching

If there are no data-widget: "sidebar-search" found, then stop init()
2020-09-21 10:33:44 +02:00
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