Compare commits

...

6 Commits

Author SHA1 Message Date
Fabio Caccamo ca71642ecf Updated CHANGELOG and version. 2021-03-02 09:52:48 +01:00
Fabio Caccamo 4369288928 Fixed sticky submit and pagination z-index issue with related modal. 2021-03-02 09:52:36 +01:00
Fabio Caccamo f167bbf2c4 Updated README, CHANGELOG and version. 2021-03-01 23:32:26 +01:00
Fabio Caccamo 1b60af57e0 Fixed sticky submit and pagination z-index issue with sticky list_filter and django-json-widget. 2021-03-01 23:32:05 +01:00
Fabio Caccamo 947202f915 Updated version and CHANGELOG. 2021-02-08 11:21:37 +01:00
Fabio Caccamo 7eb6371104 Fixed sticky submit and pagination width when admin.site.enable_nav_sidebar = False. #113 2021-02-08 11:21:04 +01:00
5 changed files with 23 additions and 10 deletions
+9
View File
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.15.5](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.5) - 2021-03-02
- Fixed sticky submit and pagination `z-index` issue with related modal.
## [0.15.4](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.4) - 2021-03-01
- Fixed sticky submit and pagination `z-index` issue with sticky `list_filter` and `django-json-widget`.
## [0.15.3](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.3) - 2021-02-08
- Fixed sticky submit and pagination width when `admin.site.enable_nav_sidebar = False`. #113
## [0.15.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.2) - 2021-02-03 ## [0.15.2](https://github.com/fabiocaccamo/django-admin-interface/releases/tag/0.15.2) - 2021-02-03
- Fixed body classes template rendering. - Fixed body classes template rendering.
- Improved sticky submit and pagination backward compatibility. - Improved sticky submit and pagination backward compatibility.
+6 -4
View File
@@ -22,10 +22,12 @@ django-admin-interface is a modern **responsive flat admin interface customizabl
- Beautiful default **django-theme** - Beautiful default **django-theme**
- Themes management and customization *(you can **customize admin title, logo and colors**)* - Themes management and customization *(you can **customize admin title, logo and colors**)*
- Responsive - Responsive
- List filter dropdown *(optional)* - Related modal *(instead of the old popup window)*
- `NEW` **Related modal** *(instead of the old popup window, optional)* - Environment name/marker
- `NEW` **Environment name/marker** - Language chooser
- `NEW` **Language chooser** - List filter dropdown
- `NEW` **List filter sticky**
- `NEW` **Form controls sticky** *(pagination and save/delete buttons)*
- Compatibility / Style optimizations for: - Compatibility / Style optimizations for:
- `django-ckeditor` - `django-ckeditor`
- `django-dynamic-raw-id` - `django-dynamic-raw-id`
@@ -64,7 +64,7 @@
position: absolute; position: absolute;
top: 15px; top: 15px;
right: 15px; right: 15px;
z-index: 5; z-index: 10;
} }
@media (min-width:768px) { @media (min-width:768px) {
.admin-interface .language-chooser { .admin-interface .language-chooser {
@@ -332,11 +332,13 @@
position: sticky; position: sticky;
top: 40px; top: 40px;
float: right; float: right;
z-index: 30;
} }
/* feature not available for django < 3.1.2 */ /* feature not available for django < 3.1.2 */
.admin-interface .module.filtered #toolbar + #changelist-filter { .admin-interface .module.filtered #toolbar + #changelist-filter {
position: absolute; position: absolute;
top: 0px; top: 0px;
z-index: 30;
} }
} }
{% endif %} {% endif %}
@@ -9,7 +9,7 @@
position: fixed; position: fixed;
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 1; z-index: 40;
box-sizing: border-box; box-sizing: border-box;
padding-left: 15px; padding-left: 15px;
padding-right: 15px; padding-right: 15px;
@@ -41,7 +41,7 @@
} }
@media (min-width:1280px) { @media (min-width:1280px) {
.admin-interface.sticky-pagination.change-list:not(.popup) .shifted .paginator { .admin-interface.sticky-pagination.change-list:not(.popup) #main.shifted > #nav-sidebar + .content .paginator {
width: calc(100% - 359px); width: calc(100% - 359px);
} }
} }
@@ -58,7 +58,7 @@
position: fixed; position: fixed;
bottom: 0; bottom: 0;
right: 0; right: 0;
z-index: 1; z-index: 40;
box-sizing: border-box; box-sizing: border-box;
padding-left: 15px; padding-left: 15px;
padding-right: 15px; padding-right: 15px;
@@ -89,7 +89,7 @@
} }
@media (min-width:1280px) { @media (min-width:1280px) {
.admin-interface.sticky-submit.change-form:not(.popup) .shifted .submit-row:last-of-type { .admin-interface.sticky-submit.change-form:not(.popup) #main.shifted > #nav-sidebar + .content .submit-row:last-of-type {
width: calc(100% - 359px); width: calc(100% - 359px);
} }
} }
+1 -1
View File
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
__version__ = '0.15.2' __version__ = '0.15.5'