xowiki::BootstrapNavbar instproc render (public)
<instance of xowiki::BootstrapNavbar> render
Defined in /var/www/openacs.org/packages/xowiki/tcl/bootstrap-procs.tcl
http://getbootstrap.com/components/#navbar
- Testcases:
- create_folder_with_page, create_workflow_with_instance
Source code: html::nav -class [template::CSS classes ${:navbarClass}] -role "navigation" -style "background-color: #f8f9fa;" { # # Render the pull down menus # html::div -class ${:containerClass} { set rightMenuEntries {} html::ul -class "nav navbar-nav px-3" { foreach entry [:children] { if {[$entry istype ::xowiki::BootstrapNavbarDropdownMenu]} { $entry render } else { lappend rightMenuEntries $entry } } } if {[llength $rightMenuEntries] > 0} { html::ul -class "nav navbar-nav [::template::CSS class navbar-right]" { foreach entry $rightMenuEntries { $entry render } } } } }XQL Not present: Generic, PostgreSQL, Oracle