# -*- coding: utf-8 -*-
from __future__ import unicode_literals

"""Specifies static assets (CSS, JS) required by the CATMAID front-end.

This module specifies all the static files that are required by the
extension's front-end.

Static files specified here will be added to CATMAID's index page after
all of CATMAID's own files and dependencies, but before standalone static
files. CSS will be compressed; Javascript will just be concatenated in the
order that the source files are specified.

Globs can be used to pick up multiple source files.
"""

from collections import OrderedDict

STYLESHEETS = OrderedDict()

STYLESHEETS['{{ cookiecutter.app_name }}'] = {
    'source_filenames': (
        '{{ cookiecutter.app_name }}/css/*.css',
    ),
    'output_filename': 'css/{{ cookiecutter.app_name }}.css'
}

JAVASCRIPT = OrderedDict()

JAVASCRIPT['{{ cookiecutter.app_name }}'] = {
    'source_filenames': (
        '{{ cookiecutter.app_name }}/js/widgets/*.js',
    ),
    'output_filename': 'js/{{ cookiecutter.app_name }}.js'
}
