Improved editor tools

This commit is contained in:
2017-10-06 22:07:12 +02:00
parent b250f2ea7e
commit c9f51037dc
11 changed files with 148 additions and 56 deletions

25
pages/editor/anilist.pixy Normal file
View File

@ -0,0 +1,25 @@
component AniListMissingMapping(missing []*arn.Anime)
h1.page-title Anime without Anilist links
EditorTabs
table
thead
tr
th(title="Popularity") Pop.
th Title
th Type
th Year
th Tools
tbody
each anime in missing
tr
td= anime.Popularity.Total()
td
a(href=anime.Link(), target="_blank", rel="noopener")= anime.Title.Canonical
td= anime.Type
td
if len(anime.StartDate) >= 4
span= anime.StartDate[:4]
td
a(href="https://anilist.co/search?type=anime&q=" + anime.Title.Canonical, target="_blank", rel="noopener") Search