diff --git a/djrill/templates/djrill/base.html b/djrill/templates/djrill/base.html deleted file mode 100644 index a9bc658..0000000 --- a/djrill/templates/djrill/base.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% block breadcrumbs %} - -{% endblock %} diff --git a/djrill/templates/djrill/change_form.html b/djrill/templates/djrill/change_form.html deleted file mode 100644 index fb278b4..0000000 --- a/djrill/templates/djrill/change_form.html +++ /dev/null @@ -1,71 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n admin_modify adminmedia %} -{% load url from future %} - -{% block extrahead %}{{ block.super }} -{% url 'admin:jsi18n' as jsi18nurl %} - -{{ media }} -{% endblock %} - -{% block extrastyle %}{{ block.super }}{% endblock %} - -{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} - -{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} - -{% block breadcrumbs %}{% if not is_popup %} - -{% endif %}{% endblock %} - -{% block content %}
-{% block object-tools %} -{% if change %}{% if not is_popup %} - -{% endif %}{% endif %} -{% endblock %} -
{% csrf_token %}{% block form_top %}{% endblock %} -
-{% if is_popup %}{% endif %} -{% if save_on_top %}{% submit_row %}{% endif %} -{% if errors %} -

- {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

- {{ adminform.form.non_field_errors }} -{% endif %} - -{% for fieldset in adminform %} - {% include "admin/includes/fieldset.html" %} -{% endfor %} - -{% block after_field_sets %}{% endblock %} - -{% for inline_admin_formset in inline_admin_formsets %} - {% include inline_admin_formset.opts.template %} -{% endfor %} - -{% block after_related_objects %}{% endblock %} - -{% submit_row %} - -{% if adminform and add %} - -{% endif %} - -{# JavaScript for prepopulated fields #} -{% prepopulated_fields_js %} - -
-
-{% endblock %} diff --git a/djrill/templates/djrill/change_list.html b/djrill/templates/djrill/change_list.html deleted file mode 100644 index 33b5201..0000000 --- a/djrill/templates/djrill/change_list.html +++ /dev/null @@ -1,104 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia admin_list i18n %} -{% load url from future %} -{% block extrastyle %} - {{ block.super }} - - {% if cl.formset %} - - {% endif %} - {% if cl.formset or action_form %} - {% url 'admin:jsi18n' as jsi18nurl %} - - {% endif %} - {{ media.css }} - {% if not actions_on_top and not actions_on_bottom %} - - {% endif %} -{% endblock %} - -{% block extrahead %} -{{ block.super }} -{{ media.js }} -{% if action_form %}{% if actions_on_top or actions_on_bottom %} - -{% endif %}{% endif %} -{% endblock %} - -{% block bodyclass %}change-list{% endblock %} - -{% if not is_popup %} - {% block breadcrumbs %} - - {% endblock %} -{% endif %} - -{% block coltype %}flex{% endblock %} - -{% block content %} -
- {% block object-tools %} - {% if has_add_permission %} - - {% endif %} - {% endblock %} - {% if cl.formset.errors %} -

- {% blocktrans count cl.formset.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %} -

- {{ cl.formset.non_form_errors }} - {% endif %} -
- {% block search %}{% search_form cl %}{% endblock %} - {% block date_hierarchy %}{% date_hierarchy cl %}{% endblock %} - - {% block filters %} - {% if cl.has_filters %} -
-

{% trans 'Filter' %}

- {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %} -
- {% endif %} - {% endblock %} - -
{% csrf_token %} - {% if cl.formset %} -
{{ cl.formset.management_form }}
- {% endif %} - - {% block result_list %} - {% if action_form and actions_on_top and cl.full_result_count %}{% admin_actions %}{% endif %} - {% result_list cl %} - {% if action_form and actions_on_bottom and cl.full_result_count %}{% admin_actions %}{% endif %} - {% endblock %} - {% block pagination %}{% pagination cl %}{% endblock %} -
-
-
-{% endblock %} diff --git a/djrill/templates/djrill/change_list_results.html b/djrill/templates/djrill/change_list_results.html deleted file mode 100644 index 891268f..0000000 --- a/djrill/templates/djrill/change_list_results.html +++ /dev/null @@ -1,27 +0,0 @@ -{% if result_hidden_fields %} -
{# DIV for HTML validation #} -{% for item in result_hidden_fields %}{{ item }}{% endfor %} -
-{% endif %} -{% if results %} -
- - - -{% for header in result_headers %}{% endfor %} - - - -{% for result in results %} -{% if result.form.non_field_errors %} - -{% endif %} -{% for item in result %}{{ item }}{% endfor %} -{% endfor %} - -
-{% if header.sortable %}{% endif %} -{{ header.text|capfirst }} -{% if header.sortable %}{% endif %}
{{ result.form.non_field_errors }}
-
-{% endif %} diff --git a/djrill/templates/djrill/fieldset.html b/djrill/templates/djrill/fieldset.html deleted file mode 100644 index 6363aee..0000000 --- a/djrill/templates/djrill/fieldset.html +++ /dev/null @@ -1,29 +0,0 @@ -
- {% if fieldset.name %}

{{ fieldset.name }}

{% endif %} - {% if fieldset.description %} -
{{ fieldset.description|safe }}
- {% endif %} - {% for line in fieldset %} -
- {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} - {% for field in line %} - - {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} - {% if field.is_checkbox %} - {{ field.field }}{{ field.label_tag }} - {% else %} - {{ field.label_tag }} - {% if field.is_readonly %} -

{{ field.contents }}

- {% else %} - {{ field.field }} - {% endif %} - {% endif %} - {% if field.field.help_text %} -

{{ field.field.help_text|safe }}

- {% endif %} -
- {% endfor %} - - {% endfor %} -
diff --git a/djrill/templates/djrill/filter.html b/djrill/templates/djrill/filter.html deleted file mode 100644 index 9ef69ff..0000000 --- a/djrill/templates/djrill/filter.html +++ /dev/null @@ -1,8 +0,0 @@ -{% load i18n %} -

{% blocktrans with title as filter_title %} By {{ filter_title }} {% endblocktrans %}

- diff --git a/djrill/templates/djrill/includes/fieldset.html b/djrill/templates/djrill/includes/fieldset.html deleted file mode 100644 index 6363aee..0000000 --- a/djrill/templates/djrill/includes/fieldset.html +++ /dev/null @@ -1,29 +0,0 @@ -
- {% if fieldset.name %}

{{ fieldset.name }}

{% endif %} - {% if fieldset.description %} -
{{ fieldset.description|safe }}
- {% endif %} - {% for line in fieldset %} -
- {% if line.fields|length_is:'1' %}{{ line.errors }}{% endif %} - {% for field in line %} - - {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} - {% if field.is_checkbox %} - {{ field.field }}{{ field.label_tag }} - {% else %} - {{ field.label_tag }} - {% if field.is_readonly %} -

{{ field.contents }}

- {% else %} - {{ field.field }} - {% endif %} - {% endif %} - {% if field.field.help_text %} -

{{ field.field.help_text|safe }}

- {% endif %} -
- {% endfor %} - - {% endfor %} -
diff --git a/djrill/templates/djrill/pagination.html b/djrill/templates/djrill/pagination.html deleted file mode 100644 index 3588132..0000000 --- a/djrill/templates/djrill/pagination.html +++ /dev/null @@ -1,12 +0,0 @@ -{% load admin_list %} -{% load i18n %} -

-{% if pagination_required %} -{% for i in page_range %} - {% paginator_number cl i %} -{% endfor %} -{% endif %} -{{ cl.result_count }} {% ifequal cl.result_count 1 %}{{ cl.opts.verbose_name }}{% else %}{{ cl.opts.verbose_name_plural }}{% endifequal %} -{% if show_all_url %}  {% trans 'Show all' %}{% endif %} -{% if cl.formset and cl.result_count %}{% endif %} -