Exemple #1
0
from js.backbone import backbone
from js.cropper import cropper
from js.handlebars import handlebars
from zeit.cms.browser.resources import Resource, Library
import fanstatic
import zeit.cms.browser.resources

lib = Library('zeit.content.image', 'resources')
Resource('drag-images.js', depends=[zeit.cms.browser.resources.base])
Resource('variant.css')
Resource('variant.js',
         depends=[
             variant_css, zeit.cms.browser.resources.base, backbone, cropper,
             handlebars
         ])

Resource('form.js', depends=[zeit.cms.browser.resources.base])

test_lib = fanstatic.Library('zeit.content.image.test', 'tests')
test_variant_js = fanstatic.Resource(test_lib,
                                     'test_variant.js',
                                     depends=[variant_js])
Exemple #2
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.workflow', 'resources')
Resource('workflow.css')
Resource('publish.js', depends=[zeit.cms.browser.resources.base])
Exemple #3
0
from zeit.cms.browser.resources import Resource, Library


lib = Library('zeit.content.link', 'resources')
Resource('link.css')
Exemple #4
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.cms.clipboard', 'resources')
Resource('clipboard.js',
         depends=[
             zeit.cms.browser.resources.base, zeit.cms.browser.resources.dnd_js
         ])
from zeit.cms.browser.resources import Resource, Library
import fanstatic
import zeit.cms.browser.resources


lib = Library('zeit.content.gallery', 'resources')
Resource('gallery.css')

Resource('details.js', depends=[
    zeit.cms.browser.resources.base, gallery_css])

swfupload = fanstatic.Resource(lib, 'SWFUpload/swfupload.js')
Resource('upload.js', depends=[
    zeit.cms.browser.resources.base,
    zeit.cms.browser.resources.filename_js,
    swfupload, gallery_css])
Exemple #6
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.addcentral', 'resources')
Resource('addcentral.css', depends=[zeit.cms.browser.resources.base])

# XXX zeit.addcentral needs zeit.content.browser.resources.dropdown_js,
# should we declare that somehow or simply trust the fact that all JS
# will be available everywhere?
Exemple #7
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.cms.content', 'resources')
Resource('teaser.js', depends=[zeit.cms.browser.resources.base])
Resource('dropdown.js', depends=[zeit.cms.browser.resources.base])
Resource('mobile_alternative.js', depends=[zeit.cms.browser.resources.base])
Exemple #8
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.content.volume', 'resources')
Resource('toclisting.css', depends=[zeit.cms.browser.resources.base])
Resource('volume-covers.js', depends=[zeit.cms.browser.resources.base])
Resource('filtertoclisting.js', depends=[zeit.cms.browser.resources.base])
Exemple #9
0
from zeit.cms.browser.resources import Resource, Library

lib = Library('zeit.campus', 'resources')

Resource('editor.css')
Exemple #10
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.cms.tagging', 'resources')
Resource('tag.js', depends=[zeit.cms.browser.resources.base])
Exemple #11
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources


lib = Library('zeit.seo', 'resources')
Resource('counter.js', depends=[zeit.cms.browser.resources.base,
                                zeit.cms.browser.resources.counter_js])
Exemple #12
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.cmp', 'resources')
Resource('cmp.js', depends=[zeit.cms.browser.resources.base])
Exemple #13
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources
import zeit.edit.browser.resources

lib = Library('zeit.newsletter', 'resources')
Resource('editor.js',
         depends=[
             zeit.cms.browser.resources.base,
             zeit.edit.browser.resources.context_js,
             zeit.edit.browser.resources.edit_js,
             zeit.edit.browser.resources.sortable_js,
             zeit.edit.browser.resources.json_js,
         ])
Resource('editor.css')
Exemple #14
0
from zeit.cms.browser.resources import SplitDirResource, Library
import zeit.cms.browser.resources
import zeit.find.browser.resources

lib_css = Library('zeit.edit', 'resources')
lib_js = Library('zeit.edit.js', 'js')

SplitDirResource('editor.css')

SplitDirResource('fold.js', depends=[zeit.cms.browser.resources.base])
SplitDirResource('json.js', depends=[zeit.cms.browser.resources.base])

SplitDirResource(
    'edit.js',
    depends=[
        zeit.cms.browser.resources.base,
        zeit.cms.browser.resources.tab_js,
        zeit.find.browser.resources.find_js,
        json_js,  # noqa
        editor_css,  # noqa
    ])

SplitDirResource('context.js',
                 depends=[zeit.cms.browser.resources.base, edit_js])  # noqa

SplitDirResource('drop.js',
                 depends=[
                     zeit.cms.browser.resources.base,
                     zeit.cms.browser.resources.dnd_js, context_js
                 ])  # noqa
SplitDirResource(
Exemple #15
0
from zeit.cms.browser.resources import Resource, Library

lib = Library('zeit.content.author', 'resources')
Resource('author.css')
Exemple #16
0
from zeit.cms.browser.resources import Resource, Library

lib = Library('zeit.content.article.recension', 'resources')
Resource('recension.css')
Exemple #17
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.wochenmarkt', 'resources')
Resource('recipe.js', depends=[zeit.cms.browser.resources.base])
Exemple #18
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.cms.workingcopy', 'resources')
Resource('workingcopy.js', depends=[zeit.cms.browser.resources.base])
Exemple #19
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.push', 'resources')
Resource('push.css')
Resource('social.js', depends=[zeit.cms.browser.resources.base])
Exemple #20
0
from zeit.cms.browser.resources import Resource, Library
import zeit.cms.browser.resources

lib = Library('zeit.find', 'resources')
Resource('find.css')
Resource(
    'find.js',
    depends=[
        find_css,  # noqa
        zeit.cms.browser.resources.base,
        zeit.cms.browser.resources.tab_js,
        zeit.cms.browser.resources.view_js,
        zeit.cms.browser.resources.dnd_js,
    ])

Resource('objectbrowser.js', depends=[zeit.cms.browser.resources.base])