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
- 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
- 3bcb7039Status/log: DP71 in progressTracker
- 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
- 783957c2Merge branch 'sr1-search' into mainTracker
- 792b9652README: search results come from the routeTracker
- fd8570b1|||PR search: one server exchange per keystrokeTracker
- e8f5cbcaLog: SR1 result, SR1bTracker
- 8ad275a4Log/status: tracker 68, SR1Tracker
- f5a06a0fLog: gitoria push setup, SR1Tracker
- d6b109baMission SR1mre
- 608b7558Log: FF1 merged via PR #1mre
- 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
- c934361a|||PR tests: gates fail fast when the app exits during startmre