Commit 61c106b1 authored by HOHL's avatar HOHL
Browse files

FORMS-693 : [BO] multiview improvements

parent 8b788ffe
<#if searched_text??><#assign previous_searched_text=searched_text><#else><#assign previous_searched_text=''></#if>
<@formGroup formStyle='inline' groupStyle='addons' labelClass='sr-only' id='search-text' helpKey='<i class="fas fa-question-circle" data-toogle="tooltip" data-bs-toggle="tooltip" title="#i18n{forms.multiviewForms.labelFilter.searchText.tooltip}"></i>' labelKey='#i18n{forms.multiviewForms.labelFilter.searchText}' labelFor='searched_text' labelKey='#i18n{forms.multiviewForms.labelFilter.searchText}'>
<@formGroup formStyle='inline' groupStyle='addons' labelClass='sr-only' id='search-text' helpKey='<i class="fas fa-question-circle" data-toggle="tooltip" data-bs-html="true" data-bs-toggle="tooltip" title="#i18n{forms.multiviewForms.labelFilter.searchText.tooltip}"></i>' labelKey='#i18n{forms.multiviewForms.labelFilter.searchText}' labelFor='searched_text' labelKey='#i18n{forms.multiviewForms.labelFilter.searchText}'>
<@inputGroup>
<@input name='searched_text' id='searched_text' value=previous_searched_text placeHolder='#i18n{forms.multiviewForms.labelFilter.searchText}' />
<@inputGroupItem>
......
<#if filter_list?has_content>
<#assign params=''>
<#if filter_name != 'search_form'><#assign params='onchange="this.form.submit()"'></#if>
<@formGroup formStyle='inline' labelFor=filter_name labelKey=''>
<@select name=filter_name id=filter_name default_value='${filter_list_value!-1}' items=filter_list params=params />
<@formGroup formStyle='inline' labelClass='sr-only' class='forms-filter' labelFor=filter_name labelKey='${filter_label!}'>
<@select name=filter_name id=filter_name default_value='${filter_list_value!-1}' items=filter_list params=params />
</@formGroup>
</#if>
\ No newline at end of file
<@row>
<@columns>
<@box>
<@boxHeader id='multiviewFormsHeader' title='#i18n{forms.multiviewForms.boxTitle}' />
<@boxHeader id='multiviewFormsHeader' title='#i18n{forms.multiviewForms.boxTitle}' skipHeader=true />
<@boxBody>
<@tform action='jsp/admin/plugins/forms/MultiviewForms.jsp' id='searchForm' type='inline'>
<#include "includes/include_manage_multiview_forms_header.html">
</@tform>
<@tabs class='mt-3'>
<@tabList>
<#list form_panel_list as form_panel>
<#if form_panel.template??>
${form_panel.template}
</#if>
</#list>
</@tabList>
</@tabs>
<#if table_template?has_content>
<@div id="multi-form-list">
${table_template}
......
<@input type='hidden' name='current_selected_panel' value='${current_selected_panel!""}' />
<#if form_filter_list?has_content>
<#list form_filter_list as form_filter>
${form_filter.template!''}
</#list>
</#if>
<#if multiviewExportAction?? >
<@formGroup formStyle='inline' labelFor='format_export' labelKey='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' hideLabel=['all']>
<@formGroup formStyle='inline' labelFor='format_export' labelKey='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' hideLabel=['all'] groupStyle='addons'>
<@inputGroup>
<@select name='format_export' id='format_export' default_value='' items=format_export_list title='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' disabled=!table_template?has_content size='sm' />
<@select name='format_export' id='format_export' default_value='' items=format_export_list title='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' disabled=!table_template?has_content />
<@inputGroupItem>
<@button type='submit' id='action_doExportResponses' name='action_doExportResponses' title='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' hideTitle=['all'] disabled=!table_template?has_content buttonIcon='download' size='sm' />
<@button type='submit' id='action_doExportResponses' name='action_doExportResponses' title='#i18n{forms.adminFeature.multiviewForms.export.buttonName}' hideTitle=['all'] disabled=!table_template?has_content buttonIcon='download' />
</@inputGroupItem>
</@inputGroup>
</@formGroup>
</#if>
<#if multiviewConfigAction?? >
<@formGroup formStyle='inline' labelFor='config_multiview'>
<@aButton name='btn_multiview_config' id='btn_multiview_config' href='${multiviewConfigAction.url!}' params='' title='${multiviewConfigAction.name}' hideTitle=['all'] buttonIcon='${multiviewConfigAction.iconUrl}' size='sm' />
<@aButton name='btn_multiview_config' id='btn_multiview_config' class='ml-1 ms-1' href='${multiviewConfigAction.url!}' params='' title='${multiviewConfigAction.name}' hideTitle=['all'] buttonIcon='${multiviewConfigAction.iconUrl}' size='md' />
</@formGroup>
</#if>
<@tabs params='style="width:100%;margin-top:15px;"'>
<@tabList>
<#list form_panel_list as form_panel>
<#if form_panel.template??>
${form_panel.template}
</#if>
</#list>
</@tabList>
</@tabs>
</#if>
\ No newline at end of file
<@link href='${redirect_details_base_url}&id_form_response=${form_response_line_template.idFormResponse}'>#i18n{forms.multiviewForms.map_popup_link_details}</@link>
<@table>
<tr>
<@tr>
<#list form_response_line_template.formColumnCellTemplateList as form_column_cell_template>
${form_column_cell_template}
</#list>
</tr>
</@tr>
</@table>
<@tabLink active=panel_active href='jsp/admin/plugins/forms/MultiviewForms.jsp?plugin_name=forms&selected_panel=${panel_technical_code}&change_panel=true' title='${panel_title}'><@tag color='primary'>${panel_formResponseNumber}</@tag></@tabLink>
\ No newline at end of file
<@tabLink active=panel_active href='jsp/admin/plugins/forms/MultiviewForms.jsp?plugin_name=forms&selected_panel=${panel_technical_code}&change_panel=true' title='${panel_title}'><@tag color='primary' class='ml-1 ms-1'>${panel_formResponseNumber}</@tag></@tabLink>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment