New dashboard layout

This commit is contained in:
2017-07-09 04:22:14 +02:00
parent e929451c88
commit 34d85e5bd1
11 changed files with 101 additions and 46 deletions

View File

@ -1,13 +1,15 @@
component ImportLists(user *arn.User)
.buttons.buttons-vertical
if user.Accounts.AniList.Nick != ""
.widget-input
a.button.mountable.ajax(href="/import/anilist/animelist")
Icon("download")
span Import AniList
if user.Accounts.MyAnimeList.Nick != ""
.widget-input
a.button.mountable.ajax(href="/import/myanimelist/animelist")
Icon("download")
span Import MyAnimeList
if user.Accounts.AniList.Nick != ""
label AniList:
.widget-input
a.button.mountable.ajax(href="/import/anilist/animelist")
Icon("download")
span Import AniList
if user.Accounts.MyAnimeList.Nick != ""
label MyAnimeList:
.widget-input
a.button.mountable.ajax(href="/import/myanimelist/animelist")
Icon("download")
span Import MyAnimeList