From f02b9f60518805daed701834903e4f8e82fee778 Mon Sep 17 00:00:00 2001 From: zuber Date: Wed, 20 Jan 2010 18:09:39 +0100 Subject: [PATCH] =?utf8?q?Usuni=C4=99cie=20nieu=C5=BCywanych=20szablon?= =?utf8?q?=C3=B3w.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- platforma/templates/explorer/editor.html | 259 ------------------ platforma/templates/explorer/file_list.html | 43 --- .../templates/explorer/file_tree_part.html | 13 - platforma/templates/explorer/file_upload.html | 17 -- .../templates/explorer/folder_images.html | 3 - platforma/templates/explorer/split.html | 26 -- .../templates/explorer/split_success.html | 3 - platforma/templates/html4print.html | 13 - platforma/templates/manager/pull_request.html | 102 ------- platforma/urls.py | 2 +- 10 files changed, 1 insertion(+), 480 deletions(-) delete mode 100755 platforma/templates/explorer/editor.html delete mode 100644 platforma/templates/explorer/file_list.html delete mode 100644 platforma/templates/explorer/file_tree_part.html delete mode 100755 platforma/templates/explorer/file_upload.html delete mode 100644 platforma/templates/explorer/folder_images.html delete mode 100755 platforma/templates/explorer/split.html delete mode 100755 platforma/templates/explorer/split_success.html delete mode 100644 platforma/templates/html4print.html delete mode 100644 platforma/templates/manager/pull_request.html 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')), -- 2.20.1