Before applying this patch, do update.
First of all there is still two bugs:
- if a field that is part of a group swith is in error ; and then the group switch is unactivated ; the category stay red
- when starting the config with empty mandatory fields ; they are not in error : normal ; when saving : this failed and the fields go in error : normal ; BUT the category does not go in error : BUG
Now, let's be honnest, this is ugly and not usable : we will so do the following changes, that are :
- when a test do fail, the parameters should go in warning mode (becarefull, that when the test become normal again, the parameters should go normal again only if they are not in warning due to another test!)
- the layout of test i completely modified : there are now buttons in the form itself (one per test): the label is the one of the test, an small-icon may be required (conf of test should have 3 size of icons like any other conf in ametys) - and the test color will be reflected in the button
- the labels have to be rewriten : let's talk about "verification" more then "test"
- please clean useless images, css rules and js code.
By the way of inserting an icon and text in a button is to use "icon" and "text" : not "html" with your own hack (that is not correctly located)