From: zuber Date: Wed, 20 Jan 2010 17:09:39 +0000 (+0100) Subject: Usunięcie nieużywanych szablonów. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f02b9f60518805daed701834903e4f8e82fee778 Usunięcie nieużywanych szablonów. --- diff --git a/platforma/templates/explorer/editor.html b/platforma/templates/explorer/editor.html deleted file mode 100755 index a2ec61f4..00000000 --- a/platforma/templates/explorer/editor.html +++ /dev/null @@ -1,259 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block extrahead %} - - - - - - - - {# Libraries #} - - - - - {# Scriptlets #} - - - {# App and views #} - - - - - - - - - - - - - - - {# JavaScript templates #} - - - - - - - - - - - - - -{% endblock extrahead %} - -{% block breadcrumbs %}Platforma > {{euser}} > {{ fileid }}{% endblock breadcrumbs %} - -{% block header-toolbar %} - {% trans 'History' %} - - - - -{% endblock %} - -{% block maincontent %} - - -
-
-
-
- - - - - - -{% endblock maincontent %} - -{% block extrabody %} -
-{% endblock %} \ No newline at end of file diff --git a/platforma/templates/explorer/file_list.html b/platforma/templates/explorer/file_list.html deleted file mode 100644 index 5bc53e87..00000000 --- a/platforma/templates/explorer/file_list.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "base.html" %} - -{% block extrahead %} - - - -{% endblock extrahead %} - -{% block maincontent %} -
- -
-
-

- - -

-
-
- {% for file in document_list %} -

{{ file }}

- {% endfor %} -
-
- -
-{% endblock maincontent %} diff --git a/platforma/templates/explorer/file_tree_part.html b/platforma/templates/explorer/file_tree_part.html deleted file mode 100644 index f65cf28a..00000000 --- a/platforma/templates/explorer/file_tree_part.html +++ /dev/null @@ -1,13 +0,0 @@ -{% load explorer_tags %} - -
  • - {{ document.name|bookname }} - {% if document.parts %} - - {% endif %} -
  • - diff --git a/platforma/templates/explorer/file_upload.html b/platforma/templates/explorer/file_upload.html deleted file mode 100755 index 1deedac4..00000000 --- a/platforma/templates/explorer/file_upload.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block maincontent %} -

    Dodawanie nowego utworu:

    - -{% if errors %} -
    -{% for error in errors %} -

    {{ error }}: {{ error.errors }}

    -{% endfor %} -
    -{% endif %} -
    - {{ bookform.as_p }} -

    -
    -{% endblock maincontent %} diff --git a/platforma/templates/explorer/folder_images.html b/platforma/templates/explorer/folder_images.html deleted file mode 100644 index 8f5f600f..00000000 --- a/platforma/templates/explorer/folder_images.html +++ /dev/null @@ -1,3 +0,0 @@ -{% for image in images %} -
    {{ image }}
    -{% endfor %} \ No newline at end of file diff --git a/platforma/templates/explorer/split.html b/platforma/templates/explorer/split.html deleted file mode 100755 index 8d3b67bb..00000000 --- a/platforma/templates/explorer/split.html +++ /dev/null @@ -1,26 +0,0 @@ -
    -
    - Split options - {% for field in splitform %} - {% if field.is_hidden %} - {{ field}} - {% else %} - {{ field.errors }} - {% ifequal field.html_name 'splitform-autoxml' %} -

    - {% else %} -

    - {% endifequal %} - {% endif %} - {% endfor %} -
    - - -

    - - -

    -
    diff --git a/platforma/templates/explorer/split_success.html b/platforma/templates/explorer/split_success.html deleted file mode 100755 index 4f3a57b8..00000000 --- a/platforma/templates/explorer/split_success.html +++ /dev/null @@ -1,3 +0,0 @@ -

    Split successful. You can edit the new part here: -{% url editor_view cfileid %}

    -

    \ No newline at end of file diff --git a/platforma/templates/html4print.html b/platforma/templates/html4print.html deleted file mode 100644 index 1b4ef319..00000000 --- a/platforma/templates/html4print.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - {{docid}} - - - - -
    - {{ output|safe }} -
    - - diff --git a/platforma/templates/manager/pull_request.html b/platforma/templates/manager/pull_request.html deleted file mode 100644 index a44b1ede..00000000 --- a/platforma/templates/manager/pull_request.html +++ /dev/null @@ -1,102 +0,0 @@ -{% extends 'base.html' %} - -{% block bodyid %}management{% endblock %} - -{% block extrahead %} - - - -{% endblock %} - -{% block maincontent %} -{% if objects %} - {% for pullreq in objects %} -
    -

    {{ pullreq.document }}

    - -

    {{ pullreq.comment }}

    - {% ifnotequal pullreq.status 'A' %} -

    - - - Zobacz -

    - {% endifnotequal %} -
    - {% endfor %} -{% else %} - {# Brak żądań #} -{% endif %} -{# #} - -{% endblock %} diff --git a/platforma/urls.py b/platforma/urls.py index 8d58e0e6..19dfc03d 100755 --- a/platforma/urls.py +++ b/platforma/urls.py @@ -21,7 +21,7 @@ urlpatterns = patterns('', # url(r'^file/(?P[^/]+)/print$', 'explorer.views.print_html', name="file_print"), - url(r'^$', 'wiki.views.document_list', {'template_name': 'explorer/file_list.html'}), + url(r'^$', 'wiki.views.document_list'), # Admin panel (r'^admin/filebrowser/', include('filebrowser.urls')),