<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<h3 class="head smaller lighter blue">${_('Domains Export Status')}</h3>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<div class="row-fluid">
	% if c.finished:
		<div class="span12">
		% if c.results and c.results['f']:
		${_('The export has been processed, ')}${h.link_to(_('Download the csv file'), url('domains-export-status', taskid=c.results['id'], d='y'))}
		% else:
			${_('The CSV export failed: %s') % c.results['global_error']}
		% endif
		</div>
	% else:
	<div class="span12">
		${h.portable_img('imgs/ajax-pager.gif', alt="")} ${_('The request is being processed.')}
	</div>
	% endif
		</div>
	</div>
	<div class="span1 hidden-phone"></div>
</div>


<%def name="headers()">\
% if not c.finished:
<meta http-equiv="refresh" content="5" />
% endif
</%def>
<%def name="title()">\
${_('Domains :: export status')}
</%def>
<%def name="heading()">\
${_('Domains :: export status')}
</%def>
<%def name="submenu()"></%def>
<%def name="localscripts()">\
<script type="text/javascript">
$(function() {
	$('.settings-popover').popover();
});
</script>
</%def>
<%inherit file="../base.html"/>
