31 lines
1.7 KiB
Plaintext
Raw Normal View History

2018-03-09 14:09:27 +00:00
component EditAnimeTabs(anime *arn.Anime)
.tabs
a.tab(href=anime.Link())
2018-03-09 14:09:27 +00:00
Icon("tv")
span Anime
2019-02-08 10:34:20 +00:00
2018-03-09 15:27:40 +00:00
Tab("Edit", "pencil", anime.Link() + "/edit")
2018-03-16 21:40:38 +00:00
Tab("Images", "image", anime.Link() + "/edit/images")
Tab("Characters", "users", anime.Link() + "/edit/characters")
2018-03-17 01:00:43 +00:00
Tab("Relations", "exchange", anime.Link() + "/edit/relations")
2018-03-16 21:40:38 +00:00
Tab("Episodes", "list-ol", anime.Link() + "/edit/episodes")
2019-02-08 10:34:20 +00:00
Tab("History", "history", anime.Link() + "/edit/history")
2019-03-11 01:19:08 +00:00
2019-02-08 10:34:20 +00:00
.search-links
2019-03-11 01:19:08 +00:00
a.badge.search-link.google-badge.tip(href="https://www.google.com/search?q=" + anime.Title.Canonical, target="_blank", rel="noopener", aria-label="Google")
2019-03-30 09:50:10 +00:00
RawIcon("google-color")
2019-03-11 01:19:08 +00:00
a.badge.search-link.anilist-badge.tip(href="https://anilist.co/search/anime?sort=SEARCH_MATCH&search=" + anime.Title.Canonical, target="_blank", rel="noopener", aria-label="Anilist")
RawIcon("anilist")
a.badge.search-link.mal-badge.tip(href="https://myanimelist.net/anime.php?q=" + anime.Title.Canonical, target="_blank", rel="noopener", aria-label="MyAnimeList")
2019-02-08 10:34:20 +00:00
RawIcon("mal")
2019-03-11 01:19:08 +00:00
a.badge.search-link.shoboi-badge.tip(href="http://cal.syoboi.jp/find?type=quick&sd=1&kw=" + anime.Title.Japanese, target="_blank", rel="noopener", aria-label="Shoboi")
2019-02-08 10:34:20 +00:00
RawIcon("shoboi")
2019-03-11 01:19:08 +00:00
a.badge.search-link.tip(href="https://www.google.com/search?q=" + anime.Title.Canonical + " anime cover&tbm=isch&tbs=imgo:1,isz:lt,islt:qsvga", target="_blank", rel="noopener", aria-label="Cover image")
2019-02-08 10:34:20 +00:00
RawIcon("image")
2019-03-11 01:19:08 +00:00
a.badge.search-link.tip(href="https://www.youtube.com/results?search_query=" + strings.Replace(anime.Title.Canonical+" PV", " ", "+", -1), target="_blank", rel="noopener", aria-label="Trailer")
2019-02-08 10:34:20 +00:00
RawIcon("youtube-full-color")