• Publicity: Public Only All

bootstrap-procs.tcl

bootstrap procs: provide some (initial) support for bootstrap library

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.16 2024/10/27 18:23:48 gustafn Exp $

Procedures in this file

Detailed information

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):
%3 Class ::xowf::test_item::Answer_manager Class ::xowf::test_item::Answer_manager (public) xowiki::bootstrap::card xowiki::bootstrap::card Class ::xowf::test_item::Answer_manager->xowiki::bootstrap::card Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) Class ::xowf::test_item::Question_manager->xowiki::bootstrap::card xowf::test_item::Answer_manager instproc answers_panel xowf::test_item::Answer_manager instproc answers_panel (public) xowf::test_item::Answer_manager instproc answers_panel->xowiki::bootstrap::card xowf::test_item::Answer_manager instproc waiting_room_message xowf::test_item::Answer_manager instproc waiting_room_message (public) xowf::test_item::Answer_manager instproc waiting_room_message->xowiki::bootstrap::card xowf::test_item::Question_manager instproc hint_box xowf::test_item::Question_manager instproc hint_box (protected) xowf::test_item::Question_manager instproc hint_box->xowiki::bootstrap::card

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):
%3 Class ::xowf::test_item::Answer_manager Class ::xowf::test_item::Answer_manager (public) xowiki::bootstrap::icon xowiki::bootstrap::icon Class ::xowf::test_item::Answer_manager->xowiki::bootstrap::icon Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) Class ::xowf::test_item::Question_manager->xowiki::bootstrap::icon xowf::test_item::Answer_manager instproc render_answers xowf::test_item::Answer_manager instproc render_answers (public) xowf::test_item::Answer_manager instproc render_answers->xowiki::bootstrap::icon xowf::test_item::Answer_manager instproc render_print_button xowf::test_item::Answer_manager instproc render_print_button (protected) xowf::test_item::Answer_manager instproc render_print_button->xowiki::bootstrap::icon xowf::test_item::Question_manager instproc aggregated_form xowf::test_item::Question_manager instproc aggregated_form (public) xowf::test_item::Question_manager instproc aggregated_form->xowiki::bootstrap::icon

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):
%3 Class ::xowf::test_item::Answer_manager Class ::xowf::test_item::Answer_manager (public) xowiki::bootstrap::modal_dialog xowiki::bootstrap::modal_dialog Class ::xowf::test_item::Answer_manager->xowiki::bootstrap::modal_dialog Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) Class ::xowf::test_item::Question_manager->xowiki::bootstrap::modal_dialog xowf::test_item::Answer_manager instproc grading_dialog_setup xowf::test_item::Answer_manager instproc grading_dialog_setup (public) xowf::test_item::Answer_manager instproc grading_dialog_setup->xowiki::bootstrap::modal_dialog xowf::test_item::Question_manager instproc exam_configuration_popup xowf::test_item::Question_manager instproc exam_configuration_popup (public) xowf::test_item::Question_manager instproc exam_configuration_popup->xowiki::bootstrap::modal_dialog security::csp::require security::csp::require (public) xowiki::bootstrap::modal_dialog->security::csp::require

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):
%3 Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) xowiki::bootstrap::modal_dialog_popup_button xowiki::bootstrap::modal_dialog_popup_button Class ::xowf::test_item::Question_manager->xowiki::bootstrap::modal_dialog_popup_button xowf::test_item::Question_manager instproc exam_configuration_popup xowf::test_item::Question_manager instproc exam_configuration_popup (public) xowf::test_item::Question_manager instproc exam_configuration_popup->xowiki::bootstrap::modal_dialog_popup_button

Testcases:
No testcase defined.
[ show source ]