feat(template): row style; button events

add strings to attach functions

time: 0h:35