From 52d5613672758ac6c8ebffc7f33d94d47bde6180 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:37:52 -0400 Subject: moved outside dependencies to virtualenv and dumped some unused apps out of lib --- .../filebrowser/templates/filebrowser/append.html | 12 -- .../templates/filebrowser/custom_field.html | 26 ---- .../templates/filebrowser/include/_response.html | 1 - .../templates/filebrowser/include/breadcrumbs.html | 24 ---- .../templates/filebrowser/include/filelisting.html | 136 ------------------ .../templates/filebrowser/include/filter.html | 27 ---- .../templates/filebrowser/include/paginator.html | 28 ---- .../templates/filebrowser/include/search.html | 31 ---- .../templates/filebrowser/include/tableheader.html | 32 ----- .../templates/filebrowser/include/toolbar.html | 36 ----- .../filebrowser/templates/filebrowser/index.html | 143 ------------------- .../filebrowser/templates/filebrowser/makedir.html | 45 ------ .../filebrowser/templates/filebrowser/rename.html | 43 ------ .../filebrowser/templates/filebrowser/upload.html | 113 --------------- .../templates/filebrowser/versions.html | 156 --------------------- 15 files changed, 853 deletions(-) delete mode 100644 app/lib/filebrowser/templates/filebrowser/append.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/custom_field.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/_response.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/breadcrumbs.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/filelisting.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/filter.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/paginator.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/search.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/tableheader.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/include/toolbar.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/index.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/makedir.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/rename.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/upload.html delete mode 100644 app/lib/filebrowser/templates/filebrowser/versions.html (limited to 'app/lib/filebrowser/templates') diff --git a/app/lib/filebrowser/templates/filebrowser/append.html b/app/lib/filebrowser/templates/filebrowser/append.html deleted file mode 100644 index a96b386..0000000 --- a/app/lib/filebrowser/templates/filebrowser/append.html +++ /dev/null @@ -1,12 +0,0 @@ -{% load i18n %} - -
- - - - - - - -
{% trans "FileBrowser" %}
{% trans "FileBrowser" %}
-
\ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/custom_field.html b/app/lib/filebrowser/templates/filebrowser/custom_field.html deleted file mode 100644 index 45c3b70..0000000 --- a/app/lib/filebrowser/templates/filebrowser/custom_field.html +++ /dev/null @@ -1,26 +0,0 @@ -{% load fb_versions %} - - {% comment %}{% endcomment %} - -{% ifequal value.filetype "Image" %} -

- - - -

-{% else %} - -{% endifequal %} -{% if final_attrs.DEBUG %} -

- Path {{ value.path }}
- FileType {{ value.filetype }}

- Directory {{ final_attrs.directory }}
- Extensions {{ final_attrs.extensions }}
- Format {{ final_attrs.format }} -

-{% endif %} \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/_response.html b/app/lib/filebrowser/templates/filebrowser/include/_response.html deleted file mode 100644 index e7dff2c..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/_response.html +++ /dev/null @@ -1 +0,0 @@ -{{ response }} \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/breadcrumbs.html b/app/lib/filebrowser/templates/filebrowser/include/breadcrumbs.html deleted file mode 100644 index c6f539d..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/breadcrumbs.html +++ /dev/null @@ -1,24 +0,0 @@ -{% load i18n fb_tags %} - - \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/filelisting.html b/app/lib/filebrowser/templates/filebrowser/include/filelisting.html deleted file mode 100644 index f3ec09d..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/filelisting.html +++ /dev/null @@ -1,136 +0,0 @@ -{% load i18n adminmedia fb_tags fb_versions %} - -{% for file in page.object_list %} - - - - {% if query.pop == "1" and results_var.select_total %} - - {% selectable file.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% endif %} - - - {% if query.pop == "2" and results_var.select_total %} - - {% selectable file.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% endif %} - - - {% if query.pop == "3" and results_var.select_total %} - - {% selectable file.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% endif %} - - - - {% comment %}{% endcomment %} - {{ file.filetype }} - - - - - {% if file.filetype == "Image" %} - - {% endif %} - - - - {% if file.filetype == "Folder" %} - {{ file.filename }} - {% else %} - - {{ file.filename }} - {% if file.dimensions %} -
{{ file.dimensions.0 }} x {{ file.dimensions.1 }} px
- {% endif %} - {% comment %} - {% if file.filetype == "Image" %} - {% trans 'Preview' %} -
- {% trans 'View Image' %} -
- {% endif %} - {% endcomment %} - {% if results_var.images_total and settings_var.ADMIN_VERSIONS and file.filetype == "Image" %} - {% trans 'Versions' %} - {% endif %} - - {% endif %} - - - {% if q %}{{ file.folder }}{% endif %} - - - {{ file.filesize|filesizeformat }} - - - {{ file.datetime|date:"N j, Y" }} - - - -
-   - -
- - - - {% if settings_var.DEBUG %} - - Filename {{ file.filename }}
- Filetype {{ file.filetype }}
- Filesize {{ file.filesize }}
- Extension {{ file.extension }}
- Date {{ file.date }}
- Datetime Object {{ file.datetime }}

- Relative Path {{ file.path_relative }}
- Full Path {{ file.path_full }}
- Relative URL {{ file.url_relative }}
- Full URL {{ file.url_full }}

- URL for FileBrowseField {{ file.url_save }}
- Thumbnail URL {{ file.url_thumbnail }} - {% if file.filetype == "Image" %} -

- Dimensions {{ file.dimensions }}
- Width {{ file.width }}
- Height {{ file.height }}
- Orientation {{ file.orientation }} - {% endif %} - {% if file.filetype == "Folder" %} -

- Is Empty {{ file.is_empty }} - {% endif %} - - {% endif %} - - -{% endfor %} - - \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/filter.html b/app/lib/filebrowser/templates/filebrowser/include/filter.html deleted file mode 100644 index fd7966a..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/filter.html +++ /dev/null @@ -1,27 +0,0 @@ -{% load i18n fb_tags %} -
-
- {% trans 'Filter' %} -
-
- - -
-
- - -
-
-
-
\ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/paginator.html b/app/lib/filebrowser/templates/filebrowser/include/paginator.html deleted file mode 100644 index b35e4fb..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/paginator.html +++ /dev/null @@ -1,28 +0,0 @@ -{% load i18n fb_tags %} - \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/search.html b/app/lib/filebrowser/templates/filebrowser/include/search.html deleted file mode 100644 index bff5955..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/search.html +++ /dev/null @@ -1,31 +0,0 @@ -{% load i18n adminmedia fb_tags %} -
-

{% blocktrans count cl.result_count as counter %}1 result{% plural %}{{ counter }} results{% endblocktrans %}

- {% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %} - {% blocktrans with cl.full_result_count as full_result_count %}Clear Restrictions{% endblocktrans %} -
-

{% trans 'Search' %}xx

-
- -
- \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/tableheader.html b/app/lib/filebrowser/templates/filebrowser/include/tableheader.html deleted file mode 100644 index c58cd0c..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/tableheader.html +++ /dev/null @@ -1,32 +0,0 @@ -{% load i18n fb_tags %} - - - - {% if query.pop == "1" and results_var.select_total %}{% endif %} - {% if query.pop == "2" and results_var.select_total %}{% endif %} - {% if query.pop == "3" and results_var.select_total %}{% endif %} - - {% ifequal query.o "filetype_checked" %}{% trans "Type" %}{% endifequal %} - {% ifnotequal query.o "filetype_checked" %}{% trans "Type" %}{% endifnotequal %} - - {% trans "Thumbnail" %} - - {% ifequal query.o "filename_lower" %}{% trans "Filename" %}{% endifequal %} - {% ifnotequal query.o "filename_lower" %}{% trans "Filename" %}{% endifnotequal %} - - {% if q %} - {% ifequal query.o 'folder' %}{% trans 'Folder' %}{% endifequal %} - {% ifnotequal query.o 'folder' %}{% trans 'Folder' %}{% endifnotequal %} - {% endif %} - - {% ifequal query.o "filesize" %}{% trans "Size" %}{% endifequal %} - {% ifnotequal query.o "filesize" %}{% trans "Size" %}{% endifnotequal %} - - {% ifequal query.o "date" %}{% trans "Date" %}{% endifequal %} - {% ifnotequal query.o "date" %}{% trans "Date" %}{% endifnotequal %} - -   - - {% if settings_var.DEBUG %}Debug{% endif %} - - \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/include/toolbar.html b/app/lib/filebrowser/templates/filebrowser/include/toolbar.html deleted file mode 100644 index 99b31aa..0000000 --- a/app/lib/filebrowser/templates/filebrowser/include/toolbar.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load i18n adminmedia fb_tags %} - -{% if results_var.results_total %} -{% if query.filter_type or query.filter_date or query.q %} -
-

{% trans 'Results' %}

-
-

{% blocktrans count results_var.results_current as counter %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktrans %}

-

{% blocktrans with results_var.results_total as full_result_count %}{{ full_result_count }} total{% endblocktrans %}

-
-
-{% endif %} -{% endif %} - - - \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/index.html b/app/lib/filebrowser/templates/filebrowser/index.html deleted file mode 100644 index 17896c7..0000000 --- a/app/lib/filebrowser/templates/filebrowser/index.html +++ /dev/null @@ -1,143 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n adminmedia fb_tags fb_pagination %} - - -{% block stylesheets %} - {{ block.super }} - {# #} - -{% endblock %} - - -{% block javascripts %} - {{ block.super }} - {% ifequal query.pop '1' %} - - {% endifequal %} - {% ifequal query.pop '2' %} - - - {% if query.mce_rdomain %}{% endif %} - {% endifequal %} - {% ifequal query.pop '3' %} - - {% endifequal %} - {{ media }} - - - -{% endblock %} - - -{% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %} - -{% block object-tools %} - -{% endblock %} - - -{% block content %} -
- - {% pagination %} - - {% include "filebrowser/include/filter.html" %} - - -
-
-
- - {% if results_var.results_current %} -
- - {% include "filebrowser/include/tableheader.html" %} - - {% include "filebrowser/include/filelisting.html" %} - -
-
- {% endif %} - - {% pagination %} -
- -{% endblock %} diff --git a/app/lib/filebrowser/templates/filebrowser/makedir.html b/app/lib/filebrowser/templates/filebrowser/makedir.html deleted file mode 100644 index 3595514..0000000 --- a/app/lib/filebrowser/templates/filebrowser/makedir.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n adminmedia fb_tags fb_csrf %} - - -{% block stylesheets %} - {{ block.super }} - - -{% endblock %} - - -{% block bodyclass %}change-form filebrowser{% if query.pop %} popup{% endif %}{% endblock %} -{% block content-class %}content-flexible{% endblock %} - - -{% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %} - - -{% block content %} -
-
{% fb_csrf_token %} - {% if form.errors %}

{% trans 'Please correct the following errors.' %}

{% endif %} -
-
-
-
- {{ form.dir_name }} - {% if form.dir_name.errors %}
    {{ form.dir_name.errors }}
{% endif %} -

- {{ form.dir_name.help_text|safe }} - {% if settings_var.CONVERT_FILENAME %}
{% trans "The Name will be converted to lowercase. Spaces will be replaced with underscores." %}{% endif %} -

-
-
-
- -
-
-{% endblock %} \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/rename.html b/app/lib/filebrowser/templates/filebrowser/rename.html deleted file mode 100644 index a3ecf77..0000000 --- a/app/lib/filebrowser/templates/filebrowser/rename.html +++ /dev/null @@ -1,43 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n adminmedia fb_tags fb_csrf %} - - -{% block stylesheets %} - {{ block.super }} - - -{% endblock %} - - -{% block bodyclass %}change-form filebrowser{% if query.pop %} popup{% endif %}{% endblock %} -{% block content-class %}content-flexible{% endblock %} - - -{% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %} - - -{% block content %} -
-
{% fb_csrf_token %} - {% if form.errors %}

{% trans 'Please correct the following errors.' %}

{% endif %} -
-
-
-
- {{ form.name }} - {% if file_extension %}{{ file_extension }}{% endif %} - {% if form.name.errors %}
    {{ form.name.errors }}
{% endif %} - {% if form.name.help_text %}

{{ form.name.help_text|safe }}

{% endif %} -
-
-
- -
-
-{% endblock %} \ No newline at end of file diff --git a/app/lib/filebrowser/templates/filebrowser/upload.html b/app/lib/filebrowser/templates/filebrowser/upload.html deleted file mode 100644 index aee862a..0000000 --- a/app/lib/filebrowser/templates/filebrowser/upload.html +++ /dev/null @@ -1,113 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n adminmedia fb_tags %} - - -{% block stylesheets %} - {{ block.super }} - - - -{% endblock %} - - -{% block javascripts %} - {{ block.super }} - - - - - - - -{% endblock %} - - -{% block bodyclass %}change-form filebrowser{% if query.pop %} popup{% endif %}{% endblock %} -{% block content-class %}content-flexible{% endblock %} - - -{% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %} - - -{% block content %} -
-
-
-
- -
-
-
-

{% trans "Help" %}

-
- {% for extension in settings_var.EXTENSIONS.items %} - {% ifnotequal extension.0 'Folder' %} -
-

{{ extension.0|safe }} ({{ extension.1|join:", "|safe }})


- {% endifnotequal %} - {% endfor %} -
-
-
-

{{ settings_var.MAX_UPLOAD_SIZE|filesizeformat }}


-
- {% if settings_var.CONVERT_FILENAME %} -
-

- {% trans "The Name will be converted to lowercase. Spaces will be replaced with underscores." %} -


-
- {% endif %} -
- -
-
-{% endblock %} diff --git a/app/lib/filebrowser/templates/filebrowser/versions.html b/app/lib/filebrowser/templates/filebrowser/versions.html deleted file mode 100644 index f82b15c..0000000 --- a/app/lib/filebrowser/templates/filebrowser/versions.html +++ /dev/null @@ -1,156 +0,0 @@ -{% extends "admin/base_site.html" %} - - -{% load i18n adminmedia fb_tags fb_versions %} - - -{% block stylesheets %} - {{ block.super }} - - - {% if query.pop %} - - {% endif %} -{% endblock %} - - -{% block javascripts %} - {{ block.super }} - - {% ifequal query.pop '1' %} - - - {% endifequal %} - - {% ifequal query.pop '2' %} - - - - {% if query.mce_rdomain %}{% endif %} - {% endifequal %} - - {% ifequal query.pop '3' %} - - - {% endifequal %} - - {{ media }} -{% endblock %} - - -{% block bodyclass %}change-list filebrowser{% if query.pop %} popup{% endif %}{% endblock %} -{% block content-class %}content-flexible{% endblock %} - - -{% block breadcrumbs %}{% include "filebrowser/include/breadcrumbs.html" %}{% endblock %} - - -{% block content %} -
-
- - - - - - {% ifequal query.pop '1' %}{% endifequal %} - {% ifequal query.pop '2' %}{% endifequal %} - {% ifequal query.pop '3' %}{% endifequal %} - - - - - - - - - {% if settings_var.DEBUG %}{% endif %} - - - - - {% for version in settings_var.ADMIN_VERSIONS %} - {% version_object original version as image_version %} - - - - {% ifequal query.pop '1' %} - - {% endifequal %} - - - {% ifequal query.pop '2' %} - - {% endifequal %} - - - {% ifequal query.pop '3' %} - - {% endifequal %} - - - - - - - - - {% if settings_var.DEBUG %} - - {% endif %} - - - {% endfor %} - -
{% trans 'Name' %}{% trans 'Image Version' %}{% trans "Debug" %}
- {% selectable image_version.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% selectable image_version.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% selectable image_version.filetype query.type %} - {% if selectable %} - - {% else %} -   - {% endif %} - - {% version_setting version %} - {{ version_setting.verbose_name }}
- {% if version_setting.width %}{% trans "Width" %}: {{ version_setting.width }}px
{% endif %} - {% if version_setting.height %}{% trans "Height" %}: {{ version_setting.height }}px{% endif %} -
- Filename {{ image_version.filename }}
- Filetype {{ image_version.filetype }}
- Filesize {{ image_version.filesize }}
- Extension {{ image_version.extension }}
- Date {{ image_version.date }}
- Datetime Object {{ image_version.datetime }}

- - Relative Path {{ image_version.path_relative }}
- Full Path {{ image_version.path_full }}
- Relative URL {{ image_version.url_relative }}
- Full URL {{ image_version.url_full }}

- - URL for FileBrowseField {{ image_version.url_save }}
- Thumbnail URL {{ image_version.url_thumbnail }}

- - Dimensions {{ image_version.dimensions }}
- Width {{ image_version.width }}
- Height {{ image_version.height }}
- Orientation {{ image_version.orientation }} -
-
-
-{% endblock %} \ No newline at end of file -- cgit v1.2.3-70-g09d2