gitoria

components

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit46fefaa746fefaa7Count the icons entry in the offline home-page checkmre46fefaa7/components/file-upload/demo.hl

730 B

  1. // demo.hl — `/file-upload`: the upload on a page. WHERE THE FILE GOES IS THE APP'S DECISION: the component sends the file through
  2. // `emit server saveFile(file)`; this site keeps it for one day (lib/uploads.hl storeUpload).
  3. parent '../main.hl'
  4. import FileUpload from './file-upload.hl'
  5. import { storeUpload } from '../../lib/uploads.hl'
  6. __title = 'File upload · Hybriel components'
  7. View {
  8. fileUploadDemo {
  9. h1 { "File upload" }
  10. p { class = "muted" "Drop a file on the box, or choose one: its name, size and progress show, then it is listed as uploaded." }
  11. FileUpload { }
  12. p { a { id = "readme" href = "/file-upload/README.md" "README (how to use it)" } }
  13. }
  14. }
  15. on server saveFile(file) { return storeUpload(file) }

Branches

Latest commits

  • 46fefaa7Count the icons entry in the offline home-page checkmre
  • c7e14cabRecord IC28 rerun and unchanged-main baseline comparisonmre
  • 5e090ffdRecord IC28 review evidence and gate resultsmre
  • adfe2c4dAdd shuffle, repeat and repeatOne shared iconsmre
  • c96709c8media-player: skip = false and repeat = 'one' options (jukebox#19)mre
  • bd4aa808Record VL24 deployment and live verificationmre
  • e5b98ecfRun virtual-list gate before deploymentmre
  • 2e9b4a8evirtual-list: into main, with centerId and scrollTop/onScroll (jukebox#20)mre
  • 69954249Align all plugin sources with Hybriel day38bmre
  • f740f666Re-vendor components to Hybriel set day38bmre
  • 8176eb14Record CS23b deployment and live verificationmre
  • 84e3ddaaRemove blank line before pagination Style closing bracemre
  • a92298ddRecord exact CSS and same-date proof after specificity reviewmre
  • c71a0abePreserve consumer theme specificity with nested tag rulesmre
  • 64a2bc27Document CS23b style formatting proof and review statusmre
  • a72b57cficons: nest Style rules in the language's formmre
  • 927616e2pagination: nest Style rules in the language's formmre
  • aab8ad29code-editor: nest Style rules in the language's formmre
  • ba30727afile-upload: nest Style rules in the language's formmre
  • 42fefa4emodal: nest Style rules in the language's formmre