Added failures logging, changed html layout, added badge for failures, changed tags to buttons