TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,178 @@
|
||||
<html
|
||||
xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
|
||||
xmlns:backend="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||
data-namespace-typo3-fluid="true"
|
||||
>
|
||||
|
||||
<f:asset.module identifier="bootstrap"/>
|
||||
<f:asset.module identifier="@typo3/backend/login.js"/>
|
||||
|
||||
<div class="typo3-login">
|
||||
<div class="typo3-login-inner">
|
||||
<div class="typo3-login-container">
|
||||
<div class="typo3-login-wrap">
|
||||
<div class="card card-login">
|
||||
<header class="card-heading">
|
||||
<h1 class="visually-hidden"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.header" /></h1>
|
||||
<div class="typo3-login-logo"><backend:loginLogo /></div>
|
||||
</header>
|
||||
<main class="card-body">
|
||||
<f:if condition="{action} == 'login'">
|
||||
<f:then>
|
||||
<f:if condition="{hasLoginError}">
|
||||
<div class="t3js-login-error mb-2" id="t3-login-error">
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<div class="alert-title"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.error.message" /></div>
|
||||
<div class="alert-message"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.error.description" /></div>
|
||||
</div>
|
||||
</div>
|
||||
</f:if>
|
||||
<noscript>
|
||||
<f:be.infobox message="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.error.javascript')}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR')}" />
|
||||
</noscript>
|
||||
<div class="hidden t3js-login-error-nocookies">
|
||||
<f:be.infobox message="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.error.cookies')}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR')}" />
|
||||
</div>
|
||||
<div class="hidden t3js-login-error-noreferrer">
|
||||
<f:be.infobox message="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.error.referrer')}" state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::ERROR')}" />
|
||||
</div>
|
||||
<div class="hidden t3js-login-warning-password-whitespace">
|
||||
<f:be.infobox state="{f:constant(name: 'TYPO3\CMS\Core\Type\ContextualFeedbackSeverity::WARNING')}">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.warning.whitespace-around-password" />
|
||||
<button class="btn btn-link text-decoration-underline t3js-login-warning-password-whitespace-action" role="button">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.warning.whitespace-around-password.action-link" />
|
||||
</button>
|
||||
</f:be.infobox>
|
||||
</div>
|
||||
<div class="typo3-login-form t3js-login-formfields">
|
||||
<form action="{formActionUrl}" method="post" name="loginform" id="typo3-login-form" spellcheck="false">
|
||||
<input type="hidden" name="login_status" value="login" />
|
||||
<input type="hidden" name="userident" id="t3-field-userident" class="t3js-login-userident-field" value="" />
|
||||
<input type="hidden" name="loginRefresh" value="{loginRefresh}" />
|
||||
<input type="hidden" name="{requestTokenName}" value="{requestTokenValue}" />
|
||||
|
||||
<f:render section="loginFormFields" />
|
||||
|
||||
<div class="form-group d-grid mb-2" id="t3-login-submit-section">
|
||||
<button
|
||||
class="btn btn-login d-block t3js-login-submit"
|
||||
id="t3-login-submit"
|
||||
type="submit"
|
||||
name="commandLI"
|
||||
data-loading-text="{core:icon(identifier: 'spinner-circle', size: 'small')->f:format.htmlspecialchars()} {f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.process')}"
|
||||
autocomplete="off"
|
||||
>
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.submit" />
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<f:if condition="{enablePasswordReset}">
|
||||
<f:render section="ResetPassword" arguments="{_all}" optional="true" />
|
||||
</f:if>
|
||||
<f:if condition="{loginProviders->f:count()} > 1">
|
||||
<nav aria-label="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.navigation.loginProvider')}">
|
||||
<f:comment>role is for VoiceOver</f:comment>
|
||||
<ul class="list-unstyled typo3-login-links" role="list">
|
||||
<f:for each="{loginProviders}" as="provider" key="providerKey">
|
||||
<f:if condition="{provider.label}">
|
||||
<f:if condition="{loginProviderIdentifier} != {providerKey}">
|
||||
<li class="t3js-loginprovider-switch" data-providerkey="{providerKey}">
|
||||
<a href="?loginProvider={providerKey}">
|
||||
<core:icon identifier="{provider.iconIdentifier}" size="small" />
|
||||
<span><f:translate key="{provider.label}" default="{provider.label}" /></span>
|
||||
</a>
|
||||
</li>
|
||||
</f:if>
|
||||
</f:if>
|
||||
</f:for>
|
||||
</ul>
|
||||
</nav>
|
||||
</f:if>
|
||||
</f:then>
|
||||
<f:else if="{enablePasswordReset}">
|
||||
<f:render section="ResetPassword" arguments="{_all}" />
|
||||
</f:else>
|
||||
<f:else>
|
||||
<form action="{formActionUrl}" method="post" name="loginform">
|
||||
<input type="hidden" name="login_status" value="logout" />
|
||||
<div class="t3-login-box-body">
|
||||
<div class="t3-login-logout-form">
|
||||
<div class="t3-login-username">
|
||||
<div class="t3-login-label t3-username">
|
||||
<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.username" />
|
||||
</div>
|
||||
<div class="t3-username-current">
|
||||
{backendUser.username}
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="p_field" value="" />
|
||||
<div class="d-grid">
|
||||
<input
|
||||
class="btn d-block btn-lg"
|
||||
type="submit"
|
||||
name="commandLO"
|
||||
value="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.submit')}"
|
||||
id="t3-login-submit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</main>
|
||||
<f:render partial="Login/LoginNews" arguments="{_all}" />
|
||||
<footer class="card-footer">
|
||||
<div class="typo3-login-copyright-wrap">
|
||||
<button
|
||||
type="button"
|
||||
class="typo3-login-copyright-link t3js-login-copyright-link collapsed"
|
||||
data-bs-target="#loginCopyright"
|
||||
data-bs-toggle="collapse"
|
||||
aria-expanded="false"
|
||||
aria-controls="loginCopyright"
|
||||
>
|
||||
<span><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.copyrightLink" /></span>
|
||||
<f:comment>the image within the button is only decorative</f:comment>
|
||||
<svg viewBox="0 0 150 42" width="70" height="20" aria-hidden="true">
|
||||
<path fill="currentColor" d="M60.2,14.4v27h-3.8v-27h-6.7v-3.3h17.1v3.3H60.2z M80.4,27.3v14h-3.9v-14l-7.7-16.2h4.1l5.7,12.2l5.7-12.2h3.9L80.4,27.3z M99.9,29.9h-3.6v11.4h-3.8V11.1c0,0,3.7-0.3,7.3-0.3c6.6,0,8.5,4.1,8.5,9.4C108.3,26.7,106,29.9,99.9,29.9 M100.3,13.9 c-2.4,0-4.1,0.3-4.1,0.3v12.6h4.1c2.4,0,4.1-1.6,4.1-6.3C104.4,16.1,103.4,13.9,100.3,13.9 M121.8,41.6c-7.1,0-9-5.2-9-15.8 c0-10.2,1.9-15.1,9-15.1s9,4.9,9,15.1C130.9,36.4,129,41.6,121.8,41.6 M121.8,13.9c-3.9,0-5.2,2.6-5.2,12.1c0,9.3,1.3,12.4,5.2,12.4 c3.9,0,5.2-3.1,5.2-12.4C127,16.6,125.7,13.9,121.8,13.9 M141.7,41.6c-2.1,0-5.3-0.6-5.7-0.7v-3.1c1,0.2,3.7,0.7,5.6,0.7 c2.2,0,3.6-1.9,3.6-5.2c0-3.9-0.6-6-3.7-6H138V24h3.1c3.5,0,3.7-3.6,3.7-5.3c0-3.4-1.1-4.8-3.2-4.8c-1.9,0-4.1,0.5-5.3,0.7v-3.2 c0.5-0.1,3-0.7,5.2-0.7c4.4,0,7,1.9,7,8.3c0,2.9-1,5.5-3.3,6.3c2.6,0.2,3.8,3.1,3.8,7.3C149,39.2,146.5,41.6,141.7,41.6"></path>
|
||||
<path class="highlight" fill="#FF8700" d="M31.7,28.8c-0.6,0.2-1.1,0.2-1.7,0.2c-5.2,0-12.9-18.2-12.9-24.3c0-2.2,0.5-3,1.3-3.6 C12,1.9,4.3,4.2,1.9,7.2C1.3,8,1,9.1,1,10.6c0,9.5,10.1,31,17.3,31C21.6,41.6,27.1,36.2,31.7,28.8"></path>
|
||||
<path class="highlight" fill="#FF8700" d="M28.4,0.5c6.6,0,13.2,1.1,13.2,4.8c0,7.6-4.8,16.7-7.2,16.7C30,22,24.5,9.9,24.5,3.8 C24.5,1,25.6,0.5,28.4,0.5"></path>
|
||||
</svg>
|
||||
</button>
|
||||
<div id="loginCopyright" class="collapse">
|
||||
<div class="typo3-login-copyright-text">
|
||||
<p>
|
||||
<f:format.raw>{copyright}</f:format.raw>
|
||||
</p>
|
||||
<nav aria-label="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.navigation.typo3')}">
|
||||
<f:comment>role is for VoiceOver</f:comment>
|
||||
<ul class="list-unstyled" role="list">
|
||||
<li><a href="https://typo3.org" target="_blank" rel="noreferrer" class="t3-login-link-typo3"><core:icon identifier="actions-window-open" size="small" /> TYPO3.org</a></li>
|
||||
<li>
|
||||
<a href="https://typo3.org/donate/online-donation/" target="_blank" rel="noreferrer" class="t3-login-link-donate">
|
||||
<core:icon identifier="actions-window-open" size="small" /> <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.donate" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<f:if condition="{loginFootnote}">
|
||||
<aside class="typo3-login-footnote" aria-label="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang.xlf:login.region.footnote')}">
|
||||
<p>{loginFootnote}</p>
|
||||
</aside>
|
||||
</f:if>
|
||||
</div>
|
||||
<f:comment>This link is only used for protection of the backend.</f:comment>
|
||||
<a href="{loginUrl}" id="t3js-login-url" data-referrer-check-enabled="{f:if(condition: '{referrerCheckEnabled}', then: '1', else: '0')}" aria-hidden="true" tabindex="-1"></a>
|
||||
</div>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user