T7 Inactive Button

* reset json controller
* update sql to retrieve projects that ended
* TODO:
** add function to return variable $color with changed opacity