2015-02-17 10:55:05 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-01-04 18:28:10 +01:00
|
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
|
2013-11-01 23:04:43 +01:00
|
|
|
<overlay>
|
2018-11-27 23:39:58 +01:00
|
|
|
<template id="importexport.import_dialog.csv" template="" lang="" group="0" version="1.9.005">
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
2023-01-16 23:31:25 +01:00
|
|
|
<et2-hbox cellpadding="0" cellspacing="0" noLang="1">
|
|
|
|
<et2-select id="delimiter" label="Delimiter" class="et2-label-fixed"
|
|
|
|
onchange="let text = widget.getParent().getWidgetById('other_delimiter'); if(widget.value =='other') {text.value ='';text.classList.remove('hide'); text.focus();} else {text.classList.add('hide');}"
|
|
|
|
noLang="1"></et2-select>
|
|
|
|
<et2-textbox id="other_delimiter" maxlength="1" class="hide"></et2-textbox>
|
|
|
|
</et2-hbox>
|
|
|
|
</row>
|
2018-11-27 23:39:58 +01:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2013-11-01 23:04:43 +01:00
|
|
|
<template id="importexport.import_dialog" template="" lang="" group="0" version="1.9.005">
|
2022-10-26 17:57:34 +02:00
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row disabled="!@message">
|
|
|
|
<html id="message" span="all" class="message"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description></et2-description>
|
2022-10-26 17:57:34 +02:00
|
|
|
</row>
|
|
|
|
<row>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description value="Application"></et2-description>
|
|
|
|
<et2-select id="appname" onchange="1"></et2-select>
|
2022-10-26 17:57:34 +02:00
|
|
|
</row>
|
|
|
|
<row>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description value="Import definition"></et2-description>
|
|
|
|
<et2-select id="definition" onchange="1"></et2-select>
|
2022-10-26 17:57:34 +02:00
|
|
|
</row>
|
|
|
|
<row>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description value="Please select file to import"></et2-description>
|
2022-10-26 17:57:34 +02:00
|
|
|
<file id="file" accept="@file_type"/>
|
|
|
|
</row>
|
|
|
|
<row disabled="!@plugin_options_template">
|
|
|
|
<template template="@plugin_options_template"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-vbox id="preview_box" span="all" class="preview">
|
2022-10-26 17:57:34 +02:00
|
|
|
<html id="preview" class="content"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-box align="center" id="buttons">
|
|
|
|
<et2-button align="center" label="OK" onclick="jQuery(this).parents('.preview').css('display','none'); return false;" noSubmit="true"></et2-button>
|
|
|
|
</et2-box>
|
|
|
|
</et2-vbox>
|
2023-12-15 23:18:09 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<et2-vbox id="progress_box" span="all" class="import_progress hideme">
|
|
|
|
<et2-description id="progress_title"></et2-description>
|
|
|
|
<et2-description id="progress_record"></et2-description>
|
|
|
|
<!--<sl-progress-bar id="progress" indeterminate="true"></sl-progress-bar>-->
|
|
|
|
<et2-box class="log">
|
|
|
|
<et2-textarea id="import_log"></et2-textarea>
|
|
|
|
</et2-box>
|
|
|
|
<et2-button label="OK" onclick="app.importexport._closeProgress"></et2-button>
|
|
|
|
</et2-vbox>
|
2013-11-01 23:04:43 +01:00
|
|
|
</row>
|
|
|
|
<row>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-hbox span="all">
|
|
|
|
<et2-button label="Import" id="import" onclick="app.importexport.import_preview" image="import"></et2-button>
|
|
|
|
<et2-button label="Cancel" id="cancel" onclick="window.close();" image="cancel"></et2-button>
|
|
|
|
<et2-checkbox align="right" label="No notifications" id="no_notifications" ></et2-checkbox>
|
|
|
|
<et2-checkbox align="right" label="Test only" id="dry-run"></et2-checkbox>
|
|
|
|
</et2-hbox>
|
2013-11-01 23:04:43 +01:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
2023-01-04 18:28:10 +01:00
|
|
|
</overlay>
|