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

33 lines
629 B
HTML

<%!
from xmodule.util.date_utils import get_default_time_display
%>
<div class="folditbasic">
<p><strong>Due:</strong> ${get_default_time_display(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>${puzzle['created'].strftime('%Y-%m-%d %H:%M')}</td>
</tr>
% endfor
</table>
</br>
</div>