[IMP] replacing red/green checkboxes

* moving HTML to tpls (to be continued...)
* related #1145