from zeit.cms.browser.resources import Resource, Library lib = Library('zeit.content.link', 'resources') Resource('link.css')
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])
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])
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])
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])
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 lib = Library('zeit.campus', 'resources') Resource('editor.css')
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?
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])
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])
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])
from zeit.cms.browser.resources import Resource, Library import fanstatic.core import os.path import zeit.cms.browser.resources import zeit.edit.browser.resources lib = Library('zeit.content.cp', 'resources') Resource('editor.css') 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, editor_css, # noqa ]) Resource('library.js', depends=[ zeit.cms.browser.resources.base, zeit.edit.browser.resources.library_js, zeit.edit.browser.resources.drop_js, editor_js, # noqa editor_css, # noqa ]) Resource('teaser.js', depends=[ zeit.cms.browser.resources.base, zeit.cms.browser.resources.dnd_js, zeit.edit.browser.resources.context_js, zeit.edit.browser.resources.edit_js,
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')
from zeit.cms.browser.resources import Resource, Library lib = Library('zeit.content.author', 'resources') Resource('author.css')
from zeit.cms.browser.resources import Resource, Library lib = Library('zeit.content.article.recension', 'resources') Resource('recension.css')
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])
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])
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])
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])