[BUGFIX] Add button to lock install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Common / LoginForm.html
1 {namespace i=TYPO3\CMS\Install\ViewHelpers}
2
3 <div class="container">
4 <div class="page-header">
5 <h1 class="logo-pageheader"><img src="../Resources/Public/Images/typo3_orange.svg" width="130" class="logo" /> Site: {siteName} <small>Login to TYPO3 {typo3Version} Install Tool</small></h1>
6 </div>
7 <div class="row">
8
9 </div>
10 <div id="t3-install-box-body">
11 <h3></h3>
12
13 <form method="post" class="form-inline" id="t3-install-form-login">
14 <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
15 <div class="form-group">
16 <label for="t3-install-form-password">Password</label>
17 <input id="t3-install-form-password" type="password" name="install[values][password]" class="t3-install-form-input-text form-control" autofocus="autofocus" />
18 </div>
19 <f:render partial="Action/Common/SubmitButton" arguments="{name:'login', text:'Login', className:'btn-success'}"/>
20 <a href="Install.php?install[action]=logout&install[context]={context}&install[controller]=tool" class="btn btn-danger pull-right"><i class="fa fa-lock"></i> Lock Install Tool again</a>
21
22 </form>
23 </div>
24 <div id="t3-install-box-border-bottom">&nbsp;</div>
25 <f:if condition="{messages}">
26 <f:for each="{messages}" as="message">
27 <f:render partial="Action/Common/StatusMessage" arguments="{message: message}" />
28 </f:for>
29 </f:if>
30
31 <div class="panel panel-info">
32 <div class="panel-heading"><h3 class="panel-title">Information</h3></div>
33 <div class="panel-body">
34 By default the install tool password is the one specified during the installation.
35 </div>
36 </div>
37 <div class="panel panel-warning">
38 <div class="panel-heading"><h3 class="panel-title">Important</h3></div>
39 <div class="panel-body">
40 If you don't know the current password, you can set a new one by setting the value of
41 $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] in typo3conf/LocalConfiguration.php to
42 the hash value of the password you desire, which will be shown if you enter the desired password
43 in this form and submit it.
44 <br /><br />
45 This password gives an attacker full control over your instance if cracked. It should be strong
46 (include lower and upper case characters, special characters and numbers) and at least eight characters long.
47 </div>
48 </div>
49 </div>