File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ public function main(FactoryInterface $factory, array $options)
2323 $ menu = $ factory ->createItem ('admin_main ' );
2424
2525 $ menu ->setChildrenAttribute ('class ' , isset ($ options ['class ' ]) ? $ options ['class ' ] : 'sidebar-menu ' ); // nav navbar-nav
26+ $ menu ->setChildrenAttribute ('data-widget ' , 'tree ' );
2627 $ menu ->addChild ('Dashboard ' , ['route ' => 'cms_admin_index ' ])->setExtras (['beforeCode ' => '<i class="fa fa-dashboard"></i> ' ]);
2728
2829 foreach ($ this ->container ->get ('cms.module ' )->all () as $ module ) {
Original file line number Diff line number Diff line change 132132 {% form_theme form ' @CMS/Form/bootstrap_wide.html.twig' %}
133133{% endif %}
134134
135- {% block body_attr %}{{ parent () }} class="skin-blue sidebar-mini sidebar-collapse__"{% endblock body_attr %}
135+ {% block body_attr %}{{ parent () }} class="hold-transition skin-blue sidebar-mini sidebar-collapse__"{% endblock body_attr %}
136136
137137{% block body_js %}
138138 {{ parent () }}
139- <script src =" {{ asset(' bundles/felib/adminlte/js/app.min.js' ) }}" type =" text/javascript" ></script >
139+ <script src =" {{ asset(' bundles/felib/adminlte/js/adminlte.min.js' ) }}" type =" text/javascript" ></script >
140+ {# <script src="{{ asset('bundles/felib/adminlte/js/demo.js') }}" type="text/javascript"></script>#}
140141
141142 <!-- Optionally, you can add Slimscroll and FastClick plugins.
142143 Both of these plugins are recommended to enhance the
164165 <!-- Header Navbar -->
165166 <nav class =" navbar navbar-static-top" role =" navigation" >
166167 <!-- Sidebar toggle button-->
167- <a href =" #" class =" sidebar-toggle" data-toggle =" offcanvas " role =" button" >
168+ <a href =" #" class =" sidebar-toggle" data-toggle =" push-menu " role =" button" >
168169 <span class =" sr-only" >Toggle navigation</span >
169170 </a >
170171
You can’t perform that action at this time.
0 commit comments