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/shoboi.pixy Normal file
View File

@ -0,0 +1,25 @@
component ShoboiMissingMapping(missing []*arn.Anime)
h1.page-title Anime without Shoboi 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="http://cal.syoboi.jp/find?type=quick&sd=1&kw=" + anime.Title.Japanese, target="_blank", rel="noopener") Search