gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit85b5654185b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre85b56541/components/showcase/date-picker.hl

1.1 KB

  1. // components/showcase/date-picker.hl — `/components/date-picker`: Date picker, themed (the component is the verbatim copy in components/date-picker/, the theme's rules in
  2. // theme/theme.hl section 3 take its decorative frames away).
  3. parent '../main.hl'
  4. import SiteHeader from '../site-header.hl'
  5. import SiteSidebar from '../site-sidebar.hl'
  6. import ContentFirst from '../../theme/shell/content-first.hl'
  7. import TheDatePicker from '../date-picker/date-picker.hl'
  8. __title = 'Date picker · WorldAPI layouts'
  9. View {
  10. showDatePicker {
  11. SiteHeader { current = "/components/date-picker" }
  12. ContentFirst {
  13. SiteSidebar { current = "/components/date-picker" }
  14. main {
  15. h1 { "Date picker" }
  16. p { class = "muted" "A date field: click it, pick a day, or type YYYY-MM-DD. The field has no frame, the popup is a raised surface." }
  17. form { method = "get" action = "/components/date-picker"
  18. p { "Arrival and departure" }
  19. TheDatePicker { names = "arrival,departure" }
  20. p { button { type = "submit" "Send" } }
  21. }
  22. p { class = "readme" a { href = "/components/date-picker/README.md" "README of the component (how an app uses it)" } }
  23. }
  24. }
  25. }
  26. }

Branches

Latest commits

  • 85b56541layouts mission 002 3/3: same-output tests, letcount, shots ports, docs, reportmre
  • 0f325d3blayouts mission 002 2/3: code rules — styles.hl -> components/styles.hl, the one never-reassigned let dropped; gate 73/0, same outputmre
  • a3e74c8alayouts mission 002 1/3: components re-copied byte-verbatim from components.hybriel 3f93d71 by tools/sync-components.sh (+ --check, components/SOURCE); gate 73/0, check-theme 0mre
  • 80ce6ba9report 001 (mission 075)mre
  • 5c6e338flayouts.worldapi.org in Hybriel: WorldAPI theme (tokens, borderless elements, themed components.hybriel components), shells (header, main/user menu, sidebar overlay, content-first, list-first, three-pane), showcase, check-theme helper; gate 73/0 (mission 075)mre