gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfafddbf9fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmrefafddbf9/components/franchisewidget.hl

1.4 KB

  1. // components/franchisewidget.hl — THE FRANCHISE WIDGET on a show / movie page (tracker.worldapi.org#19, mission 066), composed
  2. // by components/show.hl: `FranchiseWidget { widgets = … }` (franchises.hl widgetsOf). One per timeline the title is in:
  3. //
  4. // Star Trek ← the franchise (only when the timeline has one) → its index
  5. // ‹ Prequel | Star Trek — Prime | Sequel › ← links to the title before / after this one; an end is greyed out
  6. //
  7. // The timeline's name links to /timelines/<slug>. Each side shows the title it leads to under the word.
  8. widgets = []
  9. View {
  10. franchiseWidgets {
  11. for (w of widgets) {
  12. franchiseWidget { "data-timeline" = w.id
  13. if (w.hasFranchise) { a { class = "fw-franchise" href = w.franchiseHref w.franchiseName } }
  14. fwRow {
  15. if (w.hasPrev) {
  16. a { class = "fw-side fw-prev" href = w.prevHref title = w.prevTitle
  17. fwDir { "‹ Prequel" }
  18. fwTitle { w.prevTitle }
  19. }
  20. }
  21. if (w.noPrev) { span { class = "fw-side fw-prev off" "aria-disabled" = "true" fwDir { "‹ Prequel" } } }
  22. a { class = "fw-timeline" href = w.href w.name }
  23. if (w.hasNext) {
  24. a { class = "fw-side fw-next" href = w.nextHref title = w.nextTitle
  25. fwDir { "Sequel ›" }
  26. fwTitle { w.nextTitle }
  27. }
  28. }
  29. if (w.noNext) { span { class = "fw-side fw-next off" "aria-disabled" = "true" fwDir { "Sequel ›" } } }
  30. }
  31. }
  32. }
  33. }
  34. }

Branches

Latest commits

  • fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre
  • b2e2206dlog: #63 livemre
  • 5831e0e0log: HM64 donemre
  • 4042b923Flatten catalog membership rows into paired slotsmre
  • ea8a759elog: #61 #62 live, DP63 and HM64 startedmre
  • 40439456Merge hm63-searchtext: tracker#63 packed search textmre
  • b7e6b48ePack normalized search text behind numeric offsetsmre
  • b35f53e1log: DP62 stale runtime decisionmre
  • f9593602log: Apollo deploy rule correctionmre
  • 3c95f7f3log: DP62 and HM63 startedmre
  • 9c4397c9mission HM63mre
  • 8dfe42c8mission DP62mre
  • e347fef4Merge rv44: tracker#61 #62 on Hybriel day44mre
  • 8274bcf1log: RV44 done, deploy held for the usage windowmre
  • 1ef7a3b1RV44: report day44 gates and migration/restart proofsmre
  • a5f62f6cRV44: re-vendor Hybriel set day44 (source 222edef7, bin 4f0f263e)mre
  • 6159a248Merge branch 'hm62-personindex' into rv44mre
  • a8923d93log: RV44 startedmre
  • cf28cf77mission RV44mre
  • 585782dfLog: tracker#60 Chrome look, STATUS rewrittenmre