gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite5c9b659e5c9b659Pack retained search IDs into UTF-8 bytesmree5c9b659/components/loginfailed.hl

968 B

  1. // components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK. Copied from calendar.worldapi.org's
  2. // loginfailed.hl. The login button's return (users.hl loginCallbackOf, a function route: it must answer with a
  3. // redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.
  4. parent './main.hl'
  5. import { appTitle } from '../lib/app.hl'
  6. session = null
  7. why = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'
  8. mainHref = '/'
  9. __title = 'Login failed · ' + appTitle
  10. // HM49: component rules keep the existing selectors and shared theme variables.
  11. Style {
  12. 'a#home' {
  13. display = 'inline-block'
  14. padding = '.7rem 0'
  15. margin = '-.7rem 0'
  16. }
  17. }
  18. View {
  19. loginFailed {
  20. h1 { id = "loginfailed" "Login failed" }
  21. p { id = "error" class = "message" why }
  22. p { a { id = "home" href = mainHref "back to tracker" } }
  23. }
  24. }

Branches

Latest commits

  • e5c9b659Pack retained search IDs into UTF-8 bytesmre
  • 62a5f6c7HM67 brief, HM66 mergedmre
  • b32b8440Merge hm66-catalogindex: packed catalog indexmre
  • 2db0f7adReport HM66 heap measurements and validationmre
  • 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
  • 71134e21HM66 briefmre
  • ed4cbab2status timemre
  • e982c26dlog: HM65 mergedmre
  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre
  • 07a5c883HM65 report measured field projection and complete validationmre
  • 0eab858fRead only catalog date fields during the episode boot scanmre
  • d3179273log: HM65 hl:heap vendoringmre
  • cb78a1a0HM65 report missing heap diagnostic package with repromre
  • 89606a5cHM65 briefmre
  • 096ce0d4log: DP69 live on day48mre
  • b3d8a80bDP69 brief, RV48 mergedmre
  • ce6d7d32Merge rv48: Hybriel day48mre
  • 3da2ea86RV48: report day48 cold starts, gates and cleanupmre
  • 8d9ecdfeRV48: re-vendor Hybriel set day48 (source b6a8f429, bin 660a9524)mre
  • 4a802ae7status: RV48 runningmre