summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-01-23 13:04:35 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-01-25 01:56:13 +0100
commit899947bd00df10cca15aca1b3c14125b38b35ecf (patch)
treecbe0cd8023efa657b478476a70f83d2f5cb5509b
parentbd20d0ff1c7a582f3c53d30bfc387139c419ef35 (diff)
downloadweb-899947bd00df10cca15aca1b3c14125b38b35ecf.tar.gz
web-899947bd00df10cca15aca1b3c14125b38b35ecf.tar.bz2
web-899947bd00df10cca15aca1b3c14125b38b35ecf.zip
Moved everything into a package
-rw-r--r--accounts/__init__.py (renamed from app.py)2
-rw-r--r--accounts/account.py (renamed from account.py)0
-rw-r--r--accounts/default_settings.py (renamed from default_settings.py)0
-rw-r--r--accounts/forms.py (renamed from forms.py)0
-rw-r--r--accounts/static/bootstrap-form.css (renamed from static/bootstrap-form.css)0
-rw-r--r--accounts/static/jquery-1.8.2.min.js (renamed from static/jquery-1.8.2.min.js)0
-rw-r--r--accounts/static/layout.css (renamed from static/layout.css)0
-rw-r--r--accounts/static/logo.png (renamed from static/logo.png)bin12021 -> 12021 bytes
-rw-r--r--accounts/static/script.js (renamed from static/script.js)0
-rw-r--r--accounts/templates/_macros.html (renamed from templates/_macros.html)0
-rw-r--r--accounts/templates/about.html (renamed from templates/about.html)0
-rw-r--r--accounts/templates/admin/create_account.html (renamed from templates/admin/create_account.html)0
-rw-r--r--accounts/templates/admin/disable_account.html (renamed from templates/admin/disable_account.html)0
-rw-r--r--accounts/templates/admin/index.html (renamed from templates/admin/index.html)0
-rw-r--r--accounts/templates/admin/view_blacklist.html (renamed from templates/admin/view_blacklist.html)0
-rw-r--r--accounts/templates/base.html (renamed from templates/base.html)0
-rw-r--r--accounts/templates/error.html (renamed from templates/error.html)0
-rw-r--r--accounts/templates/index.html (renamed from templates/index.html)0
-rw-r--r--accounts/templates/lost_password.html (renamed from templates/lost_password.html)0
-rw-r--r--accounts/templates/lost_password_complete.html (renamed from templates/lost_password_complete.html)0
-rw-r--r--accounts/templates/mail/change_mail.txt (renamed from templates/mail/change_mail.txt)0
-rw-r--r--accounts/templates/mail/lost_password.txt (renamed from templates/mail/lost_password.txt)0
-rw-r--r--accounts/templates/mail/register.txt (renamed from templates/mail/register.txt)0
-rw-r--r--accounts/templates/register.html (renamed from templates/register.html)0
-rw-r--r--accounts/templates/register_complete.html (renamed from templates/register_complete.html)0
-rw-r--r--accounts/templates/settings.html (renamed from templates/settings.html)0
-rw-r--r--accounts/utils.py (renamed from utils.py)0
-rw-r--r--accounts/views/__init__.py (renamed from views/__init__.py)0
-rw-r--r--accounts/views/admin/__init__.py (renamed from views/admin/__init__.py)0
-rwxr-xr-xmanage.py2
30 files changed, 2 insertions, 2 deletions
diff --git a/app.py b/accounts/__init__.py
index 844ea86..8fbcdd0 100644
--- a/app.py
+++ b/accounts/__init__.py
@@ -12,7 +12,7 @@ from views import admin
app = Flask(__name__)
app.register_blueprint(admin.bp, url_prefix='/admin')
-app.config.from_object('default_settings')
+app.config.from_object('accounts.default_settings')
if 'SPLINE_ACCOUNT_WEB_SETTINGS' in os.environ:
app.config.from_envvar('SPLINE_ACCOUNT_WEB_SETTINGS')
diff --git a/account.py b/accounts/account.py
index a0d1f27..a0d1f27 100644
--- a/account.py
+++ b/accounts/account.py
diff --git a/default_settings.py b/accounts/default_settings.py
index b51cbb3..b51cbb3 100644
--- a/default_settings.py
+++ b/accounts/default_settings.py
diff --git a/forms.py b/accounts/forms.py
index deaffa8..deaffa8 100644
--- a/forms.py
+++ b/accounts/forms.py
diff --git a/static/bootstrap-form.css b/accounts/static/bootstrap-form.css
index fb5d24b..fb5d24b 100644
--- a/static/bootstrap-form.css
+++ b/accounts/static/bootstrap-form.css
diff --git a/static/jquery-1.8.2.min.js b/accounts/static/jquery-1.8.2.min.js
index f65cf1d..f65cf1d 100644
--- a/static/jquery-1.8.2.min.js
+++ b/accounts/static/jquery-1.8.2.min.js
diff --git a/static/layout.css b/accounts/static/layout.css
index b4ac7b6..b4ac7b6 100644
--- a/static/layout.css
+++ b/accounts/static/layout.css
diff --git a/static/logo.png b/accounts/static/logo.png
index ea415a8..ea415a8 100644
--- a/static/logo.png
+++ b/accounts/static/logo.png
Binary files differ
diff --git a/static/script.js b/accounts/static/script.js
index 6038821..6038821 100644
--- a/static/script.js
+++ b/accounts/static/script.js
diff --git a/templates/_macros.html b/accounts/templates/_macros.html
index 58739ae..58739ae 100644
--- a/templates/_macros.html
+++ b/accounts/templates/_macros.html
diff --git a/templates/about.html b/accounts/templates/about.html
index 2ae1936..2ae1936 100644
--- a/templates/about.html
+++ b/accounts/templates/about.html
diff --git a/templates/admin/create_account.html b/accounts/templates/admin/create_account.html
index 2a53fd9..2a53fd9 100644
--- a/templates/admin/create_account.html
+++ b/accounts/templates/admin/create_account.html
diff --git a/templates/admin/disable_account.html b/accounts/templates/admin/disable_account.html
index b6eccda..b6eccda 100644
--- a/templates/admin/disable_account.html
+++ b/accounts/templates/admin/disable_account.html
diff --git a/templates/admin/index.html b/accounts/templates/admin/index.html
index 722a9ac..722a9ac 100644
--- a/templates/admin/index.html
+++ b/accounts/templates/admin/index.html
diff --git a/templates/admin/view_blacklist.html b/accounts/templates/admin/view_blacklist.html
index bde3f7c..bde3f7c 100644
--- a/templates/admin/view_blacklist.html
+++ b/accounts/templates/admin/view_blacklist.html
diff --git a/templates/base.html b/accounts/templates/base.html
index d6a1726..d6a1726 100644
--- a/templates/base.html
+++ b/accounts/templates/base.html
diff --git a/templates/error.html b/accounts/templates/error.html
index 0f403b5..0f403b5 100644
--- a/templates/error.html
+++ b/accounts/templates/error.html
diff --git a/templates/index.html b/accounts/templates/index.html
index 4e98750..4e98750 100644
--- a/templates/index.html
+++ b/accounts/templates/index.html
diff --git a/templates/lost_password.html b/accounts/templates/lost_password.html
index fc1e6b8..fc1e6b8 100644
--- a/templates/lost_password.html
+++ b/accounts/templates/lost_password.html
diff --git a/templates/lost_password_complete.html b/accounts/templates/lost_password_complete.html
index 6ab4a1c..6ab4a1c 100644
--- a/templates/lost_password_complete.html
+++ b/accounts/templates/lost_password_complete.html
diff --git a/templates/mail/change_mail.txt b/accounts/templates/mail/change_mail.txt
index 2319672..2319672 100644
--- a/templates/mail/change_mail.txt
+++ b/accounts/templates/mail/change_mail.txt
diff --git a/templates/mail/lost_password.txt b/accounts/templates/mail/lost_password.txt
index 5eaa654..5eaa654 100644
--- a/templates/mail/lost_password.txt
+++ b/accounts/templates/mail/lost_password.txt
diff --git a/templates/mail/register.txt b/accounts/templates/mail/register.txt
index 1f837d6..1f837d6 100644
--- a/templates/mail/register.txt
+++ b/accounts/templates/mail/register.txt
diff --git a/templates/register.html b/accounts/templates/register.html
index 7f56280..7f56280 100644
--- a/templates/register.html
+++ b/accounts/templates/register.html
diff --git a/templates/register_complete.html b/accounts/templates/register_complete.html
index 633f446..633f446 100644
--- a/templates/register_complete.html
+++ b/accounts/templates/register_complete.html
diff --git a/templates/settings.html b/accounts/templates/settings.html
index dcae7ff..dcae7ff 100644
--- a/templates/settings.html
+++ b/accounts/templates/settings.html
diff --git a/utils.py b/accounts/utils.py
index 86991b3..86991b3 100644
--- a/utils.py
+++ b/accounts/utils.py
diff --git a/views/__init__.py b/accounts/views/__init__.py
index e69de29..e69de29 100644
--- a/views/__init__.py
+++ b/accounts/views/__init__.py
diff --git a/views/admin/__init__.py b/accounts/views/admin/__init__.py
index 998bf8b..998bf8b 100644
--- a/views/admin/__init__.py
+++ b/accounts/views/admin/__init__.py
diff --git a/manage.py b/manage.py
index 0002278..7dbf004 100755
--- a/manage.py
+++ b/manage.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
from flask.ext.script import Manager, Server, Shell
-from app import app
+from accounts import app
def main():