-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdminLTE 3 implementation #5989
Closed
Closed
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6fb3632
Update admin-lte vendor
wbloszyk 6cc0848
Upgrade admin-lte
wbloszyk 17e5f40
Next update
wbloszyk 23e7236
Add sonatacore vendors
wbloszyk 12da51a
Add popper.js
wbloszyk acc120a
Upgrade bootstrap
wbloszyk d0fe0bb
Fix
wbloszyk 03a45ff
Fix
wbloszyk 97d7a51
Fix tests
wbloszyk f802f2d
Fix
wbloszyk 0567120
fix
wbloszyk 452c799
check in sandbox
wbloszyk 5b1babe
Update
wbloszyk 9001bda
Composer set
wbloszyk 379a0e0
Update composer
wbloszyk ed0af50
Support for KnpMenu 2.x
wbloszyk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.read-more-state { | ||
display: none; | ||
} | ||
|
||
.read-more-target { | ||
opacity: 0; | ||
display: none; | ||
max-height: 0; | ||
font-size: 0; | ||
transition: .40s ease; | ||
} | ||
|
||
.read-more-state:checked ~ .read-more-wrap .read-more-target { | ||
opacity: 1; | ||
display: block; | ||
font-size: inherit; | ||
max-height: 999em; | ||
} | ||
|
||
.read-more-trigger { | ||
cursor: pointer; | ||
margin: auto; | ||
} | ||
|
||
.alert .read-more-trigger { | ||
position: relative; | ||
left: calc(50% - 1rem); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ body > .header .logo { | |
} | ||
|
||
.main-header { | ||
height: 50px; | ||
height: 57px; | ||
} | ||
|
||
.logo img { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
jQuery(document).ready(function() { | ||
SonataCore.remove_iCheck_in_flashmessage(); | ||
SonataCore.addFlashmessageListener(); | ||
}); | ||
|
||
var SonataCore = { | ||
remove_iCheck_in_flashmessage: () => { | ||
jQuery('.read-more-state').iCheck('destroy'); | ||
}, | ||
addFlashmessageListener: () => { | ||
document.querySelectorAll('.read-more-state').forEach((element) => { | ||
element.addEventListener('change', (event) => { | ||
let label = document.querySelector('label[for="' + element.id + '"]') | ||
let labelMore = label.querySelector('.more') | ||
let labelLess = label.querySelector('.less') | ||
|
||
if (event.target.checked) { | ||
labelMore.classList.add('hide') | ||
labelLess.classList.remove('hide') | ||
} else { | ||
labelMore.classList.remove('hide') | ||
labelLess.classList.add('hide') | ||
} | ||
}); | ||
}) | ||
} | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we have to commit all the admin-lte files ? |
||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"loose": true, | ||
"modules": false | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/plugin-external-helpers" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# https://github.com/browserslist/browserslist#readme | ||
|
||
>= 1% | ||
last 1 major version | ||
not dead | ||
Chrome >= 45 | ||
Firefox >= 38 | ||
Edge >= 12 | ||
Explorer >= 10 | ||
iOS >= 9 | ||
Safari >= 9 | ||
Android >= 4.4 | ||
Opera >= 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these changes ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is draft. I need it for working demo for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is draft. I need it for working demo for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, sorry for the too early review. 😅