##// END OF EJS Templates
admin: enable navigation links from plugins
admin: enable navigation links from plugins

File last commit:

r92:546a2a3c
r92:546a2a3c
Show More
admin-view.html
51 lines | 2.5 KiB | text/html | HtmlLexer
<div class="row">
<div class="col-sm-3" id="menu">
<div class="panel panel-default">
<div class="panel-heading">Users and groups</div>
<ul class="list-group">
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.user.list"> Users</a></li>
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.user.create"> Create user</a></li>
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.group.list"> Groups</a></li>
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.group.create"> Create group</a></li>
</ul>
<ul class="list-group" data-ng-if="$ctrl.AeConfig.adminNav.menuUsersItems.length">
<li class="list-group-item" ng-repeat="item in $ctrl.AeConfig.adminNav.menuUsersItems">
<a data-ui-sref="{{ item.sref }}">{{ item.label }}</a>
</li>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading">Resources</div>
<ul class="list-group">
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.application.list"> List applications</a></li>
</ul>
<ul class="list-group" data-ng-if="$ctrl.AeConfig.adminNav.menuResourcesItems.length">
<li class="list-group-item" ng-repeat="item in $ctrl.AeConfig.adminNav.menuResourcesItems">
<a data-ui-sref="{{ item.sref }}">{{ item.label }}</a>
</li>
</ul>
</div>
<div class="panel panel-default">
<div class="panel-heading">System</div>
<ul class="list-group">
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.configs.list"> Config variables</a></li>
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.system"> System</a></li>
<li class="list-group-item" ui-sref-active="active"><a data-ui-sref="admin.partitions"> Partition Management</a></li>
</ul>
<ul class="list-group" data-ng-if="$ctrl.AeConfig.adminNav.menuSystemItems.length">
<li class="list-group-item" ng-repeat="item in $ctrl.AeConfig.adminNav.menuSystemItems">
<a data-ui-sref="{{ item.sref }}">{{ item.label }}</a>
</li>
</ul>
</div>
</div>
<div class="col-sm-9" ui-view></div>
</div>