<?xml version="1.0" encoding="UTF-8"?>
<?page contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winViewTestEmail"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>

<zk xmlns="http://www.zkoss.org/2005/zul">
	<window id="winViewTestEmail" border="normal"
		apply="${viewTestEmailController}" width="520px"
		contentStyle="overflow:auto" title="${c:l('viewTestEmailController.window.title')}">

		<toolbar>
			<hbox spacing="5px" style="padding:1px" align="right">
				<button id="btnFechar" height="20"
					image="/gui/img/exit.png" width="35px"
					onClick="winViewTestEmail.detach()"
					tooltiptext="${c:l('viewTestEmailController.btnFechar.tooltiptext')}" />
				<button id="btnStop" label="${c:l('viewTestEmailController.btnStop')}" visible="true" />
			</hbox>

		</toolbar>

		<vlayout height="50px">
			<label id="lblStatusInfo"
				value="${c:l('viewTestEmailController.lblStatusInfo')}" />
		</vlayout>

		<toolbar>
			<separator bar="true" />
		</toolbar>

		<tabbox id="tabboxTitle">
			<tabs>
				<tab label="${c:l('viewTestEmailController.tabTarefa')}" />
				<tab label="${c:l('viewTestEmailController.tabErros')}" />
			</tabs>
			<tabpanels>
				<tabpanel style="overflow:auto;">
					<listbox id="tarefasList"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
						multiple="true">
						<listhead sizable="true">
							<listheader id="lhIcon" width="5%" />
							<listheader id="lhTarefas" width="75%"
								label="${c:l('viewTestEmailController.tabTarefa')}" />
							<listheader id="lhStatus" width="20%"
								label="${c:l('viewTestEmailController.lhStatus')}" />
						</listhead>
					</listbox>
				</tabpanel>
				<tabpanel>
					<listbox id="errosList"
						use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
						multiple="true">
						<listhead sizable="true">
							<listheader id="lhErrors" width="100%"
								align="left" />
						</listhead>
					</listbox>
				</tabpanel>
			</tabpanels>
		</tabbox>
	</window>
</zk>
