mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
486edb845c
This commit adds data attributes to identify the controls in the user settings UI. Plugins and TCs can use this information to target each setting to highlight or hide them. Although most of the settings also have specific classes identifying them, using data attributes is more future proof as it is less likely to change them classes, specially as we increase the adoption of the BEM methodology in CSS. Using data attributes also are semantically correct as the setting name is data not really related to the classes used. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |