12 lines
531 B
Plaintext
Raw Normal View History

2017-07-22 13:04:54 +00:00
component StatusTabs(urlPrefix string)
.tabs.status-tabs
2017-10-01 22:55:37 +00:00
StatusTab("Watching", "play", urlPrefix + "/watching")
StatusTab("Completed", "check", urlPrefix + "/completed")
StatusTab("Planned", "forward", urlPrefix + "/planned")
StatusTab("On Hold", "pause", urlPrefix + "/hold")
StatusTab("Dropped", "stop", urlPrefix + "/dropped")
2017-07-22 13:04:54 +00:00
2017-10-01 22:55:37 +00:00
component StatusTab(label string, icon string, url string)
a.tab.status-tab.action(href=url, data-action="diff", data-trigger="click", aria-label=label)
Icon(icon)
span.tab-text= label