tracker
All repositories: gitoria
968 B
// components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK. Copied from calendar.worldapi.org's// loginfailed.hl. The login button's return (users.hl loginCallbackOf, a function route: it must answer with a// redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.parent './main.hl'import { appTitle } from '../lib/app.hl'session = nullwhy = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'mainHref = '/'__title = 'Login failed · ' + appTitle// HM49: component rules keep the existing selectors and shared theme variables.Style {'a#home' {display = 'inline-block'padding = '.7rem 0'margin = '-.7rem 0'}}View {loginFailed {h1 { id = "loginfailed" "Login failed" }p { id = "error" class = "message" why }p { a { id = "home" href = mainHref "back to tracker" } }}}
Branches
Latest commits
- 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
- e55b379dKeep shared app title independent of the route import graphmre
- 9a99659blog: hybriel#334, batch waits for day48mre
- 85fa6c9blog: CB68 result, CB69 startedmre
- 2f07c1b7log: DP68 boot gate failed, CB68mre
- 9652782dlog: HM59 merged, DP68 startedmre
- 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
- f7bfe90bMove remaining page builders into their topicsmre
- 7c3991f9log: day46 from Antonmre
- ec54fc35Move show page logic into the shows topicmre
- c1a8d074log: correct timesmre
- 5827eba9log: HM57 merged, HM59 startedmre
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre