2020-12-03 17:58:36 +01:00
|
|
|
<div class="users-list">
|
|
|
|
<header>
|
|
|
|
<h2>Users</h2>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
<div class="roles-list">
|
|
|
|
<div class="flexbox">
|
2020-12-08 16:38:01 +01:00
|
|
|
<div class="overview">
|
2020-12-03 17:58:36 +01:00
|
|
|
<h3>Overview</h3>
|
2020-12-22 18:07:13 +01:00
|
|
|
{foreach(users as user)}
|
2020-12-03 17:58:36 +01:00
|
|
|
<div data-link="/users" data-id="${user.id}">
|
|
|
|
<span class="icon-text">
|
2020-12-22 18:07:13 +01:00
|
|
|
{include(includes/svg;icon=vt-edit)}
|
2020-12-03 17:58:36 +01:00
|
|
|
</span>
|
2020-12-22 18:07:13 +01:00
|
|
|
<span>${user.username} (${user.firstname} ${user.lastname})</span>
|
2020-12-03 17:58:36 +01:00
|
|
|
</div>
|
|
|
|
{/for}
|
|
|
|
</div>
|
2020-12-08 16:38:01 +01:00
|
|
|
<div class="add-new">
|
2020-12-03 17:58:36 +01:00
|
|
|
<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>
|