See the README for current tweaks
This commit is contained in:
29
templates/pages/roles.html.twig
Normal file
29
templates/pages/roles.html.twig
Normal file
@@ -0,0 +1,29 @@
|
||||
{% extends "@admin/pages/roles.html.twig" %}
|
||||
|
||||
{% block body_matter %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div id="widget-roles" class="box box-primary">
|
||||
<div class="box-header">
|
||||
<h3 class="box-title"><i class="fas fa-fw fa-id-card"></i> {{translate('ROLE', 2)}}</h3>
|
||||
{% include "tables/table-tool-menu.html.twig" %}
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{% include "tables/roles.html.twig" with {
|
||||
"table" : {
|
||||
"id" : "table-roles"
|
||||
}
|
||||
}
|
||||
%}
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{% if (checkAccess('create_role')) %}
|
||||
<button type="button" class="btn btn-success js-role-create">
|
||||
<i class="fas fa-plus-square"></i> {{translate("ROLE.CREATE")}}
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user