summaryrefslogtreecommitdiffstats
path: root/webapp/django/contrib/admin/templates/admin/change_list_results.html
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/django/contrib/admin/templates/admin/change_list_results.html')
-rw-r--r--webapp/django/contrib/admin/templates/admin/change_list_results.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/webapp/django/contrib/admin/templates/admin/change_list_results.html b/webapp/django/contrib/admin/templates/admin/change_list_results.html
new file mode 100644
index 0000000000..381dcb5d5d
--- /dev/null
+++ b/webapp/django/contrib/admin/templates/admin/change_list_results.html
@@ -0,0 +1,17 @@
+{% if results %}
+<table cellspacing="0">
+<thead>
+<tr>
+{% for header in result_headers %}<th{{ header.class_attrib }}>
+{% if header.sortable %}<a href="{{ header.url }}">{% endif %}
+{{ header.text|capfirst }}
+{% if header.sortable %}</a>{% endif %}</th>{% endfor %}
+</tr>
+</thead>
+<tbody>
+{% for result in results %}
+<tr class="{% cycle 'row1' 'row2' %}">{% for item in result %}{{ item }}{% endfor %}</tr>
+{% endfor %}
+</tbody>
+</table>
+{% endif %}