venom/tpl/admin/jsTemplates/rolesList.tpl
2020-11-18 17:50:01 +01:00

23 lines
750 B
Smarty

<v-table>
<v-table-header>
<h2>Roles</h2>
</v-table-header>
<v-table-row>
<div>
<h3>Overview</h3>
{foreach(roles as role,key)}
<div data-link="/roles" data-id="${role.id}">
<span class="icon-text">
{include(includes/svg;icon=$role.icon)}
</span>
<span>${role.name}</span>
</div>
{/for}
</div>
<div>
<h3>Add new Role</h3>
{include(includes/input;label=New Role Name;name=newRoleame;error=New Role Name is required;type=text)}
{include(includes/btn;type=primary;content=Add)}
</div>
</v-table-row>
</v-table>