#include "carto_commons.html" />
<@pageContainer>
<@pageColumn>
<@pageHeader title='#i18n{carto.manage_datalayermaptemplate.title}'>
<@tform class='form-inline pull-right' name='manage_datalayermaptemplate' action='jsp/admin/plugins/carto/ManageDataLayerMapTemplates.jsp'>
<@button type='submit' name='view_createDataLayerMapTemplate' buttonIcon='plus' title='#i18n{carto.manage_datalayermaptemplate.buttonAdd}' />
@tform>
@pageHeader>
<@tabs>
<@tabsConfig tab="datalayermaptemplate" />
<@tabContent>
<@tabPanel id='basemap' active=true>
<@messages infos=infos />
<@table headBody=true>
<@tr>
<@th>#i18n{carto.manage_datalayermaptemplate.columnIdMapTemplate}@th>
<@th>#i18n{carto.manage_datalayermaptemplate.columnIdDataLayer}@th>
<@th>#i18n{carto.manage_datalayermaptemplate.columnLayerType}@th>
<@th>#i18n{portal.util.labelActions}@th>
@tr>
<@tableHeadBodySeparator />
<#list datalayermaptemplate_list as datalayermaptemplate >
<@tr>
<@td>${reflist_map_template[datalayermaptemplate.idMapTemplate?c]}@td>
<@td>${reflist_data_layer[datalayermaptemplate.idDataLayer?c]}@td>
<@td>${reflist_data_layer_type[datalayermaptemplate.layerType?c]}@td>
<@td>
<@aButton href='jsp/admin/plugins/carto/ManageDataLayerMapTemplates.jsp?view=modifyDataLayerMapTemplate&id=${datalayermaptemplate.id}' title='#i18n{portal.util.labelModify}' buttonIcon='pencil' hideTitle=['all'] />
<@aButton href='jsp/admin/plugins/carto/ManageDataLayerMapTemplates.jsp?action=confirmRemoveDataLayerMapTemplate&id=${datalayermaptemplate.id}' title='#i18n{portal.util.labelDelete}' buttonIcon='trash' hideTitle=['all'] color='danger' />
@td>
@tr>
#list>
@table>
<@paginationAdmin paginator=paginator combo=1 showcount=0 />
@tabPanel>
@tabContent>
@tabs>
@pageColumn>
@pageContainer>