Move all templates to a templates directory

This should allow the templates to be found and swapped out more easily.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2013-03-06 15:58:01 +00:00
parent 5308e03c9e
commit 93be8b1172
34 changed files with 4 additions and 4 deletions

4
README
View File

@ -61,8 +61,8 @@ Setup instructions:
"Submit Layer" feature within the interface itself (easiest) or the "Submit Layer" feature within the interface itself (easiest) or the
admin interface to do this. admin interface to do this.
5. You may wish to customise layerindex/about.html to suit your 5. You may wish to customise templates/layerindex/about.html to suit
installation. your installation.
Usage Usage

View File

@ -124,7 +124,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows. # Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths. # Don't forget to use absolute paths, not relative paths.
BASE_DIR BASE_DIR + "/templates"
) )
INSTALLED_APPS = ( INSTALLED_APPS = (

View File

@ -4,7 +4,7 @@
{% comment %} {% comment %}
layerindex-web - main layer index page template layerindex-web - layer list page template
Copyright (C) 2013 Intel Corporation Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details Licensed under the MIT license, see COPYING.MIT for details