<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{menus.manage_custom_menus.pageTitle}'> <@alert color='warning' title='#i18n{portal.system.manage_caches.cautionTitle}' iconTitle='exclamation-triangle'> #i18n{menus.manage_custom_menus.warning.pageCacheService} <@messages errors=errors /> <@messages infos=infos /> <@h class='row mt-5'>#i18n{menus.manage_custom_menus.title.nativeMenu} <@table headBody=true> <@tr> <@th>#i18n{menus.manage_custom_menus.columnName} <@th> #i18n{menus.manage_custom_menus.columnType} <@th> #i18n{menus.manage_custom_menus.columnBookmark} <@th>#i18n{menus.manage_custom_menus.columnDescription} <@th>#i18n{menus.manage_custom_menus.columnActions} <@tableHeadBodySeparator /> <@tr> <@td>#i18n{menus.manage_custom_menus.constant.name.menuMain} <@td>#i18n{menus.manage_custom_menus.constant.type.nativeMenu} <@td>#i18n{menus.manage_custom_menus.constant.bookmark.menuMain} <@td>#i18n{menus.manage_custom_menus.constant.description.menuMain} <@td> <@tform method='post' action='jsp/admin/plugins/menus/ManageCustomMenus.jsp?action=doModifyNativeMenuSettings' id='form-depth-main'> <@input type='hidden' name='menu_type' value='menuMain' /> <@select name='depth_value' default_value='${depth_menu_main!"1"}' items=depth_options_main params="onchange='this.form.submit();'" /> <@tr> <@td>#i18n{menus.manage_custom_menus.constant.name.menuTree} <@td>#i18n{menus.manage_custom_menus.constant.type.nativeMenu} <@td>#i18n{menus.manage_custom_menus.constant.bookmark.menuTree} <@td>#i18n{menus.manage_custom_menus.constant.description.menuTree} <@td> <@tform method='post' action='jsp/admin/plugins/menus/ManageCustomMenus.jsp?action=doModifyNativeMenuSettings' id='form-depth-tree'> <@input type='hidden' name='menu_type' value='menuTree' /> <@select name='depth_value' default_value='${depth_menu_tree!"0"}' items=depth_options_tree params="onchange='this.form.submit();'" /> <@tr> <@td>#i18n{menus.manage_custom_menus.constant.name.menuTreeAllPages} <@td>#i18n{menus.manage_custom_menus.constant.type.nativeMenu} <@td>#i18n{menus.manage_custom_menus.constant.bookmark.menuTreeAllPages} <@td>#i18n{menus.manage_custom_menus.constant.description.menuTreeAllPages} <@td> <@tform method='post' action='jsp/admin/plugins/menus/ManageCustomMenus.jsp?action=doModifyNativeMenuSettings' id='form-depth-all-pages'> <@input type='hidden' name='menu_type' value='menuTreeAllPages' /> <@select name='depth_value' default_value='${depth_menu_tree_all_pages!"2"}' items=depth_options_tree params="onchange='this.form.submit();'" /> <@div class='row mt-5'> <@div class='col-9'> <@h class='row mt-3'>#i18n{menus.manage_custom_menus.title.customMenu} <@div class='col-3 text-end'> <@offcanvas size='50' targetUrl='jsp/admin/plugins/menus/ManageCustomMenus.jsp?view=createCustomMenu' targetElement='#create_custom_menu' redirectForm=false id='custom-menu-create' title='#i18n{menus.manage_custom_menus.buttonCreateMenu}' position='end' btnTitle='#i18n{menus.manage_custom_menus.buttonCreateMenu}' btnIcon='plus' /> <@paginationAdmin paginator=paginator combo=1 /> <@table headBody=true> <@tr> <@th>#i18n{menus.manage_custom_menus.columnName} <@th> #i18n{menus.manage_custom_menus.columnType} <@th> #i18n{menus.manage_custom_menus.columnBookmark} <@th>#i18n{menus.manage_custom_menus.columnDescription} <@th>#i18n{menus.manage_custom_menus.columnActions} <@tableHeadBodySeparator /> <#if custom_menus_list??> <#list custom_menus_list as menu> <@tr> <@td>${menu.name} <@td>${menu.type} <@td>${menu.bookmark!''} <@td>${menu.description} <@td> <@offcanvas size='50' targetUrl='jsp/admin/plugins/menus/ManageCustomMenus.jsp?view=modifyCustomMenu&id=${menu.id}' targetElement='#modify_custom_menu' redirectForm=false id='custom-menu-modify-${menu.id}' title='#i18n{menus.manage_custom_menus.buttonModifyMenu}' position='end' btnIcon='edit' btnColor='primary' hideTitle=['all'] btnClass='btn-sm' /> <@aButton href='jsp/admin/plugins/menus/ManageCustomMenus.jsp?view=removeCustomMenu&id=${menu.id}' buttonIcon='trash' color='danger' hideTitle=['all'] size='sm' /> <@paginationAdmin paginator=paginator combo=1 />