diff --git a/sigi/static/css/change_form.css b/sigi/static/css/change_form.css new file mode 100644 index 0000000..1bb3777 --- /dev/null +++ b/sigi/static/css/change_form.css @@ -0,0 +1,17 @@ +.sigi-object-tools { + background-color: var(--object-tools-bg); +} + +.sigi-object-tools>ul { + display: flex; + padding: 5px 15px; +} + +.sigi-object-tools>ul>li { + padding-right: 20px; +} + +.sigi-object-tools>ul>li>a { + color: var(--object-tools-fg); + border-color: var(--object-tools-fg); +} \ No newline at end of file diff --git a/sigi/templates/admin/change_form.html b/sigi/templates/admin/change_form.html index 6608d52..72f6dd4 100644 --- a/sigi/templates/admin/change_form.html +++ b/sigi/templates/admin/change_form.html @@ -1,3 +1,20 @@ {% extends 'admin/change_form.html' %} +{% load i18n static admin_modify %} -{% block breadcrumbs %}{% endblock %} \ No newline at end of file +{% block extrastyle %} + {{ block.super }} + +{% endblock %} +{% block breadcrumbs %} + {% if not is_popup %} +