testappproj/templates/problems.html
author amit@thunder
Mon, 14 Jun 2010 01:00:59 +0530
changeset 3 34d0c21e3352
parent 0 0b061d58aea3
permissions -rw-r--r--
Checking if exam has been previously done by the user or not

{%extends "base.html"%} 
{% block body %}
<h2>All Problems</h2>
<table class="problems" cellspacing="0" width="900">
  <tr style="color:#00ce1d;font-weight:bold;text-align:center">
    <td>Description</td>
<!-- commented because this may be used again for doing all the score stuff -->
{#  {% if user %}<td>Solved</td><td>Edit</td>{% endif %} #}
  </tr>

{% for entry in entries %}
<tr>
    <td>
      {{ entry.problem|escape }}
      {{ entry.session|escape }}
      <div id="solve_{{ entry.problem_id }}">
      <a  class="comment"  href="#solve"  onclick="return loadcode({{ entry.problem_id }})">solve</a>
     </td>

</tr>
</div>
{% endfor %}

</table>

<p>
<form action="/completed" method="GET">
<div>
<input type="submit", value="Finished Exam">
</div>
</form>
</p>


{%endblock%}