xowiki::BootstrapNavbarDropzone instproc render (public)
<instance of xowiki::BootstrapNavbarDropzone> render
Defined in /var/www/openacs.org/packages/xowiki/tcl/bootstrap-procs.tcl
doku
- Testcases:
- create_folder_with_page, create_workflow_with_instance
Source code: if {${:href} ni {"" "#"}} { html::li { html::form -method "post" -enctype "multipart/form-data" -style "display: none;" -id "js-upload-form" { html::div -class "form-inline" { html::div -class "form-group" { html::input -type "file" -name {files[]} -id "js-upload-files" -data-file_name_prefix ${:file_name_prefix} -data-url ${:href} -data-disposition ${:disposition} -multiple multiple } html::button -type "submit" -class "btn btn-sm btn-primary" -id "js-upload-submit" { html::t ${:text} } ::html::CSRFToken } } html::div -class "upload-drop-zone" -id "drop-zone" { html::span {html::t ${:label}} html::div -class "progress" { html::div -style "width: 0%;" -class "progress-bar" -id dropzone-progress-bar { html::span -class "sr-only" {html::t ""} } } } } :js }XQL Not present: Generic, PostgreSQL, Oracle