<!DOCTYPE html>
<html>
	
	<head></head>
	<style type="text/css">
		table { border-collapse: collapse; }
		td, th { 
			border: solid 1px; 
			padding: 5px 2em; }
		td.true { background: #C22; }
		td.false { background: #2C2; }
	</style>
	<body>
		<table>
			<tr>
				<th>who</th>
				<th>link followed</th>
				<th>image viewed</th>
				<th>updated</th>
			</tr>
			{% for target in campaign.targets.all %}
			<tr>
				<td>{{target.email}}</td>
				<td class="{{target.link_followed|lower}}">{{target.link_followed}}</td>
				<td class="{{target.image_viewed|lower}}">{{target.image_viewed}}</td>
				<td>{{target.updated}}</td>
			</tr>
			{% endfor %}
		</table>		
	</body>
</html>
