Use footer elements

This commit is contained in:
2019-09-01 16:39:17 +09:00
parent c1695593d3
commit d854ef3a6a
25 changed files with 30 additions and 32 deletions

View File

@ -30,7 +30,7 @@ component Editor(url string, score int, scoreTitle string, scoreTypes map[string
p Companies
p.editor-score= stringutils.Plural(scoreTypes["Company"], "contribution")
.footer.mountable
footer.footer.mountable
a.footer-element(href="/editor/mal/diff/anime" + user.Settings().Editor.Filter.Suffix()) MALdiff
a.footer-element(href="/editor/kitsu/new/anime") Kitsu
a.footer-element(href="/editor/jobs") Jobs

View File

@ -1,7 +1,7 @@
component AnimeEditorListFull(title string, missing []*arn.Anime, count int, pageURI string, generateSearchLink func(*arn.Anime) string, user *arn.User)
EditorTabs(pageURI, user)
h1.editor-list-page-title.mountable= title
.footer.editor-list-entry-count.mountable= strconv.Itoa(count) + " anime"
footer.footer.editor-list-entry-count.mountable= strconv.Itoa(count) + " anime"
AnimeEditorList(missing, pageURI, generateSearchLink)
component AnimeEditorList(animes []*arn.Anime, pageURI string, generateSearchLink func(*arn.Anime) string)