- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::BootstrapNavbarDropzone
::xowiki::BootstrapNavbarDropzone create ... \
[ -disposition (default "File") ] \
[ -file_name_prefix (default "") ] \
[ -href (default "#") ] \
[ -label (default "DropZone") ] \
[ -text (default "") ]
Defined in
Class Relations
::xo::tdom::Class create ::xowiki::BootstrapNavbarDropzone \ -superclass ::xowiki::MenuComponentMethods (to be applied on instances)
render (scripted, public)
<instance of xowiki::BootstrapNavbarDropzone> renderdoku
- Testcases:
- create_folder_with_page, create_workflow_with_instance
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 }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables