Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54f120c9ba | |||
| 816c05bebd | |||
| 710370e903 | |||
| 10476e5675 | |||
| bb5867460f | |||
| 0ed341bdfd | |||
| dd8a556d79 | |||
| f1c37feacb | |||
| 6b05143bcc |
@@ -21,7 +21,7 @@ INSTALLED_APPS = (
|
||||
#...
|
||||
)
|
||||
```
|
||||
- Run ``python manage.py migrate`` *(add ``--fake-initial`` if you are upgrading from 0.1.0 to 0.1.1 version)*
|
||||
- Run ``python manage.py migrate`` *(add ``--fake-initial`` if you are upgrading from 0.1.0 version)*
|
||||
- Run ``python manage.py collectstatic``
|
||||
- Restart your application server
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
from django.apps import AppConfig
|
||||
from django.db.models.signals import post_migrate
|
||||
|
||||
from admin_interface.models import Theme
|
||||
|
||||
|
||||
class AdminInterfaceConfig(AppConfig):
|
||||
|
||||
@@ -13,6 +11,6 @@ class AdminInterfaceConfig(AppConfig):
|
||||
|
||||
def ready(self):
|
||||
|
||||
from admin_interface.models import Theme
|
||||
post_migrate.connect(Theme.post_migrate_handler, sender = self)
|
||||
|
||||
|
||||
@@ -66,15 +66,37 @@
|
||||
}
|
||||
|
||||
div.breadcrumbs a:hover,
|
||||
div.breadcrumbs a:active,
|
||||
fieldset a.collapse-toggle:hover {
|
||||
div.breadcrumbs a:active {
|
||||
color:{{ theme.css_module_link_hover_color }} !important;
|
||||
}
|
||||
|
||||
fieldset.collapsed a.collapse-toggle {
|
||||
color:{{ theme.css_module_background_color }} !important;
|
||||
fieldset.collapse {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
fieldset.collapse.collapsed a.collapse-toggle {
|
||||
color:{{ theme.css_generic_link_color }} !important;
|
||||
font-weight: bold;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
fieldset.collapse.collapsed a.collapse-toggle:hover,
|
||||
fieldset.collapse.collapsed a.collapse-toggle:active {
|
||||
color:{{ theme.css_generic_link_hover_color }} !important;
|
||||
}
|
||||
|
||||
fieldset.collapse a.collapse-toggle {
|
||||
color:{{ theme.css_module_link_color }} !important;
|
||||
font-weight: bold;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
fieldset.collapse a.collapse-toggle:hover,
|
||||
fieldset.collapse a.collapse-toggle:active {
|
||||
color:{{ theme.css_module_link_hover_color }} !important;
|
||||
}
|
||||
|
||||
|
||||
.inline-group h2,
|
||||
.inline-group h2 {
|
||||
background:{{ theme.css_module_background_color }};
|
||||
@@ -274,6 +296,11 @@
|
||||
background-color:#ffffff;
|
||||
}
|
||||
|
||||
.module.filtered #changelist-filter li.selected a,
|
||||
.module.filtered #changelist-filter li.selected a:hover {
|
||||
color: {{ theme.css_generic_link_color }};
|
||||
}
|
||||
|
||||
#content-related {
|
||||
{% if theme.css_module_rounded_corners %}border-radius:4px;{% endif %}
|
||||
}
|
||||
@@ -293,7 +320,7 @@
|
||||
}
|
||||
*/
|
||||
|
||||
/*.inline-group .tabular tr.has_original td.original, */
|
||||
/*.inline-group .tabular tr.has_original td.original, */
|
||||
.inline-group .tabular tr td.delete {
|
||||
vertical-align:middle !important;
|
||||
text-align:center !important;
|
||||
|
||||
@@ -22,4 +22,3 @@ def get_admin_interface_theme(context):
|
||||
|
||||
return obj
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
__version__ = '0.1.2'
|
||||
__version__ = '0.1.4'
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ setup(
|
||||
download_url='https://github.com/fabiocaccamo/django-admin-interface/archive/%s.tar.gz' % __version__,
|
||||
keywords=['django', 'admin', 'interface', 'ui', 'flat', 'theme', 'custom'],
|
||||
install_requires=[
|
||||
'django-colorfield==0.1.10'
|
||||
'django-colorfield==0.1.10',
|
||||
'django-flat-theme==1.1.2'
|
||||
],
|
||||
classifiers=[]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user