Added SVG icons from Font Awesome

This commit is contained in:
2017-06-16 18:12:18 +02:00
parent 6e3e818552
commit 3b62457861
797 changed files with 837 additions and 2846 deletions

View File

@ -1,5 +1,5 @@
component Icon(name string)
i(class="fa fa-fw fa-" + name)
go:utils.Icon(name)
component RawIcon(name string)
span(class="fa fa-" + name)
go:utils.RawIcon(name)

View File

@ -24,11 +24,11 @@ component LoggedInMenu
component NavigationButton(name string, target string, icon string)
a.navigation-link.ajax(href=target)
.navigation-button
i(class="fa fa-" + icon)
Icon(icon)
span.navigation-text= name
component NavigationButtonNoAJAX(name string, target string, icon string)
a.navigation-link(href=target)
.navigation-button
i(class="fa fa-" + icon)
Icon(icon)
span.navigation-text= name