components
All repositories: gitoria
846 B
// demo.hl — `/files-upload`: the upload for several files on a page. WHERE THE FILES GO IS THE APP'S DECISION: the component sends each// file through `emit server uploadFile(file)`; this site keeps it for one day (lib/uploads.hl storeUpload, as the one-file demo).parent '../main.hl'import FilesUpload from './files-upload.hl'import { storeUpload } from '../../lib/uploads.hl'__title = 'File upload, several files · Hybriel components'View {filesUploadDemo {h1 { "File upload, several files" }p { class = "muted" "Drop files on the box, or choose several: each gets its own row with its progress, then it is listed as uploaded. Up to 5 MB per file here." }FilesUpload { }p { a { id = "readme" href = "/files-upload/README.md" "README (how to use it)" } }}}on server uploadFile(file) { return storeUpload(file) }
Branches
Latest commits
- 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
- 6fd953e3range-picker: nest Style rules in the language's formmre
- f661951ddate-picker: nest Style rules in the language's formmre
- 363577e6media-player: nest Style rules in the language's formmre
- 0b3fd8c9comments: nest Style rules in the language's formmre
- 67e043c8plugins/web/README.md from hybriel cb9e480dmre
- 519b56e9styles.hl: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 29f63d01md-editor: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 869f49c7files-upload: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- f60dab20month-view: Style in the language's form (nested like the View, one declaration per line, bare @media)mre
- 5b3c349aRe-vendor to Hybriel set day35 (cb9e480d): plugins core and web sources, README vendoring notemre
- 3449b117components: a startup error prints its message before exit 1 (hybriel#247)mre