- Publicity: Public Only All
bootstrap-procs.tcl
bootstrap procs: provide some (initial) support for bootstrap library
This file defines the following Objects and Classes: ::xowiki::BootstrapNavbarDropzone, ::xo::Table::BootstrapTableRenderer::AnchorField, ::xowiki::BootstrapNavbarDropzone, ::xo::Table::BootstrapTableRenderer::AnchorField
- Location:
- packages/xowiki/tcl/bootstrap-procs.tcl
- Created:
- 2014-04-14
- Authors:
- Günter Ernst
- Gustaf Neumann
- CVS Identification:
$Id: bootstrap-procs.tcl,v 1.11.2.36 2023/11/21 13:30:51 antoniop Exp $
Procedures in this file
- Class ::xo::Table::BootstrapTableRenderer::AnchorField (public)
- Class ::xowiki::BootstrapNavbarDropzone (public)
- xowiki::BootstrapNavbar instproc render (public)
- xowiki::BootstrapNavbarDropdownMenu instproc render (public)
- xowiki::BootstrapNavbarDropdownMenuItem instproc render (public)
- xowiki::BootstrapNavbarDropzone instproc render (public)
- xowiki::bootstrap::card (public)
- xowiki::bootstrap::icon (public)
- xowiki::bootstrap::modal_dialog (public)
- xowiki::bootstrap::modal_dialog_popup_button (public)
Detailed information
Class ::xo::Table::BootstrapTableRenderer::AnchorField (public)
::xotcl::Class ::xo::Table::BootstrapTableRenderer::AnchorField
In addition to the standard TableWidget's AnchorField, we also allow the attributes
- onclick
- target
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Class ::xowiki::BootstrapNavbarDropzone (public)
::xo::tdom::Class ::xowiki::BootstrapNavbarDropzone [ -href href ] \ [ -label label ] [ -file_name_prefix file_name_prefix ] \ [ -disposition disposition ]
Dropzone widget for drag and drop of files, e.g. in the menubar. The widget provides added support for updating the current page with feedback of the dropped files.
- Switches:
- -href
(optional)- URL for POST request
- -label
(optional)- Text to be displayed at the place where files are dropped to
- -file_name_prefix
(optional)- prefix for files being uploaded (used e.g. by the online exam).
- -disposition
(optional)- define, what happens after the file was uploaded, e.g. whether the content has to be transformed, stored and displayed later.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::BootstrapNavbar instproc render (public)
<instance of xowiki::BootstrapNavbar> render
http://getbootstrap.com/components/#navbar
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_folder_with_page, create_workflow_with_instance
xowiki::BootstrapNavbarDropdownMenu instproc render (public)
<instance of xowiki::BootstrapNavbarDropdownMenu> render
doku
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_folder_with_page, create_workflow_with_instance
xowiki::BootstrapNavbarDropdownMenuItem instproc render (public)
<instance of xowiki::BootstrapNavbarDropdownMenuItem> render
doku
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_folder_with_page, create_workflow_with_instance
xowiki::BootstrapNavbarDropzone instproc render (public)
<instance of xowiki::BootstrapNavbarDropzone> render
doku
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- create_folder_with_page, create_workflow_with_instance
xowiki::bootstrap::card (public)
xowiki::bootstrap::card -title title -body body [ -CSSclass CSSclass ]
Render a Bootstrap Card.
- Switches:
- -title
(required)- -body
(required)- -CSSclass
(optional)- Returns:
- HTML
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::bootstrap::icon (public)
xowiki::bootstrap::icon -name name [ -style style ] \ [ -CSSclass CSSclass ]
Render a Bootstrap Icon.
- Switches:
- -name
(required)- -style
(optional)- -CSSclass
(optional)- Returns:
- HTML
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::bootstrap::modal_dialog (public)
xowiki::bootstrap::modal_dialog -id id -title title \ [ -subtitle subtitle ] -body body
Generic modal dialog wrapper.
- Switches:
- -id
(required)- -title
(required)- HTML markup for the modal title (can contain tags)
- -subtitle
(optional)- HTML markup for the modal subtitle (can contain tags)
- -body
(required)- HTML markup for the modal body (can contain tags)
- Returns:
- HTML markup
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
xowiki::bootstrap::modal_dialog_popup_button (public)
xowiki::bootstrap::modal_dialog_popup_button -target target \ -label label [ -title title ] [ -CSSclass CSSclass ]
Generic modal dialog wrapper.
- Switches:
- -target
(required)- ID of the target modal dialog
- -label
(required)- HTML markup for the modal popup label (can contain tags)
- -title
(optional)- title for the anchor (help popup), plain text
- -CSSclass
(optional)- Returns:
- HTML markup
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.