2020-12-03 17:58:36 +01:00
|
|
|
<div class="roles-list">
|
|
|
|
<header>
|
2020-11-18 17:50:01 +01:00
|
|
|
<h2>Roles</h2>
|
2020-12-03 17:58:36 +01:00
|
|
|
</header>
|
|
|
|
<div class="flexbox">
|
2020-12-08 16:38:01 +01:00
|
|
|
<div class="overview">
|
2020-11-18 17:50:01 +01:00
|
|
|
<h3>Overview</h3>
|
|
|
|
{foreach(roles as role,key)}
|
2020-12-03 17:58:36 +01:00
|
|
|
<div data-link="/roles" data-id="${role.id}">
|
2020-12-08 16:38:01 +01:00
|
|
|
<span>
|
2020-11-18 17:50:01 +01:00
|
|
|
{include(includes/svg;icon=$role.icon)}
|
|
|
|
</span>
|
2020-12-03 17:58:36 +01:00
|
|
|
<span>${role.name}</span>
|
|
|
|
</div>
|
2020-11-18 17:50:01 +01:00
|
|
|
{/for}
|
|
|
|
</div>
|
2020-12-08 16:38:01 +01:00
|
|
|
<div class="add-new">
|
2020-11-18 17:50:01 +01:00
|
|
|
<h3>Add new Role</h3>
|
2020-12-03 17:58:36 +01:00
|
|
|
{include(includes/input;label=New Role Name;name=newRoleName;error=New Role Name is required;type=text)}
|
2020-11-18 17:50:01 +01:00
|
|
|
{include(includes/btn;type=primary;content=Add)}
|
|
|
|
</div>
|
2020-12-03 17:58:36 +01:00
|
|
|
</div>
|
|
|
|
</div>
|