Opened 9 years ago

Closed 9 years ago

Last modified 8 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: no UI/UX: no


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 9 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by Sebastian Noack

comment:1 Changed 9 years ago by Sebastian Noack

Summary: Hidden buttons in admin [PATCH]Disabled buttons in admin [PATCH]

comment:2 Changed 9 years ago by anonymous

milestone: 1.3
Triage Stage: UnreviewedAccepted

comment:3 Changed 9 years ago by Jacob

Oops, that above was me.

comment:4 Changed 9 years ago by steph

Keywords: sprintnov13 added

comment:5 Changed 9 years ago by Jannis Leidel

Triage Stage: AcceptedReady for checkin

comment:6 Changed 9 years ago by Jannis Leidel

Resolution: fixed
Status: newclosed

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

comment:7 Changed 8 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

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