gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita5d45d00a5d45d00records: D38 cause, GOmrea5d45d00/components/problem.hl

1.0 KB

  1. // components/problem.hl — `/login/failed/:why` and `/connect/failed/:why` (tickets#42): WHY A LOGIN OR A CONNECTION REQUEST DID NOT WORK, inside the normal shell
  2. // (header, the ident selector, theme). The function routes /login/callback and /connect only decide and redirect here (lib/api.hl); the reason is
  3. // a short code in the path, the sentence comes from lib/problems.hl (a page component cannot read a query string, hybriel#11, so the code is a path
  4. // segment). The page itself answers 200.
  5. parent './main.hl'
  6. import { problemOf } from '../lib/problems.hl'
  7. import { siteName } from '../project.hl'
  8. import { messageLook } from '../lib/looks.hl'
  9. why = null
  10. shown = problemOf(why)
  11. heading = shown.title
  12. sentence = shown.text
  13. backHref = shown.back
  14. backText = shown.backText
  15. __title = siteName + ' | ' + shown.title
  16. Style {
  17. pMessage = messageLook + { }
  18. problemPage { display = 'grid' gap = '1rem' maxWidth = '38rem' }
  19. }
  20. View {
  21. problemPage {
  22. h1 { id = "problemtitle" heading }
  23. p { id = "error" Style.pMessage sentence }
  24. p { a { id = "home" href = backHref backText } }
  25. }
  26. }

Branches

Latest commits

  • a5d45d00records: D38 cause, GOmre
  • 19eeb938records: D38 gates, two day38b failuresmre
  • 94d6ca2arecords: D38 startedmre
  • 9df09aacmission 029: day38b re-vendor + deploymre
  • d2834f65records: #94 backup planmre
  • 4467d8cbrecords: #94 purge readymre
  • 506a4efdmission 028: #94, identity rulemre
  • 78c7f48eRefine mpackdb holdmre
  • 3d7d89c8Record mpackdb hold until day38mre
  • f1bf7195#51 done; my subscription idmre
  • 9870b945status: #51 proof greenmre
  • e92173c6log: #51 live push proofmre
  • 72d87041log: Hermes push livemre
  • 1d69bf7dTickets conductor: park until Hermes pushmre
  • 80d8cfd1Tickets conductor: #51 livemre
  • 61641dd9Complete subscriptions deployment evidencemre
  • c980856cRecord successful subscriptions deployment and live checksmre
  • 4b4710adMerge branch 's51-subscriptions'mre
  • a731ef7eTickets conductor: S51 reviewed, deploy stepmre
  • b487b05aRecord verified direct push protocol handoffmre