From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- lib/grappelli/templates/admin/404.html | 13 -- lib/grappelli/templates/admin/500.html | 16 -- .../templates/admin/_grappelli/app_index.html | 40 ---- lib/grappelli/templates/admin/_grappelli/base.html | 78 -------- .../templates/admin/_grappelli/base_site.html | 9 - .../templates/admin/_grappelli/index.html | 61 ------ .../admin/_grappelli_admin_tools/app_index.html | 20 -- .../admin/_grappelli_admin_tools/base.html | 125 ------------ .../admin/_grappelli_admin_tools/base_site.html | 25 --- .../admin/_grappelli_admin_tools/index.html | 18 -- lib/grappelli/templates/admin/actions.html | 19 -- lib/grappelli/templates/admin/app_index.html | 1 - .../templates/admin/auth/user/add_form.html | 36 ---- .../templates/admin/auth/user/change_password.html | 68 ------- lib/grappelli/templates/admin/base.html | 1 - lib/grappelli/templates/admin/base_site.html | 1 - lib/grappelli/templates/admin/change_form.html | 100 ---------- lib/grappelli/templates/admin/change_list.html | 153 --------------- .../templates/admin/change_list_results.html | 29 --- .../admin/csv_export_selected_confirmation.html | 60 ------ lib/grappelli/templates/admin/date_hierarchy.html | 13 -- .../templates/admin/delete_confirmation.html | 48 ----- .../admin/delete_selected_confirmation.html | 54 ------ .../templates/admin/edit_inline/stacked.html | 147 -------------- .../templates/admin/edit_inline/tabular.html | 211 --------------------- lib/grappelli/templates/admin/filter.html | 7 - .../templates/admin/includes/fieldset.html | 37 ---- .../templates/admin/includes/fieldset_inline.html | 37 ---- .../templates/admin/includes_grappelli/header.html | 46 ----- lib/grappelli/templates/admin/index.html | 1 - lib/grappelli/templates/admin/init.js | 0 lib/grappelli/templates/admin/invalid_setup.html | 12 -- lib/grappelli/templates/admin/login.html | 47 ----- lib/grappelli/templates/admin/object_history.html | 51 ----- lib/grappelli/templates/admin/pagination.html | 30 --- .../templates/admin/prepopulated_fields_js.html | 17 -- lib/grappelli/templates/admin/search_form.html | 20 -- lib/grappelli/templates/admin/submit_line.html | 12 -- .../templates/admin/template_validator.html | 34 ---- .../templates/admin_doc/bookmarklets.html | 37 ---- lib/grappelli/templates/admin_doc/index.html | 34 ---- .../templates/admin_doc/missing_docutils.html | 14 -- .../templates/admin_doc/model_detail.html | 51 ----- lib/grappelli/templates/admin_doc/model_index.html | 45 ----- .../templates/admin_doc/template_detail.html | 21 -- .../templates/admin_doc/template_filter_index.html | 47 ----- .../templates/admin_doc/template_tag_index.html | 48 ----- lib/grappelli/templates/admin_doc/view_detail.html | 30 --- lib/grappelli/templates/admin_doc/view_index.html | 46 ----- .../templates/admin_tools/dashboard/css.html | 2 - .../templates/admin_tools/dashboard/dashboard.html | 79 -------- .../templates/admin_tools/dashboard/dashboard.txt | 141 -------------- .../admin_tools/dashboard/dashboard_app_index.txt | 29 --- .../templates/admin_tools/dashboard/dummy.html | 1 - .../templates/admin_tools/dashboard/module.html | 7 - .../admin_tools/dashboard/modules/app_list.html | 58 ------ .../admin_tools/dashboard/modules/column.html | 9 - .../admin_tools/dashboard/modules/feed.html | 21 -- .../admin_tools/dashboard/modules/group.html | 33 ---- .../admin_tools/dashboard/modules/link_list.html | 21 -- .../admin_tools/dashboard/modules/model_list.html | 26 --- .../dashboard/modules/module_group.html | 10 - .../dashboard/modules/recent_actions.html | 26 --- .../admin_tools/dashboard/preferences_form.html | 10 - .../admin_tools/menu/add_bookmark_form.html | 9 - lib/grappelli/templates/admin_tools/menu/css.html | 1 - .../templates/admin_tools/menu/delete_confirm.html | 13 -- .../templates/admin_tools/menu/dummy.html | 1 - lib/grappelli/templates/admin_tools/menu/form.html | 10 - lib/grappelli/templates/admin_tools/menu/item.html | 15 -- lib/grappelli/templates/admin_tools/menu/menu.html | 64 ------- lib/grappelli/templates/admin_tools/menu/menu.txt | 32 ---- .../admin_tools/menu/remove_bookmark_form.html | 7 - lib/grappelli/templates/grappelli/index.html | 3 - .../templates/registration/logged_out.html | 18 -- .../registration/password_change_done.html | 24 --- .../registration/password_change_form.html | 60 ------ .../registration/password_reset_complete.html | 12 -- .../registration/password_reset_confirm.html | 23 --- .../registration/password_reset_done.html | 11 -- .../registration/password_reset_email.html | 15 -- .../registration/password_reset_form.html | 15 -- 82 files changed, 2876 deletions(-) delete mode 100644 lib/grappelli/templates/admin/404.html delete mode 100644 lib/grappelli/templates/admin/500.html delete mode 100644 lib/grappelli/templates/admin/_grappelli/app_index.html delete mode 100644 lib/grappelli/templates/admin/_grappelli/base.html delete mode 100644 lib/grappelli/templates/admin/_grappelli/base_site.html delete mode 100644 lib/grappelli/templates/admin/_grappelli/index.html delete mode 100644 lib/grappelli/templates/admin/_grappelli_admin_tools/app_index.html delete mode 100644 lib/grappelli/templates/admin/_grappelli_admin_tools/base.html delete mode 100644 lib/grappelli/templates/admin/_grappelli_admin_tools/base_site.html delete mode 100644 lib/grappelli/templates/admin/_grappelli_admin_tools/index.html delete mode 100644 lib/grappelli/templates/admin/actions.html delete mode 100644 lib/grappelli/templates/admin/app_index.html delete mode 100644 lib/grappelli/templates/admin/auth/user/add_form.html delete mode 100644 lib/grappelli/templates/admin/auth/user/change_password.html delete mode 100644 lib/grappelli/templates/admin/base.html delete mode 100644 lib/grappelli/templates/admin/base_site.html delete mode 100644 lib/grappelli/templates/admin/change_form.html delete mode 100644 lib/grappelli/templates/admin/change_list.html delete mode 100644 lib/grappelli/templates/admin/change_list_results.html delete mode 100644 lib/grappelli/templates/admin/csv_export_selected_confirmation.html delete mode 100644 lib/grappelli/templates/admin/date_hierarchy.html delete mode 100644 lib/grappelli/templates/admin/delete_confirmation.html delete mode 100644 lib/grappelli/templates/admin/delete_selected_confirmation.html delete mode 100644 lib/grappelli/templates/admin/edit_inline/stacked.html delete mode 100644 lib/grappelli/templates/admin/edit_inline/tabular.html delete mode 100644 lib/grappelli/templates/admin/filter.html delete mode 100644 lib/grappelli/templates/admin/includes/fieldset.html delete mode 100644 lib/grappelli/templates/admin/includes/fieldset_inline.html delete mode 100644 lib/grappelli/templates/admin/includes_grappelli/header.html delete mode 100644 lib/grappelli/templates/admin/index.html delete mode 100644 lib/grappelli/templates/admin/init.js delete mode 100644 lib/grappelli/templates/admin/invalid_setup.html delete mode 100644 lib/grappelli/templates/admin/login.html delete mode 100644 lib/grappelli/templates/admin/object_history.html delete mode 100644 lib/grappelli/templates/admin/pagination.html delete mode 100644 lib/grappelli/templates/admin/prepopulated_fields_js.html delete mode 100644 lib/grappelli/templates/admin/search_form.html delete mode 100644 lib/grappelli/templates/admin/submit_line.html delete mode 100644 lib/grappelli/templates/admin/template_validator.html delete mode 100644 lib/grappelli/templates/admin_doc/bookmarklets.html delete mode 100644 lib/grappelli/templates/admin_doc/index.html delete mode 100644 lib/grappelli/templates/admin_doc/missing_docutils.html delete mode 100644 lib/grappelli/templates/admin_doc/model_detail.html delete mode 100644 lib/grappelli/templates/admin_doc/model_index.html delete mode 100644 lib/grappelli/templates/admin_doc/template_detail.html delete mode 100644 lib/grappelli/templates/admin_doc/template_filter_index.html delete mode 100644 lib/grappelli/templates/admin_doc/template_tag_index.html delete mode 100644 lib/grappelli/templates/admin_doc/view_detail.html delete mode 100644 lib/grappelli/templates/admin_doc/view_index.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/css.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/dashboard.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/dashboard.txt delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/dashboard_app_index.txt delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/dummy.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/module.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/column.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/feed.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/group.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html delete mode 100644 lib/grappelli/templates/admin_tools/dashboard/preferences_form.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/css.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/delete_confirm.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/dummy.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/form.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/item.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/menu.html delete mode 100644 lib/grappelli/templates/admin_tools/menu/menu.txt delete mode 100644 lib/grappelli/templates/admin_tools/menu/remove_bookmark_form.html delete mode 100644 lib/grappelli/templates/grappelli/index.html delete mode 100644 lib/grappelli/templates/registration/logged_out.html delete mode 100644 lib/grappelli/templates/registration/password_change_done.html delete mode 100644 lib/grappelli/templates/registration/password_change_form.html delete mode 100644 lib/grappelli/templates/registration/password_reset_complete.html delete mode 100644 lib/grappelli/templates/registration/password_reset_confirm.html delete mode 100644 lib/grappelli/templates/registration/password_reset_done.html delete mode 100644 lib/grappelli/templates/registration/password_reset_email.html delete mode 100644 lib/grappelli/templates/registration/password_reset_form.html (limited to 'lib/grappelli/templates') diff --git a/lib/grappelli/templates/admin/404.html b/lib/grappelli/templates/admin/404.html deleted file mode 100644 index 10aeb75..0000000 --- a/lib/grappelli/templates/admin/404.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block title %}{% trans "Page not found" %}{% endblock %} - - -{% block content %} -

{% trans "Page not found" %}

-

{% trans "We're sorry, but the requested page could not be found." %}

-{% endblock %} diff --git a/lib/grappelli/templates/admin/500.html b/lib/grappelli/templates/admin/500.html deleted file mode 100644 index e6fb34a..0000000 --- a/lib/grappelli/templates/admin/500.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %}{% endblock %} - - -{% block title %}{% trans "Server error (500)" %}{% endblock %} - - -{% block content %} -

{% trans "Server Error (500)" %}

-

{% trans "There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience." %}

-{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli/app_index.html b/lib/grappelli/templates/admin/_grappelli/app_index.html deleted file mode 100644 index e9cb806..0000000 --- a/lib/grappelli/templates/admin/_grappelli/app_index.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "admin/_grappelli/index.html" %} - - -{% load i18n grp_tags %} - - -{% if not is_popup %} - {% block breadcrumbs %} - - {% endblock %} -{% endif %} - - -{% block content %} -
-
- {% if app_list %} - {% for app in app_list %} -
-

{% trans app.name %}

- {% for model in app.models %} -
- {% if model.perms.change %}{{ model.name }}{% else %}{{ model.name }}{% endif %} - -
- {% endfor %} -
- {% endfor %} - {% endif %} -
-
-{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli/base.html b/lib/grappelli/templates/admin/_grappelli/base.html deleted file mode 100644 index 16676b9..0000000 --- a/lib/grappelli/templates/admin/_grappelli/base.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - {% block title %}{% endblock %} - {% block blockbots %}{% endblock %} - - - {% load adminmedia i18n grp_tags %} - - - {% block stylesheets %} - - {% if LANGUAGE_BIDI %}{% endif %} - - - {% endblock %} - {% block extrastyle %}{% endblock %} - - - {% block javascripts %} - - - - - - - - {% endblock %} - - {% block extrahead %}{% endblock %} - - -
- - - {% if not is_popup %} - {% include "admin/includes_grappelli/header.html" %} - - {% block breadcrumbs %} - - {% endblock %} - {% endif %} - - - {% if messages %} - - {% endif %} - - -
- {% block pretitle %}{% endblock %} - {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} - {% block object-tools %}{% endblock %} - {% block content %} - {{ content }} - {% block filters %}{% endblock %} - {% endblock %} -
-
- - - {% block footer %}{% endblock %} - -
- - - diff --git a/lib/grappelli/templates/admin/_grappelli/base_site.html b/lib/grappelli/templates/admin/_grappelli/base_site.html deleted file mode 100644 index 1f94985..0000000 --- a/lib/grappelli/templates/admin/_grappelli/base_site.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "admin/_grappelli/base.html" %} - - -{% load i18n grp_tags %} - - -{% block title %}{{ title }} | {% grappelli_admin_title %}{% endblock %} -{% block branding %}

{% grappelli_admin_title %}

{% endblock %} -{% block nav-global %}{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli/index.html b/lib/grappelli/templates/admin/_grappelli/index.html deleted file mode 100644 index 8dedd3d..0000000 --- a/lib/grappelli/templates/admin/_grappelli/index.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "admin/_grappelli/base_site.html" %} - - -{% load i18n adminmedia grp_tags %} - - -{% block javascripts %} - {{ block.super }} -{% endblock %} - - -{% block bodyclass %}dashboard{% endblock %} -{% block content-class %}content-grid{% endblock %} - - -{% block breadcrumbs %}{% endblock %} - - -{% block content %} -
-
- {% if app_list %} - {% for app in app_list %} -
-

{% trans app.name %}

- {% for model in app.models %} -
- {% if model.perms.change %}{{ model.name }}{% else %}{{ model.name }}{% endif %} - -
- {% endfor %} -
- {% endfor %} - {% else %} -

{% trans "You don“t have permission to edit anything." %}

- {% endif %} -
-
-
-

{% trans 'Recent Actions' %}

-
-

{% trans 'My Actions' %}

- {% load log %} - {% get_admin_log 10 as admin_log for_user user %} - {% if not admin_log %} -

{% trans 'None available' %}

- {% else %} - - {% endif %} -
-
-
-
-{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli_admin_tools/app_index.html b/lib/grappelli/templates/admin/_grappelli_admin_tools/app_index.html deleted file mode 100644 index bc896be..0000000 --- a/lib/grappelli/templates/admin/_grappelli_admin_tools/app_index.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "admin/_grappelli_admin_tools/index.html" %} -{% load i18n admin_tools_dashboard_tags %} - - -{% if not is_popup %} - {% block breadcrumbs %} - - {% endblock %} -{% endif %} - -{% block content %} - {% admin_tools_render_dashboard 'app_index' %} -{% endblock %} - -{% block sidebar %}{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli_admin_tools/base.html b/lib/grappelli/templates/admin/_grappelli_admin_tools/base.html deleted file mode 100644 index 742273a..0000000 --- a/lib/grappelli/templates/admin/_grappelli_admin_tools/base.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - {% block title %}{% endblock %} - {% block blockbots %}{% endblock %} - - - {% load theming_tags adminmedia i18n grp_tags %} - - - {% block stylesheets %} - - {% if LANGUAGE_BIDI %}{% endif %} - - - {% endblock %} - - {% block extrastyle %}{% endblock %} - - - {% block javascripts %} - - - - - - - - {% endblock %} - - {% block extrahead %}{% endblock %} - - -
- - - {% if not is_popup %} - - - - {% block breadcrumbs %} - - {% endblock %} - {% endif %} - - - {% if messages %} - - {% endif %} - - -
- {% block pretitle %}{% endblock %} - {% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} - {% block object-tools %}{% endblock %} - {% block content %} - {{ content }} - {% block filters %}{% endblock %} - {% endblock %} -
-
- - - {% block footer %}{% endblock %} - -
- - - diff --git a/lib/grappelli/templates/admin/_grappelli_admin_tools/base_site.html b/lib/grappelli/templates/admin/_grappelli_admin_tools/base_site.html deleted file mode 100644 index 0012bb6..0000000 --- a/lib/grappelli/templates/admin/_grappelli_admin_tools/base_site.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "admin/_grappelli_admin_tools/base.html" %} -{% load i18n admin_tools_menu_tags %} - -{% block title %}{{ title }} | {% trans 'Django site admin' %}{% endblock %} - -{% block extrastyle %} - {{ block.super }} - {% if user.is_active and user.is_staff %} - {% if not is_popup %} - {% admin_tools_render_menu_css %} - {% endif %} - {% endif %} -{% endblock %} - -{% block branding %} -

{% trans 'Django administration' %}

-{% endblock %} - -{% block nav-global %} - {% if user.is_active and user.is_staff %} - {% if not is_popup %} - {% admin_tools_render_menu %} - {% endif %} - {% endif %} -{% endblock %} diff --git a/lib/grappelli/templates/admin/_grappelli_admin_tools/index.html b/lib/grappelli/templates/admin/_grappelli_admin_tools/index.html deleted file mode 100644 index 2f3bb13..0000000 --- a/lib/grappelli/templates/admin/_grappelli_admin_tools/index.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "admin/_grappelli_admin_tools/base_site.html" %} -{% load i18n admin_tools_dashboard_tags %} - -{% block extrastyle %} -{{ block.super }} -{% block dashboard_css %}{% admin_tools_render_dashboard_css %}{% endblock %} -{% endblock %} - - -{% block bodyclass %}admin-tools dashboard{% endblock %} -{% block content-class %}content-grid{% endblock %} - -{% block breadcrumbs %}{% endblock %} -{% block content_title %}{% if title %}

{{ title }}

{% endif %}{% endblock %} - -{% block content %} - {% admin_tools_render_dashboard %} -{% endblock %} diff --git a/lib/grappelli/templates/admin/actions.html b/lib/grappelli/templates/admin/actions.html deleted file mode 100644 index 588f503..0000000 --- a/lib/grappelli/templates/admin/actions.html +++ /dev/null @@ -1,19 +0,0 @@ -{% load i18n %} - diff --git a/lib/grappelli/templates/admin/app_index.html b/lib/grappelli/templates/admin/app_index.html deleted file mode 100644 index a877e66..0000000 --- a/lib/grappelli/templates/admin/app_index.html +++ /dev/null @@ -1 +0,0 @@ -{% extends admin_template_app_index %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/auth/user/add_form.html b/lib/grappelli/templates/admin/auth/user/add_form.html deleted file mode 100644 index 7431762..0000000 --- a/lib/grappelli/templates/admin/auth/user/add_form.html +++ /dev/null @@ -1,36 +0,0 @@ -{% extends "admin/change_form.html" %} -{% load i18n %} - -{% comment %} -{% block after_field_sets %} -

{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}

-
-
- {# TODO: get required class on label_tag #} -
-
- {{ form.username }} - {{ form.username.errors }} -

{{ form.username.help_text }}

-
-
-
- {# TODO: get required class on label_tag #} -
-
- {{ form.password1 }} - {{ form.password1.errors }} -
-
-
- {# TODO: get required class on label_tag #} -
-
- {{ form.password2 }} - {{ form.password2.errors }} -

{% trans 'Enter the same password as above, for verification.' %}

-
-
-
-{% endblock %} -{% endcomment %} diff --git a/lib/grappelli/templates/admin/auth/user/change_password.html b/lib/grappelli/templates/admin/auth/user/change_password.html deleted file mode 100644 index 0a82cf7..0000000 --- a/lib/grappelli/templates/admin/auth/user/change_password.html +++ /dev/null @@ -1,68 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n admin_modify adminmedia %} {# grp_csrf #} -{% block userlinks %} -{% url django-admindocs-docroot as docsroot %} - {% if docsroot %} -
  • - {% trans 'Documentation' %} -
  • - {% endif %} -
  • - {% trans 'Change password' %} -
  • -
  • - {% trans 'Log out' %} -
  • -{% endblock %} -{% block breadcrumbs %} - {% if not is_popup %} - - {% endif %} -{% endblock %} -{% block title %}{% trans 'Password change' %}{% endblock %} -{% block content-class %}content-grid{% endblock %} - -{% block content %} -{# TODO: French translations alre all mixed up with change "MY" password form ... #} -{#

    {% trans 'Password change' %}

    #} -
    -
    -

    {% blocktrans with original.username as username %}Enter a new password for the user {{ username }}.{% endblocktrans %}

    - {% if form.errors %} -

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

    - {% endif %} -
    {% csrf_token %}{% block form_top %}{% endblock %} - {% if is_popup %}{% endif %} -
    -
    -
    -
    - {{ form.password1 }} - {{ form.password1.errors }} -
    -
    -
    -
    -
    - {{ form.password2 }} - {{ form.password2.errors }} -

    {% trans 'Enter the same password as above, for verification.' %}

    -
    -
    -
    -
    -
      -
    • -
    -
    -
    -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/base.html b/lib/grappelli/templates/admin/base.html deleted file mode 100644 index 1ba7a0d..0000000 --- a/lib/grappelli/templates/admin/base.html +++ /dev/null @@ -1 +0,0 @@ -{% extends admin_template_base %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/base_site.html b/lib/grappelli/templates/admin/base_site.html deleted file mode 100644 index 1c99d4d..0000000 --- a/lib/grappelli/templates/admin/base_site.html +++ /dev/null @@ -1 +0,0 @@ -{% extends admin_template_base_site %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/change_form.html b/lib/grappelli/templates/admin/change_form.html deleted file mode 100644 index 620b166..0000000 --- a/lib/grappelli/templates/admin/change_form.html +++ /dev/null @@ -1,100 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n admin_modify adminmedia grp_tags %} - - -{% block javascripts %} - {{ block.super }} - {% url admin:jsi18n as jsi18nurl %} - - {{ media }} -{% endblock %} - - -{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} -{% block content-class %}content-flexible{% endblock %} - - -{% block breadcrumbs %} - {% if not is_popup %} - - {% endif %} -{% endblock %} - - -{% block object-tools %} - {% if change %} - {% if not is_popup %} - - {% endif %} - {% endif %} -{% endblock %} - - -{% block content %} -
    -
    -
    {% 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 %}

    -
      {% for error in adminform.form.non_field_errors %}
    • {{ error }}
    • {% endfor %}
    - {% 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 %} - {% block extrahead %} - - {% endblock %} - {% endif %} - - - {% prepopulated_fields_js %} - -
    -
    -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/change_list.html b/lib/grappelli/templates/admin/change_list.html deleted file mode 100644 index e407964..0000000 --- a/lib/grappelli/templates/admin/change_list.html +++ /dev/null @@ -1,153 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load adminmedia admin_list i18n grp_tags %} - - -{% block javascripts %} - {{ block.super }} - {% if cl.formset %} - {% url admin:jsi18n as jsi18nurl %} - - {% endif %} - {{ media }} - - -{% endblock %} - - -{% block content_title %} -

    - {{ cl.opts.verbose_name_plural|capfirst }} -

    -{% endblock %} - - -{% block object-tools %} - {% if has_add_permission %} - - {% endif %} -{% endblock %} - - -{% block content %} - {% if cl.search_fields or cl.has_filters or cl.date_hierarchy %} -
    - - {% pagination cl %} - {% if cl.has_filters or cl.search_fields %} - - {% if cl.has_filters %} -
    -
    - {% trans 'Filter' %} -
    - {% for spec in cl.filter_specs %}{% admin_list_filter cl spec %}{% endfor %} -
    -
    -
    - {% endif %} - - {% if cl.search_fields %} - - {% endif %} - {% endif %} -
    -
    - - {% if cl.date_hierarchy %} - {% date_hierarchy cl %} - {% endif %} - {% endif %} -
    {% csrf_token %} -
    - - {% if is_popup %}{% endif %} - - {% 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 %} - - {% if cl.formset %} - {{ cl.formset.management_form }} - {% endif %} - - {% block result_list %} - {% result_list cl %} - {% endblock %} - - {% pagination cl %} -

    - - {% if action_form and cl.full_result_count and cl.result_count %} - {% admin_actions %} - {% endif %} - - {% if cl.formset and cl.full_result_count and cl.result_count %} - - {% endif %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/change_list_results.html b/lib/grappelli/templates/admin/change_list_results.html deleted file mode 100644 index 062b52e..0000000 --- a/lib/grappelli/templates/admin/change_list_results.html +++ /dev/null @@ -1,29 +0,0 @@ -{% if results %} - - {% if result_hidden_fields %} -
    {# DIV for HTML validation #} - {% for item in result_hidden_fields %}{{ item }}{% endfor %} -
    - {% endif %} - -
    - - - - {% for header in result_headers %} - - {% endfor %} - - - - {% for result in results %} - {% for item in result %}{{ item }}{% endfor %} - {% endfor %} - -
    - {% if header.sortable %}{% endif %} - {{ header.text|capfirst }} - {% if header.sortable %}{% endif %} -
    -
    -{% endif %} diff --git a/lib/grappelli/templates/admin/csv_export_selected_confirmation.html b/lib/grappelli/templates/admin/csv_export_selected_confirmation.html deleted file mode 100644 index 873bd87..0000000 --- a/lib/grappelli/templates/admin/csv_export_selected_confirmation.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %} - -{% endblock %} - - -{% block content %} - -
    -
    {% csrf_token %} -
    -

    {% blocktrans %}Export following fields:{% endblocktrans %}

    -
    -
      -
    • -
    -
    -
    -
      - {% for item in fields %} -
    • - -
    • - {% endfor %} -
    -
    -
    - -
    -
    -{% endblock %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/date_hierarchy.html b/lib/grappelli/templates/admin/date_hierarchy.html deleted file mode 100644 index 25e3c6b..0000000 --- a/lib/grappelli/templates/admin/date_hierarchy.html +++ /dev/null @@ -1,13 +0,0 @@ -{% load i18n %} -{% if show and choices %} -
    -
    -
      - {% if back %}
    • {{ back.title }}
    • {% endif %} - {% for choice in choices %} -
    • {% if choice.link %}{{ choice.title }}{% else %}{{ choice.title }}{% endif %}
    • - {% endfor %} -

    -
    -
    -{% endif %} diff --git a/lib/grappelli/templates/admin/delete_confirmation.html b/lib/grappelli/templates/admin/delete_confirmation.html deleted file mode 100644 index f0cf7ad..0000000 --- a/lib/grappelli/templates/admin/delete_confirmation.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %} - -{% endblock %} - - -{% block content %} -
    - {% if perms_lacking %} -
    -

    {% blocktrans with object as escaped_object %}Deleting the {{ object_name }} '{{ escaped_object }}' would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

    -
    -
      - {% for obj in perms_lacking %} -
    • {{ obj }}
    • - {% endfor %} -
    -
    -
    - {% else %} -
    -

    {% blocktrans with object as escaped_object %}Are you sure you want to delete the {{ object_name }} "{{ escaped_object }}"? All of the following related items will be deleted:{% endblocktrans %}

    -
    -
      {{ deleted_objects|unordered_list }}
    -
    -
    -
    {% csrf_token %} - -
    - {% endif %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/delete_selected_confirmation.html b/lib/grappelli/templates/admin/delete_selected_confirmation.html deleted file mode 100644 index 4e34d9f..0000000 --- a/lib/grappelli/templates/admin/delete_selected_confirmation.html +++ /dev/null @@ -1,54 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %} - -{% endblock %} - - -{% block content %} -
    - {% if perms_lacking %} -
    -

    {% blocktrans %}Deleting the {{ object_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

    -
    -
      - {% for obj in perms_lacking %} -
    • {{ obj }}
    • - {% endfor %} -
    -
    -
    - {% else %} -
    -

    {% blocktrans %}Are you sure you want to delete the selected {{ object_name }} objects? All of the following objects and their related items will be deleted:{% endblocktrans %}

    - {% for deleteable_object in deletable_objects %} -
    -
      {{ deleteable_object|unordered_list }}
    -
    - {% endfor %} -
    -
    {% csrf_token %} - -
    - {% endif %} -
    -{% endblock %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/edit_inline/stacked.html b/lib/grappelli/templates/admin/edit_inline/stacked.html deleted file mode 100644 index 7112ba2..0000000 --- a/lib/grappelli/templates/admin/edit_inline/stacked.html +++ /dev/null @@ -1,147 +0,0 @@ -{% load i18n adminmedia %} - - -
    -

    {{ inline_admin_formset.opts.verbose_name_plural|title }}

    - - {{ inline_admin_formset.formset.management_form }} - {{ inline_admin_formset.formset.non_form_errors }} - -
    - {% for inline_admin_form in inline_admin_formset %} - -
    -

    {{ inline_admin_formset.opts.verbose_name|title }} #{{ forloop.counter }}  {% if inline_admin_form.original %}{{ inline_admin_form.original }}{% endif %}

    -
      - {% if inline_admin_form.show_url %}{% endif %} - {% if inline_admin_formset.opts.sortable_field_name %} -
    • - {% endif %} - {% if inline_admin_formset.formset.can_delete %} - {% if inline_admin_form.original %} -
    • {{ inline_admin_form.deletion_field.field }}
    • - {% else %} -
    • {{ inline_admin_form.deletion_field.field }}
    • - {% endif %} - {% endif %} -
    - {% if inline_admin_form.form.non_field_errors %} -
      -
    • {{ inline_admin_form.form.non_field_errors }}
    • -
    - {% endif %} - {% for fieldset in inline_admin_form %} - {% include "admin/includes/fieldset_inline.html" %} - {% endfor %} - {{ inline_admin_form.pk_field.field }} - {{ inline_admin_form.fk_field.field }} -
    - {% endfor %} - {{ inline_admin_formset.extra_forms }} -
    - -
    - - diff --git a/lib/grappelli/templates/admin/edit_inline/tabular.html b/lib/grappelli/templates/admin/edit_inline/tabular.html deleted file mode 100644 index 4d4ef94..0000000 --- a/lib/grappelli/templates/admin/edit_inline/tabular.html +++ /dev/null @@ -1,211 +0,0 @@ -{% load i18n adminmedia %} - - -
    -

    {{ inline_admin_formset.opts.verbose_name_plural|capfirst }}

    - - {{ inline_admin_formset.formset.management_form }} - {{ inline_admin_formset.formset.non_form_errors }} - -
    -
    -
    - {% for field in inline_admin_formset.fields %} - {% if not field.widget.is_hidden %} -
    {{ field.label|capfirst }}
    - {% endif %} - {% endfor %} - {% if inline_admin_formset.formset.can_delete %}
     
    {% endif %} -
    -
    - {% for inline_admin_form in inline_admin_formset %} - -
    - {% if inline_admin_form.form.non_field_errors %} -
    • {{ inline_admin_form.form.non_field_errors }}
    - {% endif %} -

    {{ inline_admin_formset.opts.verbose_name|title }} #{{ forloop.counter }}  {% if inline_admin_form.original %} {{ inline_admin_form.original }}{% endif %}

    - {% spaceless %} - {% for fieldset in inline_admin_form %} - {% for line in fieldset %} - {% for field in line %} - {% if field.is_hidden %} {{ field.field }} {% endif %} - {% endfor %} - {% endfor %} - {% endfor %} - {% endspaceless %} -
    - {% for fieldset in inline_admin_form %} - {% for line in fieldset %} - {% for field in line %} -
    - {% if field.is_readonly %} -

    {{ field.contents }}

    - {% else %} - {{ field.field }} - {{ field.field.errors.as_ul }} - {% endif %} -
    - {% endfor %} - {% endfor %} - {% endfor %} -
    - {% spaceless %} -
      - {% if inline_admin_form.show_url %}{% endif %} - {% if inline_admin_formset.opts.sortable_field_name %} -
    • - {% endif %} - {% if inline_admin_formset.formset.can_delete %}
    • {{ inline_admin_form.deletion_field.field }} {% endif %} -
    - {% endspaceless %} -
    - {{ inline_admin_form.fk_field.field }} - {% if inline_admin_form.has_auto_field %}{{ inline_admin_form.pk_field.field }}{% endif %} -
    -
    - {% endfor %} -
    - -
    - - - diff --git a/lib/grappelli/templates/admin/filter.html b/lib/grappelli/templates/admin/filter.html deleted file mode 100644 index 07756b6..0000000 --- a/lib/grappelli/templates/admin/filter.html +++ /dev/null @@ -1,7 +0,0 @@ -{% load i18n %} -
    - - -
    \ No newline at end of file diff --git a/lib/grappelli/templates/admin/includes/fieldset.html b/lib/grappelli/templates/admin/includes/fieldset.html deleted file mode 100644 index 561a7e3..0000000 --- a/lib/grappelli/templates/admin/includes/fieldset.html +++ /dev/null @@ -1,37 +0,0 @@ -{% spaceless %} -
    - {% if fieldset.name %}

    {{ fieldset.name }}

    {% endif %} - {% if fieldset.description %}
    {{ fieldset.description|safe }}
    {% endif %} - {% for line in fieldset %} -
    - {% for field in line %} - - {% if field.is_checkbox %} -
     
    -
    - {{ field.field }}{{ field.label_tag }} - {{ line.errors }} - {% if field.field.field.help_text %} -

    {{ field.field.field.help_text|safe }}

    - {% endif %} -
    - {% else %} -
    {{ field.label_tag }}
    -
    - {% if field.is_readonly %} -

    {{ field.contents }}

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

    {{ field.field.field.help_text|safe }}

    - {% endif %} -
    - {% endif %} -
    - {% endfor %} - - {% endfor %} -
    -{% endspaceless %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/includes/fieldset_inline.html b/lib/grappelli/templates/admin/includes/fieldset_inline.html deleted file mode 100644 index 137dce9..0000000 --- a/lib/grappelli/templates/admin/includes/fieldset_inline.html +++ /dev/null @@ -1,37 +0,0 @@ -{% spaceless %} -
    - {% if fieldset.name %}

    {{ fieldset.name }}

    {% endif %} - {% if fieldset.description %}
    {{ fieldset.description|safe }}
    {% endif %} - {% for line in fieldset %} -
    - {% for field in line %} - - {% if field.is_checkbox %} -
     
    -
    - {{ field.field }}{{ field.label_tag }} - {{ line.errors }} - {% if field.field.field.help_text %} -

    {{ field.field.field.help_text|safe }}

    - {% endif %} -
    - {% else %} -
    {{ field.label_tag }}
    -
    - {% if field.is_readonly %} -

    {{ field.contents }}

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

    {{ field.field.field.help_text|safe }}

    - {% endif %} -
    - {% endif %} -
    - {% endfor %} - - {% endfor %} -
    -{% endspaceless %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/includes_grappelli/header.html b/lib/grappelli/templates/admin/includes_grappelli/header.html deleted file mode 100644 index 77a0ad9..0000000 --- a/lib/grappelli/templates/admin/includes_grappelli/header.html +++ /dev/null @@ -1,46 +0,0 @@ -{% load i18n grp_tags %} - - diff --git a/lib/grappelli/templates/admin/index.html b/lib/grappelli/templates/admin/index.html deleted file mode 100644 index fbec3bc..0000000 --- a/lib/grappelli/templates/admin/index.html +++ /dev/null @@ -1 +0,0 @@ -{% extends admin_template_index %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/init.js b/lib/grappelli/templates/admin/init.js deleted file mode 100644 index e69de29..0000000 diff --git a/lib/grappelli/templates/admin/invalid_setup.html b/lib/grappelli/templates/admin/invalid_setup.html deleted file mode 100644 index f3e097e..0000000 --- a/lib/grappelli/templates/admin/invalid_setup.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %}{% endblock %} - - -{% block content %} -

    {% trans "Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropriate user." %}

    -{% endblock %} diff --git a/lib/grappelli/templates/admin/login.html b/lib/grappelli/templates/admin/login.html deleted file mode 100644 index 6f12b71..0000000 --- a/lib/grappelli/templates/admin/login.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} {# grp_csrf #} - - -{% block bodyclass %}login{% endblock %} -{% block content-class %}content-flexible{% endblock %} -{% block content_title %}{% endblock %} - - -{% block extrahead %} - -{% endblock %} - - -{% block breadcrumbs %}{% endblock %} - - -{% block content %} -
    -
    - {% if error_message %}{% endif %} -
    {% csrf_token %} -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
      -
    • -
    -
    -
    -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/object_history.html b/lib/grappelli/templates/admin/object_history.html deleted file mode 100644 index 1058fc9..0000000 --- a/lib/grappelli/templates/admin/object_history.html +++ /dev/null @@ -1,51 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n %} - - -{% block breadcrumbs %} - -{% endblock %} - - -{% block content %} -
    -
    - {% if action_list %} - - - - - - - - - - {% for action in action_list %} - - - - - - {% endfor %} - -
    {% trans 'Date/time' %}{% trans 'User' %}{% trans 'Action' %}
    {{ action.action_time|date:_("DATETIME_FORMAT") }}{{ action.user.username }}{% if action.user.get_full_name %} ({{ action.user.get_full_name }}){% endif %} - {% ifequal forloop.counter 1 %} - {% trans "Created object" %} - {% else %} - {{ action.change_message }} - {% endifequal %} -
    - {% else %} -

    {% trans "This object doesn't have a change history. It probably wasn't added via this admin site." %}

    - {% endif %} -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin/pagination.html b/lib/grappelli/templates/admin/pagination.html deleted file mode 100644 index ecd0859..0000000 --- a/lib/grappelli/templates/admin/pagination.html +++ /dev/null @@ -1,30 +0,0 @@ -{% load admin_list i18n %} - -{% spaceless %} - -{% endspaceless %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/prepopulated_fields_js.html b/lib/grappelli/templates/admin/prepopulated_fields_js.html deleted file mode 100644 index 7ab79e9..0000000 --- a/lib/grappelli/templates/admin/prepopulated_fields_js.html +++ /dev/null @@ -1,17 +0,0 @@ - diff --git a/lib/grappelli/templates/admin/search_form.html b/lib/grappelli/templates/admin/search_form.html deleted file mode 100644 index 48c4184..0000000 --- a/lib/grappelli/templates/admin/search_form.html +++ /dev/null @@ -1,20 +0,0 @@ -{% load adminmedia i18n grp_tags %} -{% if cl.search_fields %} - {% comment %}{% get_search_fields_verbose cl.opts as search_fields_verbose %}{% endcomment %} - - -{% endif %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin/submit_line.html b/lib/grappelli/templates/admin/submit_line.html deleted file mode 100644 index 4f06ac5..0000000 --- a/lib/grappelli/templates/admin/submit_line.html +++ /dev/null @@ -1,12 +0,0 @@ -{% load i18n %} - diff --git a/lib/grappelli/templates/admin/template_validator.html b/lib/grappelli/templates/admin/template_validator.html deleted file mode 100644 index 219c442..0000000 --- a/lib/grappelli/templates/admin/template_validator.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "admin/base_site.html" %} - -{# load grp_csrf #} - -{% block content %} -
    -
    {% csrf_token %} - {% if form.error_dict %} -

    Your template had {{ form.error_dict.items|length }} error{{ form.error_dict.items|pluralize }}:

    - {% endif %} -
    -
    -

    -
    - {{ form.site }} - {% if form.site.errors %}{{ form.site.html_error_list }}{% endif %} -
    -
    -
    -

    -
    - {{ form.template }} - {% if form.template.errors %}{{ form.template.html_error_list }}{% endif %} -
    -
    -
    -
    -
      -
    • -
    -
    -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/bookmarklets.html b/lib/grappelli/templates/admin_doc/bookmarklets.html deleted file mode 100644 index 7eba0be..0000000 --- a/lib/grappelli/templates/admin_doc/bookmarklets.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% load i18n %}{% endblock %} -{% block title %}{% trans "Documentation bookmarklets" %}{% endblock %} - -{% block content %} -

    {% trans "Bookmarklets" %}

    -
    - {% blocktrans %} -

    To install bookmarklets, drag the link to your bookmarks - toolbar, or right-click the link and add it to your bookmarks. Now you can - select the bookmarklet from any page in the site. Note that some of these - bookmarklets require you to be viewing the site from a computer designated - as "internal" (talk to your system administrator if you aren't sure if - your computer is "internal").

    - {% endblocktrans %} -
    -

    {% trans "Documentation for this page" %}

    -

    {% trans "Jumps you from any page to the documentation for the view that generates that page." %}

    -
    -
    -

    {% trans "Show object ID" %}

    -

    {% trans "Shows the content-type and unique ID for pages that represent a single object." %}

    -
    -
    -

    {% trans "Edit this object (current window)" %}

    -

    {% trans "Jumps to the admin page for pages that represent a single object." %}

    -
    -
    -

    {% trans "Edit this object (new window)" %}

    -

    {% trans "As above, but opens the admin page in a new window." %}

    -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/index.html b/lib/grappelli/templates/admin_doc/index.html deleted file mode 100644 index 0260106..0000000 --- a/lib/grappelli/templates/admin_doc/index.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}Documentation{% endblock %} - -{% block content %} -

    Documentation

    -
    -
    -

    Tags

    -

    List of all the template tags and their functions.

    -
    -
    -

    Filters

    -

    Filters are actions which can be applied to variables in a template to alter the output.

    -
    -
    -

    Models

    -

    Models are descriptions of all the objects in the system and their associated fields. Each model has a list of fields which can be accessed as template variables.

    -
    -
    -

    Views

    -

    Each page on the public site is generated by a view. The view defines which template is used to generate the page and which objects are available to that template.

    -
    -
    -

    Bookmarklets

    -

    Tools for your browser to quickly access admin functionality.

    -
    -
    -{% endblock %} - diff --git a/lib/grappelli/templates/admin_doc/missing_docutils.html b/lib/grappelli/templates/admin_doc/missing_docutils.html deleted file mode 100644 index 47488a2..0000000 --- a/lib/grappelli/templates/admin_doc/missing_docutils.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block bodyclass %}documentation{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}Please install docutils{% endblock %} - -{% block content %} -

    Documentation

    -
    -

    The admin documentation system requires Python's docutils library.

    -

    Please ask your administrators to install docutils.

    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/model_detail.html b/lib/grappelli/templates/admin_doc/model_detail.html deleted file mode 100644 index 85593f0..0000000 --- a/lib/grappelli/templates/admin_doc/model_detail.html +++ /dev/null @@ -1,51 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block javascripts %} - {{ block.super }} - -{% endblock %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} - -{% block title %}Model: {{ name }}{% endblock %} - -{% block content %} -

    {{ summary }}

    -
    - {% if description %} -

    {% filter linebreaksbr %}{% trans description %}{% endfilter %}

    - {% endif %} -
    - - - - - - - - - - {% for field in fields|dictsort:"name" %} - - - - - - {% endfor %} - -
    FieldTypeDescription
    {{ field.name }}{{ field.data_type }}{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}
    -
    - ‹ Back to Models Documentation -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/model_index.html b/lib/grappelli/templates/admin_doc/model_index.html deleted file mode 100644 index 84a93f3..0000000 --- a/lib/grappelli/templates/admin_doc/model_index.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block javascripts %} - {{ block.super }} - -{% endblock %} - -{% block bodyclass %}documentation model-index{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} - -{% block title %}Models{% endblock %} - -{% block content %} -

    Model documentation

    - {% regroup models by app_label as grouped_models %} -
    -
    -
    -

    Model groups

    - -
    -
    -
    - {% for group in grouped_models %} -
    -

    {{ group.grouper|capfirst }}

    - - {% for model in group.list %} - - - - {% endfor %} -
    {{ model.object_name }}
    -
    - {% endfor %} -
    -
    -{% endblock %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin_doc/template_detail.html b/lib/grappelli/templates/admin_doc/template_detail.html deleted file mode 100644 index 52935dd..0000000 --- a/lib/grappelli/templates/admin_doc/template_detail.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block bodyclass %}documentation{% endblock %} -{% block breadcrumbs %}{% endblock %} - -{% block title %}Template: {{ name }}{% endblock %} - -{% block content %} -

    Template: "{{ name }}"

    - {% regroup templates|dictsort:"site_id" by site as templates_by_site %} - {% for group in templates_by_site %} -

    Search path for template "{{ name }}" on {{ group.grouper }}:

    -
      - {% for template in group.list|dictsort:"order" %} -
    1. {{ template.file }}{% if not template.exists %} (does not exist){% endif %}
    2. - {% endfor %} -
    - {% endfor %} -

    ‹ Back to Documentation

    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/template_filter_index.html b/lib/grappelli/templates/admin_doc/template_filter_index.html deleted file mode 100644 index 434679b..0000000 --- a/lib/grappelli/templates/admin_doc/template_filter_index.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block javascripts %} - {{ block.super }} - -{% endblock %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}Template filters{% endblock %} - -{% block content %} -

    Template filter documentation

    -
    -
    - {% regroup filters|dictsort:"library" by library as filter_libraries %} - {% for library in filter_libraries %} -
    -

    {% firstof library.grouper "Built-in filters" %}

    -
      - {% for filter in library.list|dictsort:"name" %} -
    • {{ filter.name }}
    • - {% endfor %} -
    -
    - {% endfor %} -
    -
    - {% regroup filters|dictsort:"library" by library as filter_libraries %} - {% for library in filter_libraries %} -
    -

    {% firstof library.grouper "Built-in filters" %}

    - {% if library.grouper %}

    To use these filters, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the filter.

    {% endif %} - {% for filter in library.list|dictsort:"name" %} -
    -

    {{ filter.name }}

    -

    {{ filter.title }}

    -

    {{ filter.body }}

    -
    - {% endfor %} -
    - {% endfor %} -
    -
    -{% endblock %} - diff --git a/lib/grappelli/templates/admin_doc/template_tag_index.html b/lib/grappelli/templates/admin_doc/template_tag_index.html deleted file mode 100644 index 703b2b2..0000000 --- a/lib/grappelli/templates/admin_doc/template_tag_index.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block javascripts %} - {{ block.super }} - -{% endblock %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}Template tags{% endblock %} - -{% block content %} -

    Template tag documentation

    -
    -
    - {% regroup tags|dictsort:"library" by library as tag_libraries %} - {% for library in tag_libraries %} -
    -

    {% firstof library.grouper "Built-in tags" %}

    -
      - {% for tag in library.list|dictsort:"name" %} -
    • {{ tag.name }}
    • - {% endfor %} -
    -
    - {% endfor %} -
    -
    - {% regroup tags|dictsort:"library" by library as tag_libraries %} - {% for library in tag_libraries %} -
    -

    {% firstof library.grouper "Built-in tags" %}

    - {% if library.grouper %}

    To use these tags, put {% templatetag openblock %} load {{ library.grouper }} {% templatetag closeblock %} in your template before using the tag.

    {% endif %} - {% for tag in library.list|dictsort:"name" %} -
    -

    {{ tag.name }}

    -

    {{ tag.title }}

    -

    {{ tag.body }}

    -
    - {% endfor %} -
    - {% endfor %} -
    -
    -{% endblock %} - - diff --git a/lib/grappelli/templates/admin_doc/view_detail.html b/lib/grappelli/templates/admin_doc/view_detail.html deleted file mode 100644 index 900d3ed..0000000 --- a/lib/grappelli/templates/admin_doc/view_detail.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}View: {{ name }}{% endblock %} - -{% block content %} -

    {{ name }}

    -
    -
    -

    {{ summary }}

    -

    {{ body }}

    - {% if meta.Context %} -
    -

    Context:

    -

    {{ meta.Context }}

    -
    - {% endif %} - {% if meta.Templates %} -
    -

    Templates:

    -

    {{ meta.Templates }}

    -
    - {% endif %} -
    - ‹ Back to Views Documentation -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_doc/view_index.html b/lib/grappelli/templates/admin_doc/view_index.html deleted file mode 100644 index b3c941c..0000000 --- a/lib/grappelli/templates/admin_doc/view_index.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load adminmedia %} -{% load i18n %} -{% block javascripts %} - {{ block.super }} - -{% endblock %} -{% block bodyclass %}documentation{% endblock %} -{% block content-class %}content-grid{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}Views{% endblock %} - -{% block content %} -

    View documentation

    - {% regroup views|dictsort:"site_id" by site as views_by_site %} -
    -
    -
    -

    Jump to site

    - -
    -
    -
    - {% for site_views in views_by_site %} -
    -

    Views by URL on {{ site_views.grouper.name }}

    - {% for view in site_views.list|dictsort:"url" %} - {% ifchanged %} -
    -

    {{ view.url }}

    -

    View function: {{ view.module }}.{{ view.name }}

    -

    {{ view.title }}

    -
    - {% endifchanged %} - {% endfor %} -
    - {% endfor %} -
    -
    -{% endblock %} - - diff --git a/lib/grappelli/templates/admin_tools/dashboard/css.html b/lib/grappelli/templates/admin_tools/dashboard/css.html deleted file mode 100644 index 0c69fd1..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/css.html +++ /dev/null @@ -1,2 +0,0 @@ -{% for css in css_files %} -{% endfor %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/dashboard.html b/lib/grappelli/templates/admin_tools/dashboard/dashboard.html deleted file mode 100644 index 76aaa1e..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/dashboard.html +++ /dev/null @@ -1,79 +0,0 @@ -{% load i18n admin_tools_dashboard_tags %} - - - - - -{% if dashboard.Media.js %} - {% for js in dashboard.Media.js %} - - {% endfor %} -{% endif %} - -
    -
    - {% for module in dashboard.children %} - {% if "column_1" in module.css_classes %} - {% admin_tools_render_dashboard_module module forloop.counter %} - {% endif %} - {% endfor %} -
    -
    - {% for module in dashboard.children %} - {% if "column_2" in module.css_classes %} - {% admin_tools_render_dashboard_module module forloop.counter %} - {% endif %} - {% endfor %} -
    -
    - {% for module in dashboard.children %} - {% if "column_3" in module.css_classes %} - {% admin_tools_render_dashboard_module module forloop.counter %} - {% endif %} - {% endfor %} -
    -
    diff --git a/lib/grappelli/templates/admin_tools/dashboard/dashboard.txt b/lib/grappelli/templates/admin_tools/dashboard/dashboard.txt deleted file mode 100644 index 4417070..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/dashboard.txt +++ /dev/null @@ -1,141 +0,0 @@ -from django.utils.translation import ugettext_lazy as _ -from django.core.urlresolvers import reverse -from admin_tools.dashboard import modules, Dashboard, AppIndexDashboard - -# to activate your index dashboard add the following to your settings.py: -# -# ADMIN_TOOLS_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomIndexDashboard' - -class CustomIndexDashboard(Dashboard): - """ - Custom index dashboard for {{ project }}. - """ - def __init__(self, **kwargs): - Dashboard.__init__(self, **kwargs) - - # append a link list module for "quick links" - #self.children.append(modules.LinkList( - # title=_('Quick links'), - # layout='inline', - # draggable=False, - # deletable=False, - # collapsible=False, - # children=[ - # { - # 'title': _('Return to site'), - # 'url': '/', - # }, - # { - # 'title': _('Change password'), - # 'url': reverse('admin:password_change'), - # }, - # { - # 'title': _('Log out'), - # 'url': reverse('admin:logout') - # }, - # ] - #)) - - self.children.append(modules.LinkList( - column=1, - title=_('Media Management'), - children=[ - { - 'title': _('Django FileBrowser'), - 'url': '/admin/filebrowser/browse/', - 'external': False, - }, - ] - )) - - # append an app list module for "Administration" - self.children.append(modules.AppList( - title=_('Administration'), - include_list=('django.contrib',), - css_classes=['collapse', 'open'], - )) - - # append an app list module for "Applications" - self.children.append(modules.AppList( - title=_('Applications'), - exclude_list=('django.contrib',), - css_classes=['collapse', 'open'], - )) - - # append a recent actions module - self.children.append(modules.RecentActions( - column=2, - title=_('Recent Actions'), - limit=5 - )) - - # append a feed module - self.children.append(modules.Feed( - column=2, - title=_('Latest Django News'), - feed_url='http://www.djangoproject.com/rss/weblog/', - limit=5 - )) - - # append another link list module for "support". - self.children.append(modules.LinkList( - column=2, - title=_('Support'), - children=[ - { - 'title': _('Django documentation'), - 'url': 'http://docs.djangoproject.com/', - 'external': True, - }, - { - 'title': _('Django "django-users" mailing list'), - 'url': 'http://groups.google.com/group/django-users', - 'external': True, - }, - { - 'title': _('Django irc channel'), - 'url': 'irc://irc.freenode.net/django', - 'external': True, - }, - ] - )) - - def init_with_context(self, context): - """ - Use this method if you need to access the request context. - """ - pass - - -# to activate your app index dashboard add the following to your settings.py: -# -# ADMIN_TOOLS_APP_INDEX_DASHBOARD = '{{ project }}.{{ file }}.CustomAppIndexDashboard' - -class CustomAppIndexDashboard(AppIndexDashboard): - """ - Custom app index dashboard for {{ project }}. - """ - def __init__(self, *args, **kwargs): - AppIndexDashboard.__init__(self, *args, **kwargs) - - # we disable title because its redundant with the model list module - self.title = '' - - # append a model list module - self.children.append(modules.ModelList( - title=_(self.app_title), - models=self.models, - )) - - # append a recent actions module - self.children.append(modules.RecentActions( - column=2, - title=_('Recent Actions'), - include_list=self.get_app_content_types(), - )) - - def init_with_context(self, context): - """ - Use this method if you need to access the request context. - """ - pass diff --git a/lib/grappelli/templates/admin_tools/dashboard/dashboard_app_index.txt b/lib/grappelli/templates/admin_tools/dashboard/dashboard_app_index.txt deleted file mode 100644 index 0574dfc..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/dashboard_app_index.txt +++ /dev/null @@ -1,29 +0,0 @@ -from django.utils.translation import ugettext_lazy as _ -from django.core.urlresolvers import reverse -from admin_tools.dashboard import modules, AppIndexDashboard - -# create your custom modules here if you want, for example: -# -# class CustomDashboardModule(modules.DashboardModule): -# pass -# -{% if warning %} -# WARNING: you've changed the default file name 'dashboard.py' to '{{ file }}.py', -# so, you will need to tell django-admin-tools about this, just add this line -# to your settings.py file: -# ADMIN_TOOLS_APP_INDEX_DASHBOARD_MODULE = '{{ file }}' -{% endif %} -# Your {{ app }} dashboard class -class {{ app|capfirst }}Dashboard(AppIndexDashboard): - """ - Document your custom app index dashboard. - """ - def __init__(self, app_title, models, *args, **kwargs): - super(CustomAppIndexDashboard, self).__init__(*args, **kwargs) - - # append your modules here, example: - # self.append(modules.RecentActionsDashboardModule( - # title=_('Recent Actions'), - # limit=5, - # include_list=models, - # )) diff --git a/lib/grappelli/templates/admin_tools/dashboard/dummy.html b/lib/grappelli/templates/admin_tools/dashboard/dummy.html deleted file mode 100644 index f04fcf5..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/dummy.html +++ /dev/null @@ -1 +0,0 @@ -{% extends template %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/module.html b/lib/grappelli/templates/admin_tools/dashboard/module.html deleted file mode 100644 index 85f55f8..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/module.html +++ /dev/null @@ -1,7 +0,0 @@ -{% if not module.is_empty %} - {% block module_content %} - {% for child in module.children %} - {{ child }} - {% endfor %} - {% endblock %} -{% endif %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html b/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html deleted file mode 100644 index 8cbd4a7..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/app_list.html +++ /dev/null @@ -1,58 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% load i18n %} -{% block module_content %} -
    - - {% if module.title %} - {% if subindex %} -

    {{ module.title }}

    - {% else %} -

    {{ module.title }}

    - {% endif %} - {% endif %} - -{% spaceless %} - {% if module.pre_content %} -

    {{ module.pre_content }}

    - {% endif %} - {% for child in module.children %} - -
    - {% if subindex %} -

    {{ child.title }}

    - {% else %} -

    {{ child.title }}

    - {% endif %} - - {% for model in child.models %} -
    - {% if model.change_url %} - {{ model.title }} - {% else %} - {{ model.title }} - {% endif %} - {% if model.add_url or model.change_url %} - - {% endif %} -
    - {% endfor %} - -
    - {% endfor %} - {% if module.post_content %} -

    {{ module.post_content }}

    - {% endif %} -{% endspaceless %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/column.html b/lib/grappelli/templates/admin_tools/dashboard/modules/column.html deleted file mode 100644 index 8df8268..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/column.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "dashboard/module.html" %} -{% load i18n admin_tools_dashboard_tags %} -{% block module_content %} -
    - {% for child in module.children %} - {% admin_tools_render_dashboard_module child forloop.counter %} - {% endfor %} -
    -{% endblock %} \ No newline at end of file diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html b/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html deleted file mode 100644 index 3deec4e..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/feed.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% block module_content %} -{% if subindex %} -
    -

    {{ module.title }}

    -{% else %} -
    -

    {{ module.title }}

    -{% endif %} -
      - {% spaceless %} - {% for child in module.children %} -
    • - {% if child.date %}{{ child.date|date }} {% endif %} - {% if child.warning %}{{ child.title }}{% else %}{{ child.title }}{% endif %} -
    • - {% endfor %} - {% endspaceless %} -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/group.html b/lib/grappelli/templates/admin_tools/dashboard/modules/group.html deleted file mode 100644 index 144c82f..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/group.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% load admin_tools_dashboard_tags %} -{% block module_content %} -
    - {% spaceless %} - {% if module.title %} -

    {{ module.title }}

    - {% endif %} - {% ifequal module.display "tabs" %} -
    -
      - {% for sub_module in module.children %} - {% if not sub_module.is_empty %}{% endif %} - {% endfor %} -
    - {% for sub_module in module.children %} - {% admin_tools_render_dashboard_module sub_module index forloop.counter %} - {% endfor %} -
    - {% endifequal %} - {% ifequal module.display "accordion" %} - {% for sub_module in module.children %} - {% if not sub_module.is_empty %}{{ sub_module.title }}{% endif %} - {% admin_tools_render_dashboard_module sub_module index forloop.counter %} - {% endfor %} - {% else %} - - {% endifequal %} - - - {% endspaceless %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html b/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html deleted file mode 100644 index 97b357e..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/link_list.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% block module_content %} - -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html b/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html deleted file mode 100644 index 7431f8f..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/model_list.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% load i18n %} -{% block module_content %} -
    - {% if module.title %} - {% if subindex %} -

    {{ module.title }}

    - {% else %} -

    {{ module.title }}

    - {% endif %} - {% endif %} - - {% for child in module.children %} -
    - {% if child.change_url %}{{ child.title }}{% else %}{{ child.title }}{% endif %} - - {% if child.add_url or child.change_url %} - - {% endif %} -
    - {% endfor %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html b/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html deleted file mode 100644 index 8e0f256..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/module_group.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "dashboard/module.html" %} -{% load i18n admin_tools_dashboard_tags %} -{% block module_content %} -
    -

    {{ module.title }}

    - {% for sub_module in module.children %} - {% admin_tools_render_dashboard_module sub_module forloop.counter %} - {% endfor %} -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html b/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html deleted file mode 100644 index 0b7bb9e..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/modules/recent_actions.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "admin_tools/dashboard/module.html" %} -{% load i18n %} -{% block module_content %} -{% if subindex %} -
    -

    {% trans 'Recent Actions' %}

    -
    -

    {% trans 'My Actions' %}

    -{% else %} -
    -

    {% trans 'Recent Actions' %}

    -
    -

    {% trans 'My Actions' %}

    -{% endif %} - {% if module.children %} - - {% else %} -

    {% trans 'None Available' %}

    - {% endif %} -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/dashboard/preferences_form.html b/lib/grappelli/templates/admin_tools/dashboard/preferences_form.html deleted file mode 100644 index 7da463a..0000000 --- a/lib/grappelli/templates/admin_tools/dashboard/preferences_form.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% block content %} - -
    - {{ form.as_p }} -

    -
    - -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html b/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html deleted file mode 100644 index e0fcf2a..0000000 --- a/lib/grappelli/templates/admin_tools/menu/add_bookmark_form.html +++ /dev/null @@ -1,9 +0,0 @@ -{% url admin-tools-menu-add-bookmark as form_url %} -{% if form_url %} -
    - - - - -
    -{% endif %} diff --git a/lib/grappelli/templates/admin_tools/menu/css.html b/lib/grappelli/templates/admin_tools/menu/css.html deleted file mode 100644 index 71aefdb..0000000 --- a/lib/grappelli/templates/admin_tools/menu/css.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/lib/grappelli/templates/admin_tools/menu/delete_confirm.html b/lib/grappelli/templates/admin_tools/menu/delete_confirm.html deleted file mode 100644 index e32a678..0000000 --- a/lib/grappelli/templates/admin_tools/menu/delete_confirm.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% block content %} - -

    Are you sure you want to delete this bookmark?

    - -

    {{ bookmark.name }} - {{ bookmark.url }}

    - -
    -

    -
    - -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/menu/dummy.html b/lib/grappelli/templates/admin_tools/menu/dummy.html deleted file mode 100644 index f04fcf5..0000000 --- a/lib/grappelli/templates/admin_tools/menu/dummy.html +++ /dev/null @@ -1 +0,0 @@ -{% extends template %} diff --git a/lib/grappelli/templates/admin_tools/menu/form.html b/lib/grappelli/templates/admin_tools/menu/form.html deleted file mode 100644 index 7da463a..0000000 --- a/lib/grappelli/templates/admin_tools/menu/form.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% block content %} - -
    - {{ form.as_p }} -

    -
    - -{% endblock %} diff --git a/lib/grappelli/templates/admin_tools/menu/item.html b/lib/grappelli/templates/admin_tools/menu/item.html deleted file mode 100644 index 9bf8bbd..0000000 --- a/lib/grappelli/templates/admin_tools/menu/item.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load admin_tools_menu_tags %} -{% spaceless %} -{% if not item.is_empty %} - -{% endif %} -{% endspaceless %} diff --git a/lib/grappelli/templates/admin_tools/menu/menu.html b/lib/grappelli/templates/admin_tools/menu/menu.html deleted file mode 100644 index f43dc23..0000000 --- a/lib/grappelli/templates/admin_tools/menu/menu.html +++ /dev/null @@ -1,64 +0,0 @@ -{% load i18n admin_tools_menu_tags %} -{% if menu.children %} - - - {% comment %} - {% for item in menu.children %} - - {% endfor %} - {% endcomment %} - {% for item in menu.children %} - - {% ifequal item.css_classes|join:' ' "bookmark" %} - {% if bookmark %} - {% include "admin_tools/menu/remove_bookmark_form.html" %} - {% else %} - {% include "admin_tools/menu/add_bookmark_form.html" %} - {% endif %} - {% endifequal %} - {% endfor %} -{% endif %} diff --git a/lib/grappelli/templates/admin_tools/menu/menu.txt b/lib/grappelli/templates/admin_tools/menu/menu.txt deleted file mode 100644 index 72d20da..0000000 --- a/lib/grappelli/templates/admin_tools/menu/menu.txt +++ /dev/null @@ -1,32 +0,0 @@ -from django.core.urlresolvers import reverse -from django.utils.translation import ugettext_lazy as _ -from admin_tools.menu import items, Menu - -# to activate your custom menu add the following to your settings.py: -# -# ADMIN_TOOLS_MENU = '{{ project }}.{{ file }}.CustomMenu' - -class CustomMenu(Menu): - """ - Custom Menu for {{ project }} admin site. - """ - def __init__(self, **kwargs): - Menu.__init__(self, **kwargs) - self.children.append(items.MenuItem( - title=_('Dashboard'), - url=reverse('admin:index') - )) - self.children.append(items.AppList( - title=_('Applications'), - models=('add.your.app.models.here',) - )) - self.children.append(items.AppList( - title=_('Administration'), - models=('django.contrib',) - )) - - def init_with_context(self, context): - """ - Use this method if you need to access the request context. - """ - pass diff --git a/lib/grappelli/templates/admin_tools/menu/remove_bookmark_form.html b/lib/grappelli/templates/admin_tools/menu/remove_bookmark_form.html deleted file mode 100644 index 7d9567f..0000000 --- a/lib/grappelli/templates/admin_tools/menu/remove_bookmark_form.html +++ /dev/null @@ -1,7 +0,0 @@ -{% url admin-tools-menu-remove-bookmark bookmark.id as form_url %} -{% if form_url %} -
    - - -
    -{% endif %} diff --git a/lib/grappelli/templates/grappelli/index.html b/lib/grappelli/templates/grappelli/index.html deleted file mode 100644 index c0a4469..0000000 --- a/lib/grappelli/templates/grappelli/index.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends 'admin/base_site.html' %} - -hallo \ No newline at end of file diff --git a/lib/grappelli/templates/registration/logged_out.html b/lib/grappelli/templates/registration/logged_out.html deleted file mode 100644 index 31e9db4..0000000 --- a/lib/grappelli/templates/registration/logged_out.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block content-class %}content-flexible{% endblock %} - -{% block breadcrumbs %}{% comment %}{% endcomment %}{% endblock %} -{% block content_title %} {% endblock %} - -{% block content %} -
    -
    -

    {{ title }}. {% trans 'Log in again' %}

    - {% comment %}
    -

    {{ title }},

    - -
    {% endcomment %} -
    -
    -{% endblock %} diff --git a/lib/grappelli/templates/registration/password_change_done.html b/lib/grappelli/templates/registration/password_change_done.html deleted file mode 100644 index bfd01ab..0000000 --- a/lib/grappelli/templates/registration/password_change_done.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block userlinks %} - {% url django-admindocs-docroot as docsroot %} - {% if docsroot %} -
  • - {% trans 'Documentation' %} -
  • - {% endif %} -
  • - {% trans 'Change password' %} -
  • -
  • - {% trans 'Log out' %} -
  • -{% endblock %} - -{% block breadcrumbs %}{% endblock %} - -{% block title %}{% trans 'Password change successful' %}{% endblock %} -{% block content %} -

    {% trans 'Password change successful' %}

    -

    {% trans 'Your password was changed.' %}

    -{% endblock %} diff --git a/lib/grappelli/templates/registration/password_change_form.html b/lib/grappelli/templates/registration/password_change_form.html deleted file mode 100644 index e4d175f..0000000 --- a/lib/grappelli/templates/registration/password_change_form.html +++ /dev/null @@ -1,60 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} {# grp_csrf #} -{% block userlinks %} -{% url django-admindocs-docroot as docsroot %}{% if docsroot %} -
  • - {% trans 'Documentation' %} -
  • -{% endif %} -
  • - {% trans 'Change password' %} -
  • -
  • - {% trans 'Log out' %} -
  • -{% endblock %} -{% block breadcrumbs %}{% endblock %} -{% block title %}{% trans 'Password change' %}{% endblock %} -{% block content-class %}content-grid{% endblock %} - -{% block content %} - -

    {% trans 'Password change' %}

    - -
    -
    -

    {% trans "Please enter your old password, for securitys sake, and then enter your new password twice so we can verify you typed it in correctly." %}

    -
    {% csrf_token %} -
    -
    -
    -
    - {{ form.old_password }} - {{ form.old_password.errors }} -
    -
    -
    -
    -
    - {{ form.new_password1 }} - {{ form.new_password1.errors }} -
    -
    -
    -
    -
    - {{ form.new_password2 }} - {{ form.new_password2.errors }} -
    -
    -
    -
    -
      -
    • -
    -
    -
    -
    -
    - -{% endblock %} diff --git a/lib/grappelli/templates/registration/password_reset_complete.html b/lib/grappelli/templates/registration/password_reset_complete.html deleted file mode 100644 index 5b14a54..0000000 --- a/lib/grappelli/templates/registration/password_reset_complete.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} - -{% block breadcrumbs %}{% endblock %} - -{% block title %}{% trans 'Password reset complete' %}{% endblock %} - -{% block content %} -

    {% trans 'Password reset complete' %}

    -

    {% trans "Your password has been set. You may go ahead and log in now." %}

    -

    {% trans 'Log in' %}

    -{% endblock %} \ No newline at end of file diff --git a/lib/grappelli/templates/registration/password_reset_confirm.html b/lib/grappelli/templates/registration/password_reset_confirm.html deleted file mode 100644 index 6aad70f..0000000 --- a/lib/grappelli/templates/registration/password_reset_confirm.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} {# grp_csrf #} - -{% block breadcrumbs %}{% endblock %} - -{% block title %}{% trans 'Password reset' %}{% endblock %} - -{% block content %} - {% if validlink %} -

    {% trans 'Enter new password' %}

    -

    {% trans "Please enter your new password twice so we can verify you typed it in correctly." %}

    -
    {% csrf_token %} - {{ form.new_password1.errors }} -

    {{ form.new_password1 }}

    - {{ form.new_password2.errors }} -

    {{ form.new_password2 }}

    -

    -
    - {% else %} -

    {% trans 'Password reset unsuccessful' %}

    -

    {% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %} - {% endif %} -{% endblock %} diff --git a/lib/grappelli/templates/registration/password_reset_done.html b/lib/grappelli/templates/registration/password_reset_done.html deleted file mode 100644 index a009281..0000000 --- a/lib/grappelli/templates/registration/password_reset_done.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} - -{% block breadcrumbs %}

    {% endblock %} - -{% block title %}{% trans 'Password reset successful' %}{% endblock %} - -{% block content %} -

    {% trans 'Password reset successful' %}

    -

    {% trans "We've e-mailed a new password to the e-mail address you submitted. You should be receiving it shortly." %}

    -{% endblock %} diff --git a/lib/grappelli/templates/registration/password_reset_email.html b/lib/grappelli/templates/registration/password_reset_email.html deleted file mode 100644 index 4e4bd6d..0000000 --- a/lib/grappelli/templates/registration/password_reset_email.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load i18n %}{% autoescape off %} -{% trans "You're receiving this e-mail because you requested a password reset" %} -{% blocktrans %}for your user account at {{ site_name }}{% endblocktrans %}. - -{% trans "Please go to the following page and choose a new password:" %} -{% block reset_link %} -{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %} -{% endblock %} -{% trans "Your username, in case you've forgotten:" %} {{ user.username }} - -{% trans "Thanks for using our site!" %} - -{% blocktrans %}The {{ site_name }} team{% endblocktrans %} - -{% endautoescape %} diff --git a/lib/grappelli/templates/registration/password_reset_form.html b/lib/grappelli/templates/registration/password_reset_form.html deleted file mode 100644 index 7933280..0000000 --- a/lib/grappelli/templates/registration/password_reset_form.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} {# grp_csrf #} - -{% block breadcrumbs %}{% endblock %} - -{% block title %}{% trans "Password reset" %}{% endblock %} - -{% block content %} -

    {% trans "Password reset" %}

    -

    {% trans "Forgotten your password? Enter your e-mail address below, and we'll reset your password and e-mail the new one to you." %}

    -
    {% csrf_token %} - {% if form.email.errors %}{{ form.email.errors }}{% endif %} -

    {{ form.email }}

    -
    -{% endblock %} -- cgit v1.2.3