"""
Configuration for the JobMonitor server.
"""
import os

# Application name, used in page titles etc.
APP_NAME = 'Job Monitor'

# Run the server in debug mode?
DEBUG = False

# Where static assets are stored (images, stylesheets, and JavaScripts)
ASSETS_DIRECTORY = '{0}/static'.format(
    os.path.dirname(os.path.abspath(__file__))
)

# Where ROOT files are stored
FILES_DIRECTORY = '{0}/files'.format(ASSETS_DIRECTORY)

# Mappings of parent paths to their default children
DEFAULT_CHILDREN = {
    '': 'examples',
    'examples': 'examples/table',
    'examples/tabs': 'examples/tabs/tab1'
}
