From 7575ecb9ca62bc349868421c0a09c1adc5032fcc Mon Sep 17 00:00:00 2001 From: DylannCordel <d.cordel@webu.coop> Date: Thu, 6 Apr 2017 11:33:05 +0200 Subject: [PATCH] remove admin skin, this is not in the scope of this app --- newsbox_cms/admin.py | 5 +---- newsbox_cms/static/newsbox_cms/custom_model.css | 11 ----------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 newsbox_cms/static/newsbox_cms/custom_model.css diff --git a/newsbox_cms/admin.py b/newsbox_cms/admin.py index cc6bf89..7a84ba4 100644 --- a/newsbox_cms/admin.py +++ b/newsbox_cms/admin.py @@ -20,10 +20,7 @@ from newsbox.admin import NewsboxBaseAdmin, remove_field_from_fieldsets, add_fie class CustomModelCMSAdmin(admin.ModelAdmin): - class Media: - css = { - "all": ("newsbox_cms/custom_model.css",) - } + pass def CustomModelCMSAdminFactory( diff --git a/newsbox_cms/static/newsbox_cms/custom_model.css b/newsbox_cms/static/newsbox_cms/custom_model.css deleted file mode 100644 index 32b677e..0000000 --- a/newsbox_cms/static/newsbox_cms/custom_model.css +++ /dev/null @@ -1,11 +0,0 @@ - -body.change-list #result_list td a.edit { - float:right; - background:url("../cms/img/pagetree/sprite.png") no-repeat scroll 0px 0px transparent; - width:18px; - height:18px; - display:inline-block; - background-position: -40px -20px; - margin-top: 0px; - vertical-align: middle; -} -- GitLab