Files
edx-platform/lms/templates/tracking_log.html
Nimisha Asthagiri 9af1aa30a9 XSS Safe Templates
2016-03-29 02:46:25 -04:00

18 lines
496 B
HTML

<%page expression_filter="h"/>
<%! from django.utils.translation import ugettext as _ %>
<html>
<h1>${_('Tracking Log')}</h1>
<table border="1"><tr><th>${_('datetime')}</th><th>${_('username')}</th><th>${_('ipaddr')}</th><th>${_('source')}</th><th>${_('type')}</th></tr>
% for rec in records:
<tr>
<td>${rec.dtstr}</td>
<td>${rec.username}</td>
<td>${rec.ip}</td>
<td>${rec.event_source}</td>
<td>${rec.event_type}</td>
</tr>
% endfor
</table>
</html>