gitoriaLog in with ident

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit31aac93631aac936tracker#3: no border on the header and on filled buttons; inverted buttons keep theirsmre31aac936/components/loginfailed.hl

790 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 (project.hl loginCallback, 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 '../project.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. View {
  11. loginFailed {
  12. h1 { id = "loginfailed" "Login failed" }
  13. p { id = "error" class = "message" why }
  14. p { a { id = "home" href = mainHref "back to tracker" } }
  15. }
  16. }

Branches

Latest commits

  • 31aac936tracker#3: no border on the header and on filled buttons; inverted buttons keep theirsmre
  • 2ad9d29ctracker#1: login exactly like calendar (identity selector in the header, empty homepage)mre
  • 3691e176tracker#1: empty tracker with the ident login (state of 2026-09-27)mre