Opened 14 years ago

Closed 14 years ago

Last modified 13 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

Description

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

Download all attachments as: .zip

Change History (8)

by Sebastian Noack, 14 years ago

comment:1 by Sebastian Noack, 14 years ago

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

comment:2 by anonymous, 14 years ago

milestone: 1.3
Triage Stage: UnreviewedAccepted

comment:3 by Jacob, 14 years ago

Oops, that above was me.

comment:4 by steph, 14 years ago

Keywords: sprintnov13 added

comment:5 by Jannis Leidel, 14 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

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

comment:7 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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