<xf:title>{{ phrase('import_data:') }} {$title}</xf:title>

<xf:form action="{{ link('import/run') }}" class="block">
	<div class="block-container">
		<h2 class="block-tabHeader tabs" data-xf-init="tabs" role="tablist">
			<a class="tabs-tab is-active" role="tab" tabindex="0" aria-controls="import-web">{{ phrase('browser_importer') }}</a>
			<a class="tabs-tab" role="tab" tabindex="0" aria-controls="import-cli">{{ phrase('cli_importer') }}</a>
		</h2>
		<ul class="tabPanes">
			<li class="is-active" role="tabpanel" id="import-web">
				<div class="block-body block-row">
					{{ phrase('youre_ready_start_import_will_run_browser_window_open') }}
				</div>
				<xf:submitrow submit="{{ phrase('start_import') }}" rowtype="simple" />
			</li>
			<li role="tabpanel" id="import-cli">
				<div class="block-body block-row">
					{{ phrase('you_may_import_via_command_line_recommended_large_imports:') }}
					<pre style="margin: 1em 2em">php cmd.php xf:import</pre>
					{{ phrase('once_this_command_completes_need_refresh_this_page') }}<br />
					<br />
					{{ phrase('there_additional_options_available_via_command_line') }}
				</div>
			</li>
		</ul>
	</div>
</xf:form>