# Path: showoff/frontend/controllers.py
# def login(album):
# def static_files(filename):
# def get_image(album, filename, size="full"):
# def image_page(album, filename, template='image'):
# def list_album(album, page, template='list'):
# def show_nonpaginated(album, template='grid_full'):
# def show_slideshow(album, page):
# def show_album(album):
# def show_index():


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

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


# Path: showoff/frontend/controllers.py
# def login(album):
# def static_files(filename):
# def get_image(album, filename, size="full"):
# def image_page(album, filename, template='image'):
# def list_album(album, page, template='list'):
# def show_nonpaginated(album, template='grid_full'):
# def show_slideshow(album, page):
# def show_album(album):
# def show_index():


# Path: run_frontend.py
from flask import Flask
from showoff.frontend.controllers import frontend

#!/usr/bin/env python

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


app.register_blueprint(frontend, url_prefix=app.config['FRONTEND_PREFIX'])