25 lines
799 B
Smarty
25 lines
799 B
Smarty
<div class="users-list">
|
|
<header>
|
|
<h2>Users</h2>
|
|
</header>
|
|
</div>
|
|
<div class="roles-list">
|
|
<div class="flexbox">
|
|
<div class="overview">
|
|
<h3>Overview</h3>
|
|
{foreach(users as user,key)}
|
|
<div data-link="/users" data-id="${user.id}">
|
|
<span class="icon-text">
|
|
{include(includes/svg;icon=$user.icon)}
|
|
</span>
|
|
<span>${user.name}</span>
|
|
</div>
|
|
{/for}
|
|
</div>
|
|
<div class="add-new">
|
|
<h3>Add new User</h3>
|
|
{include(includes/input;label=New User Name;name=newUserName;error=New User Name is required;type=text)}
|
|
{include(includes/btn;type=primary;content=Add)}
|
|
</div>
|
|
</div>
|
|
</div> |