-<style type="text/css">
- /* <![CDATA[ */
- table, td {
- border-style: solid;
- }
- table {
- border-width: 0 0 1px 1px;
- border-spacing: 0;
- border-collapse: collapse;
- }
- thead {
- text-align: center;
- }
- td {
- margin: 0;
- padding: 4px;
- border-width: 1px 1px 0 0;
- }
- td a {
- display: block;
- }
- /* ]]> */
-</style>
+{% load i18n %}
+{% load admin_list %}
+
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL}}css/changelists.css" />
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL}}css/click-table.css" />
+
+<div id="content" class="flex>
+ <form action="" method="get">
+ {% block search %}{% search_form cl %}{% endblock %}
+ {% block pagination %}{% pagination cl %}{% endblock %}
+ </form>
+ {% block filters %}
+ {% if cl.has_filters %}
+ <div id="changelist-filter">
+ <h2>{% trans 'Filter' %}</h2>
+ {% for spec in cl.filter_specs %}
+ {% admin_list_filter cl spec %}
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endblock %}
{% block summary_stats %}
<table>
{% endfor %}
</tbody>
</table>
+</div>
{% endblock %}