Commit Graph

62 Commits (6f7a51bee8ae0162ab0f215df96579f8c9bf88b8)

Author SHA1 Message Date
Fabio Caccamo 6f7a51bee8 Add `css_generic_link_active_color` field to use on active tab (tabbed changeform). #232 2023-04-18 16:10:02 +02:00
Fabio Caccamo cc79cf1549 Fix modal and popup opening at the same time. 2022-12-19 15:31:02 +01:00
Fabio Caccamo 2da294e28f [css] Improve changelist filter margins. 2022-12-14 12:58:57 +01:00
Fabio Caccamo fca8e6d47b Fix modal opener buttons not working when added to the DOM asynchronously. #228 2022-12-14 12:38:47 +01:00
Fabio Caccamo 9c1af23785 Run `pre-commit`. 2022-12-11 23:07:11 +01:00
Éric 15da0bfd9a
minor cleanups (#225)
* use normal html self-closing tags

* stop using obsolete test integration

* make test more straightforward

* removed unused setting
2022-12-11 22:53:05 +01:00
Vasanth 79f3fefaad
Text color on focus (#223) 2022-12-09 11:08:02 +01:00
Vasanth a75c16162f
[css] Fix inlines vertical alignement (#201)
Co-authored-by: vaz <vmohan@lenbox.io>
2022-12-05 10:19:44 +01:00
Éric d62593e01b
Drop old Python and Django versions (#220)
* drop old python and django versions

* fix tests

* remove compat module entirely

Co-authored-by: Fabio Caccamo <fabio.caccamo@gmail.com>
2022-12-03 13:49:09 +01:00
Fabio Caccamo 967f5827f2 [tabbed-changeform] Improve tabbed changeform feature. 2022-11-30 19:06:52 +01:00
Fabio Caccamo f2b800d9ca [css] Adjust list filter dropdown `margin-top`. 2022-11-30 15:38:39 +01:00
Vasanth 07dcb77b88
Add border to rest of the tab space (#215)
* add border to rest of the tab space

* All tabs should be False

* slugify div ids

* bottom padding for horizontal

* do not show solo tabs

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use properties over attribute

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename id to class

* scrollbar shenanigans

* rename tag

* wip : button weirdness in safari

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: vaz <vmohan@lenbox.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-30 15:33:59 +01:00
Fabio Caccamo a76de04a8b [css] Reduce secondary scrollbars size. 2022-11-30 15:13:27 +01:00
Fabio Caccamo 1d963230e4 [css] Fix nav filter style on Safari. 2022-11-30 14:54:41 +01:00
Fabio Caccamo 81ebbaa2c9 [css] Fix nav filter clipped outline on focus. 2022-11-30 14:50:27 +01:00
Fabio Caccamo 5376089110 [css] Improve language chooser style. 2022-11-30 14:34:56 +01:00
Fabio Caccamo 79dfb2fea9 [css] Improve nav filter style. #214 2022-11-30 14:34:38 +01:00
Fabio Caccamo 5009e97086 [css] Adjust list filter dropdown vertical margins. 2022-11-29 17:04:20 +01:00
Fabio Caccamo b5fdd6ec19 [css] Reduce scrollbar width on scrollable sticky elements. 2022-11-29 16:45:32 +01:00
Vasanth cc1f72b23d
Add tabbed changeform support (#211).
* WIP : basic templates

* Add params

* Working override

* Use headerless version only during tabs

* Move CSS to separate file

* Extract js to static folder

* script is not self-closing

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use classList for updating classes

* Add EOF (newline) to new text files

* a simple test to keep up code coverage

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fieldsets are not tabbed by default

* rename templatetag

* use default page if show_*_tabs are false

* Narrow down css to admin-interface

* Fix typo

* keep codacy happy

* prefix tab classes with tabbed-changeform-

* horizontal scrolling

* Update colors

* color updates

* add back missing font bold

Co-authored-by: vaz <vmohan@lenbox.io>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-26 09:54:33 +01:00
Fabio Caccamo 53e5b66785 [css] Fix list-filter dropdown vertical margins. 2022-10-13 12:04:08 +02:00
Fabio Caccamo 5e5e811102 [css] Add `django-rangefilter` style optimizations. 2022-10-13 12:01:00 +02:00
Fabio Caccamo da027966c0 [css] Fix calendar prev/next arrows style. 2022-10-13 11:58:34 +02:00
Éric f8ace75f36
Add option for list filter quick remove. #183
* add option for list filter quick remove

* move transform from css to python

* make template tag more resilient for unusual filters

* fix tests

* rename field, move rendering to template, change style

* fix tests
2022-10-11 18:15:21 +02:00
Fabio Caccamo de2979219e Fix left/right scrolling broken with django-import-export. #165 2022-10-07 11:12:32 +02:00
Éric f25d340738
Add option to make active list filters more visible. #178
* add option to make active list filters more visible

* fix margins and border radius for selected filters
2022-10-06 09:47:19 +02:00
Éric 04df53ee4b
Add support for collapsible fieldsets that start expanded. #177
* support collapsible fieldsets that start expanded

* address review comments
2022-09-29 09:37:26 +02:00
Fabio Caccamo 40b8963d74 Add language chooser control option (default select, minimal select). #136 2022-09-28 18:55:50 +02:00
Fabio Caccamo 8d3d7c9648 [css] Fix variable name typo. 2022-09-28 18:00:05 +02:00
Fabio Caccamo 8562c2dbfb [css] Move `language-chooser` style to its own CSS file. 2022-09-28 16:55:00 +02:00
Fabio Caccamo 585575dce7 [js] Fix modal window not closing on save with `django >= 4.0`. #169 2022-09-28 16:34:26 +02:00
Fabio Caccamo 990db6fdc8 [css] Fix sticky list filter scrolling. #175 2022-09-28 15:37:06 +02:00
Fabio Caccamo 5fb85d02a2 [css] Fix paginator missing `border-top` on mobile. 2022-09-28 12:46:11 +02:00
Fabio Caccamo 769fab5e84 Add `django-streamfield` compatibility. 2022-08-25 12:03:39 +02:00
Fabio Caccamo 6eebeb62c1 Removed testing comments. 2022-08-25 12:00:44 +02:00
Fabio Caccamo 53e9b3f9f7 Fix CSS variable name typo. 2022-08-25 11:58:54 +02:00
Tim Gates 3156882cba
docs: Fix a few typos (#166) 2022-07-31 08:15:07 +02:00
Fabio Caccamo 04632078d1 [css] Fixed dashboard alignment when recent-actions are not visible. 2022-05-10 10:44:05 +02:00
Mustafa M. A. U. AbuGhazy 8fe7178a13 Converted dynamic inline CSS to external static CSS using CSS variables. #157 #93 2022-03-09 10:14:57 +01:00
Fabio Caccamo 7c0a105c92 Fixed body scroll reset to top when opening related modal. #150 2022-01-21 13:39:21 +01:00
Fabio Caccamo 593709808f Added foldable apps support. #117 2021-11-23 22:32:01 +01:00
Fabio Caccamo 7d2d29a42c Made globally available `presentRelatedObjectModal` and `presentRelatedObjectModalOnClickOn`. 2021-03-26 19:14:22 +01:00
Henri Chain 5ed9fd75cc
support show_change_link with related modal (#120) 2021-03-26 18:35:06 +01:00
Fabio Caccamo 09548dbcdc Fixed related modal not closing on edit save and create with django 3.1 - #96 2020-08-21 17:48:27 +02:00
Fabio Caccamo 147a2a6abf Fixed popup javascript error when related modal is inactive. #76 2020-04-07 15:49:19 +02:00
Fabio Caccamo f7ec79eb75 Fixed js self invoking anonymous function expression. 2020-04-07 15:48:42 +02:00
Fabio Caccamo 8bdbf31465 Improved code quality. 2019-12-03 11:34:26 +01:00
Fabio Caccamo b4d0b4c985 Added django-dynamic-raw-id support - #61 2019-04-29 16:38:28 +02:00
Fabio Caccamo cb7a358c6c Fixed raw-id-field whith django-admin-interface #58 2019-03-22 11:41:31 +01:00
Fabio Caccamo f0a046ff7f Added related modal close button #45 2019-03-20 17:53:03 +01:00