Example #1
0
def add_product_get(**kwargs):
    backend = Backend()
    return page(config, backend, state,
                body=template(
                    'tpl/events_add',
                    tags=backend.get_tags(),
                    extra_attributes=extra_attributes['product'],
                    event_type='product',
                    helptext=helptext['product'],
                    recommended_tags=[],
                    handler='vimeo_product',
                    **kwargs),
                page='add_product', **kwargs)
Example #2
0
def add_analytics_get(**kwargs):
    backend = Backend()
    return page(config, backend, state,
                body=template(
                    'tpl/events_add',
                    tags=backend.get_tags(),
                    extra_attributes=extra_attributes['analytics'],
                    event_type='analytics',
                    helptext=helptext['analytics'],
                    recommended_tags=[],
                    handler='vimeo_analytics',
                    timestamp_feeder=True,
                    **kwargs),
                page='add_analytics', **kwargs)
Example #3
0
def p(**kwargs):
    return page(config, backend, state, **kwargs)
Example #4
0
def p(**kwargs):
    return page(config, backend, state, **kwargs)