tabList.ftl

 1   <#-- 
 2   Macro: tabList
 3   
 4   Description: Generates an HTML <ul> element containing tabs, with an optional ID, style, and various other features.
 5   
 6   Parameters:
 7   - style (string, optional): the style of the tab list.
 8   - vertical (boolean, optional): whether or not the tab list is vertical.
 9   - id (string, optional): the ID of the <ul> element containing the tab list.
 10   - params (string, optional): additional parameters to add to the HTML code.
 11   - color (string, optional): the color of the tab list.
 12   
 13   -->
 14   <#macro tabList style='tabs' vertical=false id='' class='' params='' color='' deprecated...>
 15   <@deprecatedWarning args=deprecated />
 16   <#if propagateTabStyle?? ><#local style = propagateTabStyle /></#if>
 17   <ul class="nav nav-${style}<#if vertical> flex-column mb-3</#if><#if class!=''> ${class}</#if>" data-bs-toggle="tabs"<#if id!=''> id="${id}"</#if><#if params!=''> ${params}</#if> role="tablist">
 18   <#nested>
 19   </ul>
 20   </#macro>