diff options
Diffstat (limited to 'parts/django/tests/templates/custom_admin')
11 files changed, 42 insertions, 0 deletions
diff --git a/parts/django/tests/templates/custom_admin/add_form.html b/parts/django/tests/templates/custom_admin/add_form.html new file mode 100644 index 0000000..f42ba4b --- /dev/null +++ b/parts/django/tests/templates/custom_admin/add_form.html @@ -0,0 +1 @@ +{% extends "admin/change_form.html" %} diff --git a/parts/django/tests/templates/custom_admin/change_form.html b/parts/django/tests/templates/custom_admin/change_form.html new file mode 100644 index 0000000..f42ba4b --- /dev/null +++ b/parts/django/tests/templates/custom_admin/change_form.html @@ -0,0 +1 @@ +{% extends "admin/change_form.html" %} diff --git a/parts/django/tests/templates/custom_admin/change_list.html b/parts/django/tests/templates/custom_admin/change_list.html new file mode 100644 index 0000000..eebc9c7 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/change_list.html @@ -0,0 +1,7 @@ +{% extends "admin/change_list.html" %} + +{% block extrahead %} +<script type="text/javascript"> +var hello = '{{ extra_var }}'; +</script> +{% endblock %} diff --git a/parts/django/tests/templates/custom_admin/delete_confirmation.html b/parts/django/tests/templates/custom_admin/delete_confirmation.html new file mode 100644 index 0000000..9353c5b --- /dev/null +++ b/parts/django/tests/templates/custom_admin/delete_confirmation.html @@ -0,0 +1 @@ +{% extends "admin/delete_confirmation.html" %} diff --git a/parts/django/tests/templates/custom_admin/delete_selected_confirmation.html b/parts/django/tests/templates/custom_admin/delete_selected_confirmation.html new file mode 100644 index 0000000..9268536 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/delete_selected_confirmation.html @@ -0,0 +1 @@ +{% extends "admin/delete_selected_confirmation.html" %} diff --git a/parts/django/tests/templates/custom_admin/index.html b/parts/django/tests/templates/custom_admin/index.html new file mode 100644 index 0000000..75b6ca3 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/index.html @@ -0,0 +1,6 @@ +{% extends "admin/index.html" %} + +{% block content %} +Hello from a custom index template {{ foo }} +{{ block.super }} +{% endblock %} diff --git a/parts/django/tests/templates/custom_admin/login.html b/parts/django/tests/templates/custom_admin/login.html new file mode 100644 index 0000000..e10a269 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/login.html @@ -0,0 +1,6 @@ +{% extends "admin/login.html" %} + +{% block content %} +Hello from a custom login template +{{ block.super }} +{% endblock %} diff --git a/parts/django/tests/templates/custom_admin/logout.html b/parts/django/tests/templates/custom_admin/logout.html new file mode 100644 index 0000000..3a9301b --- /dev/null +++ b/parts/django/tests/templates/custom_admin/logout.html @@ -0,0 +1,6 @@ +{% extends "registration/logged_out.html" %} + +{% block content %} +Hello from a custom logout template +{{ block.super }} +{% endblock %} diff --git a/parts/django/tests/templates/custom_admin/object_history.html b/parts/django/tests/templates/custom_admin/object_history.html new file mode 100644 index 0000000..aee3b5b --- /dev/null +++ b/parts/django/tests/templates/custom_admin/object_history.html @@ -0,0 +1 @@ +{% extends "admin/object_history.html" %} diff --git a/parts/django/tests/templates/custom_admin/password_change_done.html b/parts/django/tests/templates/custom_admin/password_change_done.html new file mode 100644 index 0000000..0e4a7f2 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/password_change_done.html @@ -0,0 +1,6 @@ +{% extends "registration/password_change_done.html" %} + +{% block content %} +Hello from a custom password change done template +{{ block.super }} +{% endblock %} diff --git a/parts/django/tests/templates/custom_admin/password_change_form.html b/parts/django/tests/templates/custom_admin/password_change_form.html new file mode 100644 index 0000000..1c42493 --- /dev/null +++ b/parts/django/tests/templates/custom_admin/password_change_form.html @@ -0,0 +1,6 @@ +{% extends "registration/password_change_form.html" %} + +{% block content %} +Hello from a custom password change form template +{{ block.super }} +{% endblock %} |