Commit Graph

87 Commits (2baae84e84fef066580268fe6c27d8c57179ec96)

Author SHA1 Message Date
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
Éric 19cbeead58
Include date hierarchy in quick removal links (#218)
* Include date hierarchy in quick removal links

* use date field name in removal link

* reduce diff

* tweak some details

* start adding tests

* use mock without spec :(

it's not easy to instantiate ChangeList, and speccing from
the class means that many attributes are not recognized

* more tests

* more tests

* more checks for generated URLs

* better tags and tests

* compat for tox 4
2022-12-11 20:44:31 +01:00
Vasanth 333025f877
Fix broken tabbed inline name. #221
Co-authored-by: vaz <vmohan@lenbox.io>
2022-12-02 11:18:52 +01:00
Fabio Caccamo 967f5827f2 [tabbed-changeform] Improve tabbed changeform feature. 2022-11-30 19:06:52 +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
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 5e5e811102 [css] Add `django-rangefilter` style optimizations. 2022-10-13 12:01:00 +02:00
Fabio Caccamo a7ca8f96cb Fix duplicated welcome message. #185 2022-10-12 11:28:24 +02:00
Éric bd2fede501
Add CI checks for migrations and translations. #186
* ci: add migration check

* fix install

* fix tox config

* ci: add check for outdated translations

* update french translation

* ci: django needs xgettext

* option --all doesn't work

* refresh all translations

* ci: help debug failed jobs

* ci: fix jobs graph

* ci: also check that compiled catalogs are up to date
2022-10-12 10:17:17 +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
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 668c8c806b [html] Add missing version cache-buster to some stylesheets. 2022-09-28 16:58:44 +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 769fab5e84 Add `django-streamfield` compatibility. 2022-08-25 12:03:39 +02:00
Fabio Caccamo 53e9b3f9f7 Fix CSS variable name typo. 2022-08-25 11:58:54 +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
MG Santos 06069644fd
Removed public disclosures of the lib's version. #154 2022-02-22 16:22:19 +01:00
Micah Walter 3f076578bb
Added link to admin home page on logo and title. #147 2022-01-05 18:31:07 +01:00
Fabio Caccamo 3431565f74 Removed theme css field. 2021-11-24 18:44:28 +01:00
Fabio Caccamo 593709808f Added foldable apps support. #117 2021-11-23 22:32:01 +01:00
Fabio Caccamo c2e3545f46 Added `responsive_rtl.css` stylesheet. #98 2021-03-30 18:01:39 +02:00
Fabio Caccamo aed5afbfa7 Updated `vazir-font` version to `27.2.2`. #98 2021-03-30 17:59:56 +02:00
Fabio Caccamo 5b606153de Fixed body classes template rendering. 2021-02-03 21:22:06 +01:00
Fabio Caccamo b35a2987cc Fixed and improved sticky form controls and pagination style. 2021-02-03 17:15:01 +01:00
Amir Ajorloo d1cda34a52
Add sticky action button option. (#110)
* Add sticky action button option.

* Add sticky_pagination field. Handle top submit row. Update Admin section

* Add sticky-pagination styles. Fix trailing whitespace issue in models.

* Update sticky pagination max-width
2021-02-03 10:26:07 +01:00
Amir Ajorloo 13b1d9f15f
Add persian language (#98)
* add fa language translations
* add rtl css file. fix side-nav issue in rtl mode

Co-authored-by: Amir Ajorloo <amirajorloo@gmail.coml>
Co-authored-by: Fabio Caccamo <fabio.caccamo@gmail.com>
2020-10-14 10:00:45 +02:00
Fabio Caccamo f0a72d5e40 Added django-json-widget theming support. 2020-09-02 14:53:19 +02:00
Fabio Caccamo 51202a1def Improved header style. 2020-08-05 21:21:37 +02:00
Fabio Caccamo ceab3232ad Unmerged admin-index PR. 2020-07-13 14:41:53 +02:00
carlosmonari 36f13ce164
include stylishment to package django-admin-index
include stylishment to package https://github.com/maykinmedia/django-admin-index
2020-06-28 18:13:02 -03:00
Fabio Caccamo 535a7c0490 Fixed custom django admin header. #75 2020-02-21 17:47:21 +01:00
Éric Araujo b3ac5df522 don't use xml/sgml style tags in html 2020-01-20 09:24:59 -05:00
Fabio Caccamo 1baebf9d62 Added language chooser display option. 2019-09-04 11:24:02 +02:00
Fabio Caccamo 06de101ded Added language chooser. 2019-09-03 18:46:31 +02:00
Éric Araujo 439902dce8 fix typo 2019-03-20 14:15:39 -04:00
Fabio Caccamo e58bbbeacf Added environment options - Fixed #56 2019-03-20 12:33:53 +01:00
Fabio Caccamo 7d9edddf82 Added env badge to favicon. 2019-02-21 17:16:48 +01:00
Fabio Caccamo 4e18d36c79 Added django-tabbed-admin style support 2018-02-05 12:24:42 +01:00
Fabio Caccamo e579134152 Added enviroment display and customization 2018-01-31 12:24:08 +01:00
Fabio Caccamo 4d07e9fec5 Added favicon support #28 2017-08-24 14:28:36 +02:00
Fabio Caccamo 71ad991ba7 Fixed modals closing in older django versions. 2017-07-13 15:53:00 +02:00
Fabio Caccamo 05128a997e Added version parameter to prevent css/js caching. 2017-07-13 15:50:58 +02:00
Fabio Caccamo 2301eedc8b Added possibility to hide recent actions 2017-05-24 11:57:08 +02:00
Fabio Caccamo 8a9842c219 Added possibility to customize the default logo color 2017-05-24 11:44:46 +02:00
Fabio Caccamo 4c182157eb Moved css to external files and added .admin-interface body class 2017-05-16 18:38:59 +02:00
Fabio Caccamo dd9de6ba42 Rendered admin logo width and height attributes only if available 2017-05-16 18:38:06 +02:00