venom/tpl/admin/jsTemplates/rolesList.tpl

23 lines
734 B
Smarty
Raw Normal View History

<div class="roles-list">
<header>
2020-11-18 17:50:01 +01:00
<h2>Roles</h2>
</header>
<div class="flexbox">
2020-11-18 17:50:01 +01:00
<div>
<h3>Overview</h3>
{foreach(roles as role,key)}
<div data-link="/roles" data-id="${role.id}">
2020-11-18 17:50:01 +01:00
<span class="icon-text">
{include(includes/svg;icon=$role.icon)}
</span>
<span>${role.name}</span>
</div>
2020-11-18 17:50:01 +01:00
{/for}
</div>
<div>
<h3>Add new Role</h3>
{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>
</div>
</div>