Need to add new buttons in Employee Attendace Tool

This is with reference to the issue given below

https://discuss.erpnext.com/t/adding-buttons-in-employee-attendance-tool/14205
I am not able to achieve the same using the suggestion given in the solution

Vivek