{% extends '../template.html' %}
{% block title %}Report - Agent{% endblock %}
{% block subcontent %}
<h1>Report - Agent</h1>
<h2>Agent List | <a href="{% nav admin_report_agent_performance %}">Agent Performance</a> | <a href="{% nav admin_report_agent_attendance %}">Agent Attendance</a></h2>
<br/>
<form method="get">
	<b>Search: <input type="text" id="find" name="find" value="{{find}}"/></b>
	<input type="submit" value="Go"/>
</form><br/>
<table class="data">
	<tr>
		<th>Id</th>
		<th style="width:150px">Nama</th>
		<th>Posisi</th>
		<th>Status</th>
	</tr>
	{% for d in data %}
	<tr>
		<td>{{d.id}}</td>
		<td>{{d.username}}</td>
		<td>{{d.role}}</td>
		<td>{{d.session_id}}</td>
	</tr>
	{% endfor %}
</table>
{% for p in page %}
<a href="{{ p.link }}" class="{% if p.active == 'yes' %}active{% endif %} page">{{ p.number }}</a>
{% endfor %}
{% endblock %}
