[frontend] Add templates.