simplify sidebar macro
simplify chart_view template
simplify sidebar marco in all templates.

now only needs one param: icons
remove no longer used edit template
add user profile based library page.

and simplify templates
add space in card title