32 lines
922 B
Plaintext
Raw Normal View History

2018-04-14 21:51:18 +00:00
component AMV(amv *arn.AMV, user *arn.User)
.amv.mountable
2018-04-19 13:04:25 +00:00
AMVVideo(amv)
2018-04-15 08:36:51 +00:00
AMVFooter(amv, user)
2018-04-19 13:04:25 +00:00
component AMVMini(amv *arn.AMV, user *arn.User)
.amv.mountable
AMVVideo(amv)
AMVMiniFooter(amv, user)
component AMVVideo(amv *arn.AMV)
.video-container
2018-04-24 12:12:37 +00:00
video.video.lazy(controls, controlsList="nodownload")
2018-04-19 13:04:25 +00:00
source(data-src="https://notify.moe/videos/amvs/" + amv.File, data-type="video/webm")
2018-04-15 08:36:51 +00:00
component AMVFooter(amv *arn.AMV, user *arn.User)
.amv-footer
if amv.Title.ByUser(user) == ""
a(href=amv.Link() + "/edit") untitled
else
a(href=amv.Link())= amv.Title.ByUser(user)
span posted
2018-04-19 13:04:25 +00:00
span.utc-date.no-tip(data-date=amv.Created)
2018-04-15 08:36:51 +00:00
span by
2018-04-19 13:04:25 +00:00
a(href=amv.Creator().Link())= amv.Creator().Nick + " "
component AMVMiniFooter(amv *arn.AMV, user *arn.User)
.amv-footer
if amv.Title.ByUser(user) == ""
a(href=amv.Link() + "/edit") untitled
else
a(href=amv.Link())= amv.Title.ByUser(user)