|
40 | 40 | 'class' => 'navbar-inverse navbar-fixed-top', |
41 | 41 | ], |
42 | 42 | ]); |
43 | | - |
44 | 43 | echo Nav::widget([ |
45 | 44 | 'options' => ['class' => 'navbar-nav'], |
46 | 45 | 'encodeLabels' => false, |
|
59 | 58 | ] |
60 | 59 | ], |
61 | 60 | [ |
62 | | - 'label' => '<i class="glyphicon glyphicon-cog"></i> Settings', |
63 | | - 'items' => [ |
64 | | - [ |
65 | | - 'label' => '<i class="glyphicon glyphicon-file"></i> CMS', |
66 | | - 'url' => ['/admin/cms/index'], |
67 | | - ], |
68 | | - [ |
69 | | - 'label' => '<i class="glyphicon glyphicon-cog"></i> Cron Schedule Log', |
70 | | - 'url' => ['/admin/settings/cron'], |
71 | | - ], |
72 | | - [ |
73 | | - 'label' => '<i class="glyphicon glyphicon-user"></i> RBAC', |
74 | | - 'url' => ['/admin/rbac'], |
75 | | - ], |
76 | | - [ |
77 | | - 'label' => '<i class="glyphicon glyphicon-wrench"></i> Settings Storage', |
78 | | - 'url' => ['/admin/settings-storage'], |
79 | | - ], |
80 | | - [ |
81 | | - 'label' => '<i class="glyphicon glyphicon-repeat"></i> Clear Cache', |
82 | | - 'url' => ['/admin/settings/clear-cache'], |
83 | | - ] |
84 | | - ] |
| 61 | + 'label' => '<i class="glyphicon glyphicon-file"></i> CMS', |
| 62 | + 'url' => ['/admin/cms/index'], |
| 63 | + ], |
| 64 | + [ |
| 65 | + 'label' => '<i class="glyphicon glyphicon-user"></i> RBAC', |
| 66 | + 'url' => ['/admin/rbac/assignment/index'], |
| 67 | + 'active' => $this->context->module->id == 'rbac' |
| 68 | + ], |
| 69 | + [ |
| 70 | + 'label' => '<i class="glyphicon glyphicon-wrench"></i> Settings Storage', |
| 71 | + 'url' => ['/admin/settings-storage'], |
| 72 | + 'active' => $this->context->module->id == 'settings-storage' |
| 73 | + ], |
| 74 | + [ |
| 75 | + 'label' => '<i class="glyphicon glyphicon-cog"></i> Cron Schedule Log', |
| 76 | + 'url' => ['/admin/settings/cron'], |
85 | 77 | ], |
86 | | - |
87 | 78 | ], |
88 | 79 | ]); |
89 | 80 |
|
|
0 commit comments