I need you to add a new plugin into this [url removed, login to view] script. This new script is related with inserting via JSON an ALERT section (option) for children or parents.
The Alert will have different states- Urgent, etc. (3 types or something which can be set up by numbers) and for each state it will color all the front box (like the checkbox box) from current children + all the parents above. The alert will have 3 states, like the plugin Checkbox.
So the alert will be like the checkbox feature, but the front box cannot be selectable like the checkbox, it will be just there.
For example for the Tree
If I set an Urgent Alert at Cj, the box from the Hello will go to read color state, Lol, Bv too, but also box from Romania, in a 3rd state (a different red color) because not all the children from Romania are in the Alert state.
To eliminate the spammers I would like from you to show me you created a simple plugin template which will be used for your future work.
The template will send an alert("blah") function when it's activated, and will return the return a child name (it doesnt care which one, Romania, let's say)
I did by my self and it takes ~10 minutes.