--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testappproj/templates/problems.html~ Mon May 17 22:33:59 2010 +0530
@@ -0,0 +1,27 @@
+{%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 }}
+ <a id="#solve_{{ entry.problem_id }}" class="comment" href="#solve" onclick="return loadcode({{ entry.problem_id }})">solve</a>
+ </td>
+
+</tr>
+{% endfor %}
+
+</table>
+
+<p>
+{% if user %}<a href="{% url testapp.views.new_edit %}">Create new problem</a>{% endif %}
+</p>
+
+{%endblock%}