2017-06-28 15:55:08 +00:00
|
|
|
component EditAnime(anime *arn.Anime)
|
|
|
|
h2= anime.Title.Canonical
|
|
|
|
|
|
|
|
.widgets
|
|
|
|
.widget(data-api="/api/anime/" + anime.ID)
|
|
|
|
h3.anime-section-name Mappings
|
2017-06-28 16:39:52 +00:00
|
|
|
InputText("Custom:ShoboiID", anime.GetMapping("shoboi/anime"), "Shoboi TID", "TID on http://cal.syoboi.jp")
|
|
|
|
|
|
|
|
.buttons
|
|
|
|
a.button.ajax(href="/anime/" + anime.ID)
|
|
|
|
Icon("arrow-left")
|
|
|
|
span View anime
|
|
|
|
|
|
|
|
a.button(href="/api/anime/" + anime.ID, target="_blank")
|
|
|
|
Icon("search-plus")
|
|
|
|
span JSON API
|