Page MenuHomePhabricator

Classes for styling
Closed, ResolvedPublic

Description

Author: dasch

Description:
Would be nice if the table also had classes for mandatory and so on, so that it could be styled through CSS


Version: unspecified
Severity: enhancement

Details

Reference
bz18363

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport set Reference to bz18363.

When you say "the table", I think you mean the form fields? Right now, they fields have CSS id's that are numbered sequentially in the pattern input_n, where "n" is the order that it appears on the form. Although that can be targeted with CSS or javascript, but it would affect all other forms that have the same input_n id number.

I agree, being able to customize classes and id's for form fields would be handy for advanced users.

If you meant the form table, that is already easy to customize using wikitable syntax:

http://www.mediawiki.org/wiki/Help:Tables
http://en.wikipedia.org/wiki/Help:Table
http://meta.wikimedia.org/wiki/Help:Table

Yaron_Koren claimed this task.
Yaron_Koren subscribed.

Marking this 12+ year-old bug as "Resolved". It's not clear what the original request was, but I think all inputs defined as mandatory have some kind of class to indicate that in the HTML, as of... sometime in the last 12 years, I guess.