Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13649 closed (fixed)

Disabled buttons in admin [PATCH]

Reported by: sebastian_noack Owned by: nobody
Component: contrib.admin Version: 1.2
Severity: Keywords: sprintnov13
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Under some conditions I set some buttons in the admin forms to disabled (by custom js or in custom tempaltes). But due to django's styling of the admin pages, they don't look much disabled. I had to add some styles to the css file, to make disabled buttons look disabled. Eventhough the admin does not use disabled buttons by default, I think it would be good to have corrsponding styles for that state of buttons, as it makes customzing the admin easier.

Attachments (1)

admin-disabled-buttons.patch (1.1 KB) - added by sebastian_noack 6 years ago.

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by sebastian_noack

comment:1 Changed 6 years ago by sebastian_noack

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from Hidden buttons in admin [PATCH] to Disabled buttons in admin [PATCH]

comment:2 Changed 6 years ago by anonymous

  • milestone set to 1.3
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 6 years ago by jacob

Oops, that above was me.

comment:4 Changed 6 years ago by steph

  • Keywords sprintnov13 added

comment:5 Changed 6 years ago by jezdez

  • Triage Stage changed from Accepted to Ready for checkin

comment:6 Changed 6 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(In [14880]) Fixed #13649 -- Extended admin stylesheets to also cover disabled buttons in the admin. Thanks, Sebastian Noack.

comment:7 Changed 5 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top