Pages buttons build function
Merge branch 'master' of https://github.com/bragnikita/server_view

Conflicts:
	src/main/webapp/pages/js/main.js