{namespace i=TYPO3\CMS\Install\ViewHelpers}

<f:layout name="Step" />

<f:section name="Content">
	<f:render partial="Action/Step/StepCounter.html" arguments="{steps: steps, currentStep: currentStep}" />

	<h3>Installation done!</h3>

	<p>
		The only thing remaining is to set some configuration values based on your
		system environment, which happens automatically in this step.
		Then you will be redirected to your TYPO3 CMS backend, ready for you to log in
		with the user you just created.
	</p>

	<p>&nbsp;</p>
	<f:if condition="!{composerMode}">
		<div class="alert alert-notice">
			<h4>Want a pre-configured site?</h4>
			<p>
				You now have an empty installation. If you want a pre-configured site, there are
				distributions on the web which can be installed via the Extension Manager.
				If you check the option below, the list of distributions will be fetched and you will
				be able to choose one directly.
				<strong>Please note: This may take some time after login.</strong>
			</p>
		</div>
	</f:if>

	<form method="post">
		<f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
		<input type="hidden" value="execute" name="install[set]" />
		<div class="form-group">
			<f:if condition="!{composerMode}">
				<div class="radio">
					<label for="load-distributions">
						<input type="radio" id="load-distributions" name="install[values][sitesetup]" value="loaddistribution" />
						Yes, download the list of distributions.
					</label>
				</div>
			</f:if>
			<div class="radio">
				<label for="create-site">
					<input type="radio" id="create-site" name="install[values][sitesetup]" value="createsite" />
					Yes, create a base empty page to start from.
				</label>
			</div>
			<div class="radio">
				<label for="do-nothing">
					<input type="radio" id="do-nothing" name="install[values][sitesetup]" value="donothing" checked="checked" />
					Do nothing, just get me to the Backend.
				</label>
			</div>
		</div>
		<button class="btn btn-success" type="submit">
			Open the TYPO3 Backend
		</button>
	</form>
</f:section>
