Exemplo n.º 1
0
 class Media:
     js = [
         # Ensure Django's noConflict jQuery has loaded BEFORE our scripts
         'admin/js/jquery.init.js',
         static("mezzanine/js/%s" % settings.JQUERY_UI_FILENAME),
         static("mezzanine/js/admin/dynamic_inline.js")
     ]
Exemplo n.º 2
0
 class Media:
     js = [
         static("mezzanine/tinymce/tinymce.min.js"),
         static("mezzanine/tinymce/jquery.tinymce.min.js"),
         static(settings.TINYMCE_SETUP_JS)
     ]
     css = {'all': [static("mezzanine/tinymce/tinymce.css")]}
Exemplo n.º 3
0
 class Media:
     js = (static("mezzanine/js/admin/tabbed_translation_fields.js"), )
     css = {
         "all":
         (static("mezzanine/css/admin/tabbed_translation_fields.css"),
          ),
     }
Exemplo n.º 4
0
 class Media(BaseTranslationModelAdmin.Media):
     css = copy(BaseTranslationModelAdmin.Media.css)
     css["all"] += (static("mezzanine/css/admin/settings.css"), )
     js = [
         js.replace(str(static("tabbed_translation_fields.js")),
                    str(static("tabbed_translatable_settings.js")))
         for js in BaseTranslationModelAdmin.Media.js
     ]
Exemplo n.º 5
0
 def media(self):
     js = [
         static("mezzanine/tinymce/tinymce.min.js"),
         static("mezzanine/tinymce/jquery.tinymce.min.js"),
         static(settings.TINYMCE_SETUP_JS),
     ]
     css = {'all': [static("mezzanine/tinymce/tinymce.css")]}
     return forms.Media(js=js, css=css)
Exemplo n.º 6
0
 class Media:
     js = (
         static("mezzanine/js/%s" % settings.JQUERY_UI_FILENAME),
         static("mezzanine/js/admin/tabbed_translation_fields.js"),
     )
     css = {
         "all": (static(
             "mezzanine/css/admin/tabbed_translation_fields.css"),),
     }
Exemplo n.º 7
0
 class Media:
     css = {"all": (static("mezzanine/css/admin/form.css"), )}
Exemplo n.º 8
0
 class Media:
     js = [
         static("mezzanine/js/%s" % settings.JQUERY_UI_FILENAME),
         static("mezzanine/js/admin/dynamic_inline.js")
     ]
Exemplo n.º 9
0
 class Media:
     js = (static("mezzanine/js/admin/dynamic_inline.js"), )
Exemplo n.º 10
0
 class Media:
     css = {"all": (static("mezzanine/css/admin/gallery.css"),)}
Exemplo n.º 11
0
 class Media:
     js = (static("mezzanine/tinymce/tinymce.min.js"),
           static(settings.TINYMCE_SETUP_JS))
     css = {'all': (static("mezzanine/tinymce/tinymce.css"), )}
Exemplo n.º 12
0
 class Media:
     js = (
         "admin/js/jquery.init.js",
         static("mezzanine/js/admin/keywords_field.js"),
     )
Exemplo n.º 13
0
 class Media:
     js = (static("mezzanine/js/admin/keywords_field.js"), )
Exemplo n.º 14
0
 class Media:
     css = {"all": (static("cartridge/css/admin/order.css"), )}
Exemplo n.º 15
0
 class Media:
     js = (static("cartridge/js/admin/product_variations.js"), )
     css = {"all": (static("cartridge/css/admin/product.css"), )}