Removed theme css field.
parent
6a42df67b1
commit
3431565f74
|
|
@ -0,0 +1,19 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0023_theme_foldable_apps'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='theme',
|
||||
name='css',
|
||||
),
|
||||
]
|
||||
|
|
@ -29,11 +29,6 @@ https://github.com/fabiocaccamo/django-admin-interface
|
|||
{% include "admin_interface/css/tinymce.css" %}
|
||||
{% include "admin_interface/css/json-widget.css" %}
|
||||
{% include "admin_interface/css/rtl.css" %}
|
||||
|
||||
{% if theme.css %}
|
||||
{{ theme.css|safe }}
|
||||
{% endif %}
|
||||
|
||||
</style>
|
||||
|
||||
{% if current_lang == 'fa' %}
|
||||
|
|
@ -55,7 +50,18 @@ https://github.com/fabiocaccamo/django-admin-interface
|
|||
{% include "admin_interface/related-modal.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyclass %}admin-interface flat-theme {% get_admin_interface_theme as theme %}{% if theme.name %}{{ theme.name|slugify }}-theme{% endif %}{% if theme.foldable_apps %} foldable-apps {% endif %}{% if theme.form_submit_sticky %} sticky-submit {% endif %}{% if theme.form_pagination_sticky %} sticky-pagination {% endif %}{% endblock %}
|
||||
{% block extrahead %}
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block bodyclass %}
|
||||
{% get_admin_interface_theme as theme %}
|
||||
flat-theme admin-interface
|
||||
{% if theme.name %} {{ theme.name|slugify }}-theme {% endif %}
|
||||
{% if theme.foldable_apps %} foldable-apps {% endif %}
|
||||
{% if theme.form_submit_sticky %} sticky-submit {% endif %}
|
||||
{% if theme.form_pagination_sticky %} sticky-pagination {% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block branding %}
|
||||
{% get_admin_interface_theme as theme %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue