<@pageContainer> <@pageColumn> <@pageHeader title='#i18n{mydashboard.modifyPanel.title} : ${panel.code!}'> <@aButton href='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp?view=managePanels' buttonIcon='arrow-left' title='#i18n{portal.util.labelBack}' color='light' /> <@messages infos=infos![] /> <@row> <@columns md=4> <@tform method='post' name='modify_panel' action='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp' boxed=true> <@input type='hidden' id='id' name='id' value='${panel.id?c}' /> <@messages errors=errors![] /> <@formGroup labelFor='code' labelKey='#i18n{mydashboard.modifyPanel.labelCode}' helpKey='#i18n{mydashboard.modifyPanel.labelCode.help}' mandatory=true rows=2> <@input type='text' id='code' name='code' value='${panel.code!}' mandatory=true /> <@formGroup labelFor='title' labelKey='#i18n{mydashboard.modifyPanel.labelTitle}' helpKey='#i18n{mydashboard.modifyPanel.labelTitle.help}' mandatory=true rows=2> <@input type='text' id='title' name='title' value='${panel.title!}' mandatory=true /> <@formGroup labelFor='description' labelKey='#i18n{mydashboard.modifyPanel.labelDescription}' helpKey='#i18n{mydashboard.modifyPanel.labelDescription.help}' rows=2> <@input type='text' id='description' name='description' value='${panel.description!}' /> <@formGroup labelFor='default' labelKey='#i18n{mydashboard.modifyPanel.labelDefault}' helpKey='#i18n{mydashboard.modifyPanel.labelDefault.help}' rows=2> <@checkBox orientation='switch' name='default' id='default' labelKey='#i18n{mydashboard.modifyPanel.labelDefault}' checked=panel.default!false value='true' /> <@formGroup rows=2> <@button type='submit' buttonIcon='check' name='action_modifyPanel' title='#i18n{portal.util.labelValidate}' color='primary' /> <@columns md=8> <#if list_dashboard_component?has_content> <@tform method='post' name='add_component' action='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp' boxed=true> <@input type='hidden' id='id_panel' name='id' value='${panel.id?c}' /> <@formGroup labelFor='id_component' labelKey='#i18n{mydashboard.modifyPanel.labelListDashboardComponent}' rows=2> <@inputGroup> <@select id='id_component' name='id_component' default_value='' items=list_dashboard_component /> <@button type='submit' buttonIcon='plus' name='action_addComponent' title='#i18n{mydashboard.modifyPanel.components.labelAdd}' /> <#if list_dashboard_component_associated?has_content> <@manageFeature id='components-list'> <#list list_dashboard_component_associated as component> <@manageFeatureItem> <@manageFeatureItemColumn auto=true flex=false> ${(map_dashboard_component[component.idDashboard!])!} <@manageFeatureItemColumn align='end'> <@tform type='inline' method='post' name='manage_component_${component.id?c}' action='jsp/admin/plugins/mydashboard/ManageMyDashboardPanel.jsp'> <@input type='hidden' name='id' value='${component.id?c}' /> <#if component_index != 0> <@button type='submit' name='action_moveUpComponent' buttonIcon='arrow-up' title='#i18n{mydashboard.modifyPanel.components.labelUp}' hideTitle=['all'] color='' class='me-1' /> <#if component_has_next> <@button type='submit' name='action_moveDownComponent' buttonIcon='arrow-down' title='#i18n{mydashboard.modifyPanel.components.labelDown}' hideTitle=['all'] color='' class='me-1' /> <@button type='submit' name='action_removeComponent' buttonIcon='trash' title='#i18n{portal.util.labelDelete}' hideTitle=['all'] color='danger' /> <#else> <@card> <@empty title='#i18n{mydashboard.managePanels.noComponent}' iconName='layout-off' subtitle='#i18n{mydashboard.modifyPanel.noComponent.help}' />