From f063149ab364f106ca1c23e66c2f57bbfc181377 Mon Sep 17 00:00:00 2001 From: str4d Date: Mon, 21 Jan 2013 14:38:50 +0000 Subject: [PATCH] Migrated other themes: style.css -> desktop.css --- i2p2www/__init__.py | 2 +- i2p2www/static/styles/danimoth/{style.css => desktop.css} | 0 i2p2www/static/styles/dark/{style.css => desktop.css} | 0 i2p2www/static/styles/light/{style.css => desktop.css} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename i2p2www/static/styles/danimoth/{style.css => desktop.css} (100%) rename i2p2www/static/styles/dark/{style.css => desktop.css} (100%) rename i2p2www/static/styles/light/{style.css => desktop.css} (100%) diff --git a/i2p2www/__init__.py b/i2p2www/__init__.py index 41e9a230..ac3a4739 100644 --- a/i2p2www/__init__.py +++ b/i2p2www/__init__.py @@ -113,7 +113,7 @@ def detect_theme(): if theme[:7] == 'http://': g.exttheme = theme theme = 'duck' - if not os.path.isfile(safe_join(safe_join(STATIC_DIR, 'styles'), '%s/style.css' % theme)): + if not os.path.isfile(safe_join(safe_join(STATIC_DIR, 'styles'), '%s/desktop.css' % theme)): theme = 'duck' g.theme = theme @after_this_request diff --git a/i2p2www/static/styles/danimoth/style.css b/i2p2www/static/styles/danimoth/desktop.css similarity index 100% rename from i2p2www/static/styles/danimoth/style.css rename to i2p2www/static/styles/danimoth/desktop.css diff --git a/i2p2www/static/styles/dark/style.css b/i2p2www/static/styles/dark/desktop.css similarity index 100% rename from i2p2www/static/styles/dark/style.css rename to i2p2www/static/styles/dark/desktop.css diff --git a/i2p2www/static/styles/light/style.css b/i2p2www/static/styles/light/desktop.css similarity index 100% rename from i2p2www/static/styles/light/style.css rename to i2p2www/static/styles/light/desktop.css