Skip to content

Node.js based forum software built for the modern web

1016 B
Raw Blame
<div class="dashboard px-lg-4">
	<div class="col-12">
		<!-- IMPORT admin/partials/dashboard/graph.tpl -->
		<!-- IMPORT admin/partials/dashboard/stats.tpl -->

		<div class="table-responsive">
			<table class="table users-list text-sm">
				<thead>
					<th class="text-muted">{{tx("admin/manage/users:users.uid")}}</th>
					<th class="text-muted">{{tx("admin/manage/users:users.username")}}</th>
					<th class="text-muted">{{tx("admin/manage/users:users.email")}}</th>
					<th data-sort="joindate">{{tx("admin/manage/users:users.joined")}}</th>
				</thead>
				<tbody>
					{{{ if !users.length}}}
					<tr>
						<td colspan="4" class="text-center"><em>{{tx("admin/dashboard:details.no-users")}}</em></td>
					</tr>
					{{{ end }}}
					{{{ each users }}}
					<tr>
						<td>{./uid}</td>
						<td>{./username}</td>
						<td>{./email}</td>
						<td class="text-nowrap"><span class="timeago" title="{./joindateISO}"></span></td>
					</tr>
					{{{ end }}}
				</tbody>
			</table>
		</div>
	</div>
</div>