Skip to content

Commit

Permalink
Use admin lte without plugins to avoid override of select2 default st…
Browse files Browse the repository at this point in the history
…yles
  • Loading branch information
jordisala1991 committed Apr 14, 2021
1 parent b927435 commit b4b7178
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/reference/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Full Configuration Options
- bundles/sonataadmin/dist/bootstrap/bootstrap.min.css
- bundles/sonataadmin/dist/components-font-awesome/css/font-awesome.min.css
- bundles/sonataadmin/dist/ionicons/css/ionicons.min.css
- bundles/sonataadmin/dist/admin-lte/css/AdminLTE.min.css
- bundles/sonataadmin/dist/admin-lte/css/AdminLTE-without-plugins.min.css
- bundles/sonataadmin/dist/icheck/skins/square/blue.css
- bundles/sonataadmin/vendor/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css
- bundles/sonataadmin/vendor/jqueryui/themes/base/jquery-ui.css
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function getConfigTreeBuilder(): TreeBuilder
'bundles/sonataadmin/dist/bootstrap/bootstrap.min.css',
'bundles/sonataadmin/dist/components-font-awesome/css/font-awesome.min.css',
'bundles/sonataadmin/dist/ionicons/css/ionicons.min.css',
'bundles/sonataadmin/dist/admin-lte/css/AdminLTE.min.css',
'bundles/sonataadmin/dist/admin-lte/css/AdminLTE-without-plugins.min.css',
'bundles/sonataadmin/dist/icheck/skins/square/blue.css',

'bundles/sonataadmin/vendor/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css',
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Resources/public/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"bundles/sonataadmin/dist/ionicons/fonts/ionicons.eot": "/bundles/sonataadmin/dist/ionicons/fonts/ionicons.eot",
"bundles/sonataadmin/dist/bootstrap/bootstrap.min.css": "/bundles/sonataadmin/dist/bootstrap/bootstrap.min.css",
"bundles/sonataadmin/dist/components-font-awesome/fonts/fontawesome-webfont.woff": "/bundles/sonataadmin/dist/components-font-awesome/fonts/fontawesome-webfont.woff",
"bundles/sonataadmin/dist/admin-lte/css/AdminLTE.min.css": "/bundles/sonataadmin/dist/admin-lte/css/AdminLTE.min.css",
"bundles/sonataadmin/dist/jquery/jquery.min.js": "/bundles/sonataadmin/dist/jquery/jquery.min.js",
"bundles/sonataadmin/dist/components-font-awesome/fonts/fontawesome-webfont.woff2": "/bundles/sonataadmin/dist/components-font-awesome/fonts/fontawesome-webfont.woff2",
"bundles/sonataadmin/dist/x-editable/bootstrap-editable.min.js": "/bundles/sonataadmin/dist/x-editable/bootstrap-editable.min.js",
"bundles/sonataadmin/dist/admin-lte/css/AdminLTE-without-plugins.min.css": "/bundles/sonataadmin/dist/admin-lte/css/AdminLTE-without-plugins.min.css",
"bundles/sonataadmin/dist/select2/select2.min.js": "/bundles/sonataadmin/dist/select2/select2.min.js",
"bundles/sonataadmin/dist/ionicons/fonts/ionicons.woff": "/bundles/sonataadmin/dist/ionicons/fonts/ionicons.woff",
"bundles/sonataadmin/dist/bootstrap/bootstrap.min.css.map": "/bundles/sonataadmin/dist/bootstrap/bootstrap.min.css.map",
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Encore
{ from: './node_modules/jquery-slimscroll/', pattern: /jquery\.slimscroll\.min\.js/, to: 'jquery-slimscroll/[name].[ext]' },
{ from: './node_modules/jquery.scrollto/', pattern: /jquery\.scrollTo\.min\.js/, to: 'jquery-scrollto/[name].[ext]' },
{ from: './node_modules/jquery-form/', pattern: /jquery\.form\.js/, to: 'jquery-form/[name].[ext]' },
{ from: './node_modules/admin-lte/dist/css/', pattern: /skin-.*\.min.css|AdminLTE\.min\.css/, to: 'admin-lte/css/[path][name].[ext]' },
{ from: './node_modules/admin-lte/dist/css/skins/', pattern: /skin-.*\.min.css/, to: 'admin-lte/css/skins/[name].[ext]' },
{ from: './node_modules/admin-lte/dist/css/alt/', pattern: /AdminLTE-without-plugins\.min\.css/, to: 'admin-lte/css/[name].[ext]' },
{ from: './node_modules/admin-lte/dist/img/', to: 'admin-lte/img/[path][name].[ext]' },
{ from: './node_modules/admin-lte/dist/js/', pattern: /adminlte\.min\.js/, to: 'admin-lte/js/[name].[ext]' },
{ from: './node_modules/bootstrap/dist/css/', pattern: /bootstrap\.min\.css/, to: 'bootstrap/[name].[ext]' },
Expand Down

0 comments on commit b4b7178

Please sign in to comment.