Closed loveorigami closed 9 years ago
I see your new view. But in my view content is outside of the content box.
because div class="row"
clear all paddings
For me good as :
<div ng-app="dAdmin">
<ul class="nav nav-tabs">
<li ng-repeat="menu in headerMenu" ng-class="{active:isRouteActive(menu.id)}">
<a ng-href="{{menu.url}}" ng-bind="menu.label"></a>
</li>
</ul>
<div style="padding-bottom: 10px;"></div>
<?=
NgView::widget([
'name' => 'dAdmin',
or may be better add new property in module public menuView and replased it in config as
'admin' => [
'class' => 'mdm\admin\Module',
'layout' => '@backend/views/layouts/main',
'menuView' => '@backend/views/admin_menu',
],
Now it is fine! Please, add
$this->title= Yii::t('rbac-admin', 'RBAC Manager')
here https://github.com/mdmsoft/yii2-admin/blob/fd120e21a578c3df927f53e1712ccbc90f84e848/views/default/index.php#L8 for displaying this title in browser
Many thanks! Now work is very good!
And small wish to you: can you change label color for roles and permissions. Because info
and warning
with white letters see is not good.
For example:
Many Thanks! Now is very good!
When I change module layout to my layout in config (as in v2.0)
I have view without menu
because header layout with menu https://github.com/mdmsoft/yii2-admin/blob/3.master/views/layouts/main.php#L24 outside of the content.
I made an exception for this module in my layout
as tab menu, (//layouts/_admin_menu)
but it's not very flexible: when you change code for menu (as now in v3.1) in my layout menu not working. And other users will also be asking this question