# Path: showoff/admin/controllers.py
# def render_themed(template, **options):
# def static_files(filename):
# def show_image(album, filename, size=None):
# def show_image_full(album, filename):
# def image_page(album, filename):
# def rotate_url():
# def list_album(album, page, template='grid'):
# def show_album(album):
# def show_index():
# def image_rotate(album, filename, steps=1):
# def exif_rotate_image(album, filename):
# def toggle_publish_image(album, filename):
# def add_image_to_show(album, filename):
# def remove_image_from_show(album, filename):
# def sort_show_by_exifdate(album):
# def sort_show_by_filename(album):
# def show_edit_users(album):
# def add_all_images_to_show(album):
# def show_change_setting(album, setting, value):
# def show_change_password(album):
# def show_remove_user(album, username):
# def goback(is_ok):


from flask import Flask
from showoff.admin.controllers import admin
#!/usr/bin/env python

app = Flask(__name__)
app.config.from_pyfile('config.py')
app.config.from_envvar('SHOWOFF_ADMIN_CONFIG', silent=True)


# Path: showoff/admin/controllers.py
# def render_themed(template, **options):
# def static_files(filename):
# def show_image(album, filename, size=None):
# def show_image_full(album, filename):
# def image_page(album, filename):
# def rotate_url():
# def list_album(album, page, template='grid'):
# def show_album(album):
# def show_index():
# def image_rotate(album, filename, steps=1):
# def exif_rotate_image(album, filename):
# def toggle_publish_image(album, filename):
# def add_image_to_show(album, filename):
# def remove_image_from_show(album, filename):
# def sort_show_by_exifdate(album):
# def sort_show_by_filename(album):
# def show_edit_users(album):
# def add_all_images_to_show(album):
# def show_change_setting(album, setting, value):
# def show_change_password(album):
# def show_remove_user(album, username):
# def goback(is_ok):


# Path: run_admin.py
from flask import Flask
from showoff.admin.controllers import admin

#!/usr/bin/env python

app = Flask(__name__)
app.config.from_pyfile('config.py')
app.config.from_envvar('SHOWOFF_ADMIN_CONFIG', silent=True)


app.register_blueprint(admin, url_prefix=app.config['ADMIN_PREFIX'])