Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lutece
lutece-form-plugin-forms
Commits
61c106b1
Commit
61c106b1
authored
Oct 28, 2021
by
HOHL
Browse files
FORMS-693 : [BO] multiview improvements
parent
8b788ffe
Changes
6
Hide whitespace changes
Inline
Side-by-side
webapp/WEB-INF/templates/admin/plugins/forms/multiview/filter/searched_text_filter.html
View file @
61c106b1
<
#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-to
o
gle="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-to
g
gle="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
>
...
...
webapp/WEB-INF/templates/admin/plugins/forms/multiview/form_filter.html
View file @
61c106b1
<
#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
webapp/WEB-INF/templates/admin/plugins/forms/multiview/forms_multiview.html
View file @
61c106b1
<
@
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}
...
...
webapp/WEB-INF/templates/admin/plugins/forms/multiview/includes/include_manage_multiview_forms_header.html
View file @
61c106b1
<
@
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=
'
s
m'
/>
<
@
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=
'm
d
'
/>
</
@
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
webapp/WEB-INF/templates/admin/plugins/forms/multiview/includes/include_manage_multiview_geojson_popup.html
View file @
61c106b1
<
@
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>
webapp/WEB-INF/templates/admin/plugins/forms/multiview/panel/multiview_form_panel_template.html
View file @
61c106b1
<
@
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment