gitoria

notes

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit996768bf996768bf|||PR WIP sequence note creation before provisional-id adoptionAtlas996768bf/components/loginfailed.hl

920 B

  1. // components/loginfailed.hl — `/login/failed`: WHY A LOGIN DID NOT WORK (notes#1). The login button's return (lib/api.hl loginCallback, a function route: it must answer with a
  2. // redirect and a cookie) parks the reason in the session (`session.data.loginError`) and redirects here.
  3. parent './main.hl'
  4. import ContentFirst from '../theme/shell/content-first.hl'
  5. import { siteName } from '../project.hl'
  6. import { messageLook } from '../lib/looks.hl'
  7. session = null
  8. why = session != null && session.data != null && session.data.loginError != null ? session.data.loginError : 'the login did not finish — try again'
  9. mainHref = '/'
  10. __title = 'Login failed · ' + siteName
  11. Style {
  12. pMessage = messageLook + { }
  13. }
  14. View {
  15. ContentFirst {
  16. main {
  17. h1 { id = "loginfailed" "Login failed" }
  18. p { id = "error" Style.pMessage why }
  19. p { class = "links" a { id = "home" href = mainHref "back to notes" } }
  20. }
  21. }
  22. }

Branches

Latest commits

  • 996768bf|||PR WIP sequence note creation before provisional-id adoptionAtlas
  • c49ce093|||PR WIP remove notes polling and use framework reachabilityAtlas
  • c028ac61Merge branch 'notes-pr7-kunibert' into mainAtlas
  • 9cc92bdfKeep conflict and history fixes while awaiting queued save supportAtlas
  • a5c27cb6Allow real edits back to earlier text and honor configured identAtlas
  • 15c46ced|||PR Preserve note edits, conflict bases and visible historyAtlas
  • 4c6e0bf6Merge branch 'notes13-day61' into mainAtlas
  • eb51864f|||PR Back/Forward via navigate, server drafts, Hybriel day61Atlas
  • 3537cf7eMerge branch 'vendor-day59' into mainAtlas
  • c13d188b|||PR Vendor Hybriel day59Atlas
  • 24c95433Merge branch 'notes17-ghost-note' into mainAtlas
  • ae1075b2Preserve rejected drafts during note ID adoptionAtlas
  • 383cce23|||PR Prevent saved local edits from restoring deleted notesAtlas
  • 99ca1cf6Merge branch 'vendor-day56' into mainAtlas
  • 649cef37|||PR Vendor Hybriel day56Atlas
  • aadd0abcMerge branch 'hl-standard-2' into mainAtlas
  • 52ffac9f|||PR Keyboard and reload checks for the notes gate (HL-STANDARD F21, F5)Atlas
  • 617ee8c0Merge branch 'hl-standard' into mainAtlas
  • 452458ee|||PR Type the function parameters of notes' own .hl files (HL-STANDARD L10)Atlas
  • 23758cd6Re-vendor complete Hybriel plugins and runtime to day44mre