gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0b86324a0b86324aMerge branch 'records-dp73' into mainTracker0b86324a/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

  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker
  • f5be5f18records: gitoria PR-only planTracker
  • 46a37036records: DP71 liveTracker