Skip to content

Node.js based forum software built for the modern web

1.0 KB
Raw Blame
<div class="card card-header text-xs px-2 py-1 fw-semibold border-0 align-self-start">
	{{tx("flags:x-flags-found", count)}}
</div>

<table class="table table-hover" component="flags/list">
	<thead>
		<tr>
			<th></th>
			<th class="text-xs text-muted">{{tx("flags:reports")}}</th>
			<th class="text-xs text-muted">{{tx("flags:first-reported")}}</th>
			<th class="text-xs text-muted">{{tx("flags:state")}}</th>
			<th>
				<input type="checkbox" data-action="toggle-all" autocomplete="off" />
			</th>
		</tr>
	</thead>
	<tbody>
		{{{ each flags }}}
		<tr data-flag-id="{./flagId}">
			<td>
				<a class="text-reset text-decoration-underline" href="{config.relative_path}/flags/{./flagId}">
					{./target_readable}
				</a>
			</td>
			<td>
				{./heat}
			</td>
			<td><span class="timeago" title="{./datetimeISO}"></span></td>
			<td><span class="badge bg-{./labelClass}">{{tx(concat("flags:state-", ./state))}}</span></td>
			<td>
				<input type="checkbox" autocomplete="off" />
			</td>
		</tr>
		{{{end}}}
	</tbody>
</table>

<!-- IMPORT partials/paginator.tpl -->