# -*- coding: UTF-8 -*-
__author__ = 'MD'
from xadmin.views import BaseAdminPlugin, CommAdminView
from xadmin.sites import site


class CommonInitPlugin(BaseAdminPlugin):

    # 添加媒体文件
    def get_media(self, media):
        media.add_css({"screen": ["css/cust_index.css", "css/font-awesome.min.css"]})
        return media

site.register_plugin(CommonInitPlugin, CommAdminView)

f9f94106e376c28aff48ba261f237d16ccec95e5
<mask token>


class CommonInitPlugin(BaseAdminPlugin):

    def get_media(self, media):
        media.add_css({'screen': ['css/cust_index.css',
            'css/font-awesome.min.css']})
        return media


<mask token>

<mask token>


class CommonInitPlugin(BaseAdminPlugin):

    def get_media(self, media):
        media.add_css({'screen': ['css/cust_index.css',
            'css/font-awesome.min.css']})
        return media


site.register_plugin(CommonInitPlugin, CommAdminView)

__author__ = 'MD'
<mask token>


class CommonInitPlugin(BaseAdminPlugin):

    def get_media(self, media):
        media.add_css({'screen': ['css/cust_index.css',
            'css/font-awesome.min.css']})
        return media


site.register_plugin(CommonInitPlugin, CommAdminView)

__author__ = 'MD'
from xadmin.views import BaseAdminPlugin, CommAdminView
from xadmin.sites import site


class CommonInitPlugin(BaseAdminPlugin):

    def get_media(self, media):
        media.add_css({'screen': ['css/cust_index.css',
            'css/font-awesome.min.css']})
        return media


site.register_plugin(CommonInitPlugin, CommAdminView)

# -*- coding: UTF-8 -*-
__author__ = 'MD'
from xadmin.views import BaseAdminPlugin, CommAdminView
from xadmin.sites import site


class CommonInitPlugin(BaseAdminPlugin):

    # 添加媒体文件
    def get_media(self, media):
        media.add_css({"screen": ["css/cust_index.css", "css/font-awesome.min.css"]})
        return media

site.register_plugin(CommonInitPlugin, CommAdminView)
