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

<div class="container">
	<div class="page-header">
		<h1 class="logo-pageheader"><img src="{f:uri.resource(path: 'Images/typo3_orange.svg')}" width="130" class="logo" /> Site: {siteName} <small>Login to TYPO3 Install Tool</small></h1>
	</div>
	<div class="row">

	</div>
	<div id="t3-install-box-body">
		<h3></h3>

		<form method="post" class="form-inline" id="t3-install-form-login">
			<f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
			<div class="form-group">
				<label for="t3-install-form-password">Password</label>
				<input id="t3-install-form-password" type="password" name="install[values][password]" class="t3-install-form-input-text form-control" autofocus="autofocus" />
			</div>
			<f:render partial="Action/Common/SubmitButton" arguments="{name:'login', text:'Login', className:'btn-success'}"/>
			<a href="{i:uri.action(action: 'logout')}" class="btn btn-danger pull-right"><i class="fa fa-lock"></i> Lock Install Tool again</a>

		</form>
	</div>
	<div id="t3-install-box-border-bottom">&nbsp;</div>
	<f:if condition="{messages}">
		<f:for each="{messages}" as="message">
			<f:render partial="Action/Common/StatusMessage" arguments="{message: message}" />
		</f:for>
	</f:if>

	<div class="panel panel-info">
		<div class="panel-heading"><h3 class="panel-title">Information</h3></div>
		<div class="panel-body">
			By default the Install Tool password is the one specified during the installation.
		</div>
	</div>
	<div class="panel panel-warning">
		<div class="panel-heading"><h3 class="panel-title">Important</h3></div>
		<div class="panel-body">
			If you don't know the current password, you can set a new one by setting the value of
			<code>$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']</code> in <code>typo3conf/LocalConfiguration.php</code> to
			the hash value of the password you desire, which will be shown if you enter the desired password
			in this form and submit it.
			<br /><br />
			This password gives an attacker full control over your instance if cracked. It should be strong
			(include lower and upper case characters, special characters and numbers) and at least eight characters long.
		</div>
	</div>
</div>
