egroupware/importexport/templates/default/import_dialog.xet

67 lines
3.0 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!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>
<template id="importexport.import_dialog.csv" template="" lang="" group="0" version="1.9.005">
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<et2-description value="Delimiter"></et2-description>
<et2-hbox cellpadding="0" cellspacing="0" noLang="1" >
<et2-select id="delimiter" onchange="var _this = jQuery(this); var text = _this.parent().parent().find('input'); if(_this.val() =='other') {text.val('');text.show(); text.focus();} else {text.hide();}" noLang="1"></et2-select>
<et2-textbox id="other_delimiter" maxlength="1" class="hide"></et2-textbox>
</et2-hbox>
</row>
</rows>
</grid>
</template>
2013-11-01 23:04:43 +01:00
<template id="importexport.import_dialog" template="" lang="" group="0" version="1.9.005">
<grid width="100%">
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="!@message">
<html id="message" span="all" class="message"/>
<et2-description></et2-description>
</row>
<row>
<et2-description value="Application"></et2-description>
<et2-select id="appname" onchange="1"></et2-select>
</row>
<row>
<et2-description value="Import definition"></et2-description>
<et2-select id="definition" onchange="1"></et2-select>
</row>
<row>
<et2-description value="Please select file to import"></et2-description>
<file id="file" accept="@file_type"/>
</row>
<row disabled="!@plugin_options_template">
<template template="@plugin_options_template"/>
</row>
<row>
<et2-vbox id="preview_box" span="all" class="preview">
<html id="preview" class="content"/>
<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>
<et2-description></et2-description>
2013-11-01 23:04:43 +01:00
</row>
<row>
<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>
</overlay>