Files
edx-platform/lms/templates/folditbasic.html
2013-04-01 14:10:48 -04:00

33 lines
618 B
HTML

<%!
from xmodule.util.date_utils import get_time_struct_display
%>
<div class="folditbasic">
<p><strong>Due:</strong> ${due}
<p>
<strong>Status:</strong>
% if success:
You have successfully gotten to level ${goal_level}.
% else:
You have not yet gotten to level ${goal_level}.
% endif
</p>
<h3>Completed puzzles</h3>
<table>
<tr>
<th>Level</th>
<th>Submitted</th>
</tr>
% for puzzle in completed:
<tr>
<td>${'{0}-{1}'.format(puzzle['set'], puzzle['subset'])}</td>
<td>${get_time_struct_display(puzzle['created'], '%Y-%m-%d %H:%M')}</td>
</tr>
% endfor
</table>
</br>
</div>