fix bugs and template for buttons
Merge branch 'master' of https://github.com/oligarch777/intranet