diff options
author | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
commit | c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c (patch) | |
tree | 2fc44ca867839d5e591e21467b6e4526f7a9f080 /lib/grappelli/templates/admin/change_list_results.html | |
parent | ed77da873e675f02f12cbab9be27f342f825444b (diff) |
added grappelli, filebrowser, chunks and tagging to lcal repo
Diffstat (limited to 'lib/grappelli/templates/admin/change_list_results.html')
-rw-r--r-- | lib/grappelli/templates/admin/change_list_results.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin/change_list_results.html b/lib/grappelli/templates/admin/change_list_results.html new file mode 100644 index 0000000..062b52e --- /dev/null +++ b/lib/grappelli/templates/admin/change_list_results.html @@ -0,0 +1,29 @@ +{% if results %} + + {% if result_hidden_fields %} + <div class="hiddenfields"> {# DIV for HTML validation #} + {% for item in result_hidden_fields %}{{ item }}{% endfor %} + </div> + {% endif %} + + <div class="module changelist-results"> + <table cellspacing="0"> + <thead> + <tr> + {% for header in result_headers %} + <th class="{{ header.class_attrib|cut:'class='|cut:'"' }}{% if header.sortable %} sortable{% endif %}"> + {% 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> + </div> +{% endif %} |