From d410d1ae707a29841113ed6dc381fcdcd6ede931 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 13 May 2012 23:48:05 +0200 Subject: [PATCH] move the themes dir into sigal/ --- sigal/theme.py | 5 ++--- {themes => sigal/themes}/default/css/style.css | 0 {themes => sigal/themes}/default/index.html | 0 {themes => sigal/themes}/galleria/css/style.css | 0 {themes => sigal/themes}/galleria/index.html | 0 .../themes}/galleria/js/classic-loader.gif | Bin .../themes}/galleria/js/classic-map.png | Bin .../themes}/galleria/js/galleria-1.2.3.js | 0 .../themes}/galleria/js/galleria-1.2.3.min.js | 0 .../themes}/galleria/js/galleria.classic.css | 0 .../themes}/galleria/js/galleria.classic.js | 0 .../themes}/galleria/js/galleria.classic.min.js | 0 .../themes}/galleria/js/galleria.classic.orig.css | 0 {themes => sigal/themes}/galleria/js/jquery.min.js | 0 14 files changed, 2 insertions(+), 3 deletions(-) rename {themes => sigal/themes}/default/css/style.css (100%) rename {themes => sigal/themes}/default/index.html (100%) rename {themes => sigal/themes}/galleria/css/style.css (100%) rename {themes => sigal/themes}/galleria/index.html (100%) rename {themes => sigal/themes}/galleria/js/classic-loader.gif (100%) rename {themes => sigal/themes}/galleria/js/classic-map.png (100%) rename {themes => sigal/themes}/galleria/js/galleria-1.2.3.js (100%) rename {themes => sigal/themes}/galleria/js/galleria-1.2.3.min.js (100%) rename {themes => sigal/themes}/galleria/js/galleria.classic.css (100%) rename {themes => sigal/themes}/galleria/js/galleria.classic.js (100%) rename {themes => sigal/themes}/galleria/js/galleria.classic.min.js (100%) rename {themes => sigal/themes}/galleria/js/galleria.classic.orig.css (100%) rename {themes => sigal/themes}/galleria/js/jquery.min.js (100%) diff --git a/sigal/theme.py b/sigal/theme.py index 9cdccb3..6afb9c0 100644 --- a/sigal/theme.py +++ b/sigal/theme.py @@ -26,7 +26,6 @@ import codecs import Image from distutils.dir_util import copy_tree from jinja2 import Environment, PackageLoader -import sigal.image DEFAULT_THEME = "default" INDEX_PAGE = "index.html" @@ -34,8 +33,8 @@ IGNORED_DIR = ['css', 'js', 'img'] DESCRIPTION_FILE = "album_description" SIGAL_LINK = "https://github.com/saimn/sigal" PATH_SEP = u" ยป " -THEMES_PATH = os.path.normpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), - '..', 'themes')) +THEMES_PATH = os.path.normpath(os.path.join( + os.path.abspath(os.path.dirname(__file__)), 'themes')) def do_link(link, title): "return html link" diff --git a/themes/default/css/style.css b/sigal/themes/default/css/style.css similarity index 100% rename from themes/default/css/style.css rename to sigal/themes/default/css/style.css diff --git a/themes/default/index.html b/sigal/themes/default/index.html similarity index 100% rename from themes/default/index.html rename to sigal/themes/default/index.html diff --git a/themes/galleria/css/style.css b/sigal/themes/galleria/css/style.css similarity index 100% rename from themes/galleria/css/style.css rename to sigal/themes/galleria/css/style.css diff --git a/themes/galleria/index.html b/sigal/themes/galleria/index.html similarity index 100% rename from themes/galleria/index.html rename to sigal/themes/galleria/index.html diff --git a/themes/galleria/js/classic-loader.gif b/sigal/themes/galleria/js/classic-loader.gif similarity index 100% rename from themes/galleria/js/classic-loader.gif rename to sigal/themes/galleria/js/classic-loader.gif diff --git a/themes/galleria/js/classic-map.png b/sigal/themes/galleria/js/classic-map.png similarity index 100% rename from themes/galleria/js/classic-map.png rename to sigal/themes/galleria/js/classic-map.png diff --git a/themes/galleria/js/galleria-1.2.3.js b/sigal/themes/galleria/js/galleria-1.2.3.js similarity index 100% rename from themes/galleria/js/galleria-1.2.3.js rename to sigal/themes/galleria/js/galleria-1.2.3.js diff --git a/themes/galleria/js/galleria-1.2.3.min.js b/sigal/themes/galleria/js/galleria-1.2.3.min.js similarity index 100% rename from themes/galleria/js/galleria-1.2.3.min.js rename to sigal/themes/galleria/js/galleria-1.2.3.min.js diff --git a/themes/galleria/js/galleria.classic.css b/sigal/themes/galleria/js/galleria.classic.css similarity index 100% rename from themes/galleria/js/galleria.classic.css rename to sigal/themes/galleria/js/galleria.classic.css diff --git a/themes/galleria/js/galleria.classic.js b/sigal/themes/galleria/js/galleria.classic.js similarity index 100% rename from themes/galleria/js/galleria.classic.js rename to sigal/themes/galleria/js/galleria.classic.js diff --git a/themes/galleria/js/galleria.classic.min.js b/sigal/themes/galleria/js/galleria.classic.min.js similarity index 100% rename from themes/galleria/js/galleria.classic.min.js rename to sigal/themes/galleria/js/galleria.classic.min.js diff --git a/themes/galleria/js/galleria.classic.orig.css b/sigal/themes/galleria/js/galleria.classic.orig.css similarity index 100% rename from themes/galleria/js/galleria.classic.orig.css rename to sigal/themes/galleria/js/galleria.classic.orig.css diff --git a/themes/galleria/js/jquery.min.js b/sigal/themes/galleria/js/jquery.min.js similarity index 100% rename from themes/galleria/js/jquery.min.js rename to sigal/themes/galleria/js/jquery.min.js