Commit 61b197f1 authored by Benni Mack's avatar Benni Mack
Browse files

Merge branch 'T3DEMO-66' into 'main'

[TASK] Add templates and configuration for EXT:felogin

See merge request !4
parents aeb1016d 68d62b4d
Pipeline #10101 failed with stages
in 3 minutes and 54 seconds
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "2635080982453703279f6495b9001abe",
"content-hash": "83eaef2eb934a5c1c37cd57beecd6d07",
"packages": [
{
"name": "b13/assetcollector",
......@@ -5564,6 +5564,65 @@
},
"time": "2020-11-17T10:03:11+00:00"
},
{
"name": "typo3/cms-felogin",
"version": "v10.4.10",
"source": {
"type": "git",
"url": "https://github.com/TYPO3-CMS/felogin.git",
"reference": "f4a445dbecd70c7a9646969fae0fe24ddb9470ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/TYPO3-CMS/felogin/zipball/f4a445dbecd70c7a9646969fae0fe24ddb9470ea",
"reference": "f4a445dbecd70c7a9646969fae0fe24ddb9470ea",
"shasum": ""
},
"require": {
"typo3/cms-core": "10.4.10"
},
"conflict": {
"typo3/cms": "*"
},
"type": "typo3-cms-framework",
"extra": {
"branch-alias": {
"dev-master": "10.4.x-dev"
},
"typo3/cms": {
"Package": {
"partOfFactoryDefault": true
},
"extension-key": "felogin"
}
},
"autoload": {
"psr-4": {
"TYPO3\\CMS\\Felogin\\": "Classes/",
"TYPO3\\CMS\\FrontendLogin\\": "Classes/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"authors": [
{
"name": "TYPO3 Core Team",
"email": "typo3cms@typo3.org",
"role": "Developer"
}
],
"description": "A template-based plugin to log in Website Users in the Frontend",
"homepage": "https://typo3.org",
"support": {
"chat": "https://typo3.org/help",
"docs": "https://docs.typo3.org/c/typo3/cms-felogin/master/en-us",
"issues": "https://forge.typo3.org",
"source": "https://github.com/TYPO3/TYPO3.CMS"
},
"time": "2020-11-17T10:03:11+00:00"
},
{
"name": "typo3/cms-filelist",
"version": "v10.4.10",
......
......@@ -19,7 +19,7 @@ mod.web_layout.BackendLayouts.Contentpage {
1 {
name = LLL:EXT:site_t3demo/Resources/Private/Language/locallang_db.xlf:backendlayout.maincontent.name
colPos = 0
allowed.CType = contentstage,textmedia,faqlist
allowed.CType = contentstage,textmedia,faqlist,felogin_login
}
}
}
......
plugin {
tx_felogin_login {
view {
templateRootPaths.0 = EXT:felogin/Resources/Private/Templates/
templateRootPaths.10 = EXT:site_t3demo/Resources/Private/Plugins/Felogin/Templates/
partialRootPaths.0 = EXT:felogin/Resources/Private/Partials/
partialRootPaths.10 = EXT:site_t3demo/Resources/Private/Plugins/Felogin/Partials/
layoutRootPaths.0 = EXT:felogin/Resources/Private/Layouts/
layoutRootPaths.10 = EXT:site_t3demo/Resources/Private/Plugins/Felogin/Layouts/
}
}
}
@import 'EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript'
@import 'EXT:seo/Configuration/TypoScript/XmlSitemap/constants.typoscript'
@import 'EXT:felogin/Configuration/TypoScript/constants.typoscript'
pages {
startpage = 1
......
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/baseconfig.typoscript'
@import 'EXT:seo/Configuration/TypoScript/XmlSitemap/setup.typoscript'
@import 'EXT:felogin/Configuration/TypoScript/setup.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/lib.fluidPage.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/lib.parseFunc_RTE.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/plugin.tx_assetcollector.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/plugin.tx_picture.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/plugin.tx_felogin.typoscript'
@import 'EXT:site_t3demo/Configuration/TypoScript/Setup/tt_content.faqlist.typoscript'
......
<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:ac="http://typo3.org/ns/B13/Assetcollector/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<ac:css file="EXT:site_t3demo/Resources/Public/Css/login.css" />
<f:flashMessages/>
<f:if condition="{cookieWarning}">
<f:render partial="CookieWarning" />
</f:if>
<f:if condition="{messageKey}">
<h3>
<f:render partial="RenderLabelOrMessage" arguments="{key: '{messageKey}_header'}"/>
</h3>
<p>
<f:render partial="RenderLabelOrMessage" arguments="{key: '{messageKey}_message'}"/>
</p>
</f:if>
<f:if condition="{onSubmit}">
<f:then>
<f:form target="_top" fieldNamePrefix="" action="login" onsubmit="{onSubmit}">
<f:render section="content" arguments="{_all}"/>
</f:form>
</f:then>
<f:else>
<f:form target="_top" fieldNamePrefix="" action="login">
<f:render section="content" arguments="{_all}"/>
</f:form>
</f:else>
</f:if>
<f:if condition="{settings.showForgotPassword}">
<f:link.action action="recovery" controller="PasswordRecovery">
<f:render partial="RenderLabelOrMessage" arguments="{key: 'forgot_header'}"/>
</f:link.action>
</f:if>
<f:section name="content">
<fieldset class="b_login__fieldset">
<legend class="b_login__legend">
<f:translate key="login"/>
</legend>
<div class="b_login__row">
<label class="b_login__label" for="user">
<f:translate key="username"/>
</label>
<f:form.textfield name="user" id="user" class="b_login__input" value="pomologist3000"/>
</div>
<div class="b_login__row">
<label class="b_login__label" for="password">
<f:translate key="password"/>
</label>
<f:form.password name="pass" data="{rsa-encryption: ''}" id="password" class="b_login__input" value="iloveapples"/>
</div>
<div class="b_login__row b_login__row--submit">
<f:form.submit value="{f:translate(key: 'login.login', extensionName: 'site_t3demo')}" name="submit" class="b_button b_button--login-submit"/>
</div>
<div class="b_login__container b_login__container--hidden">
<f:form.hidden name="logintype" value="login"/>
<f:form.hidden name="pid" value="{storagePid}"/>
<f:if condition="{redirectURL}!=''">
<f:form.hidden name="redirect_url" value="{redirectURL}" />
</f:if>
<f:if condition="{referer}!=''">
<f:form.hidden name="referer" value="{referer}" />
</f:if>
<f:if condition="{redirectReferrer}!=''">
<f:form.hidden name="redirectReferrer" value="off" />
</f:if>
<f:if condition="{noRedirect}!=''">
<f:form.hidden name="noredirect" value="1" />
</f:if>
{extraHidden}
</div>
</fieldset>
</f:section>
</html>
.b_login {
&__legend {
display: none;
}
&__fieldset {
border: none;
margin: 0;
padding: 0;
}
&__row {
margin: 16px 0;
&--submit {
margin-top: 32px;
text-align: end;
}
}
&__label {
display: block;
width: 100%;
margin-bottom: 5px;
}
&__input {
width: 100%;
border: 1px solid $color-gray-light;
border-radius: 10px;
font-size: 18px;
background: #fff;
max-width: 100%;
box-sizing: border-box;
padding: 12px;
height: 48px;
line-height: 48px;
&:focus {
outline: none;
}
}
@at-root {
.b_button--login-submit {
appearance: none;
white-space: normal;
font-size: inherit;
cursor: pointer;
font-family: inherit;
}
}
}
@import "variables";
@import "Mixins/media";
@import "_login";
......@@ -12,6 +12,7 @@ module.exports = {
files: {
[`${relCssPath}/main.css`]: `${relScssPath}/main.scss`,
[`${relCssPath}/faqlist.css`]: `${relScssPath}/faqlist.scss`,
[`${relCssPath}/login.css`]: `${relScssPath}/login.scss`,
[`${relCssPath}/../Backend/Css/be_rte.css`]: `${relScssPath}/be_rte.scss`,
[`${relCssPath}/../Backend/Css/Skin/t3skin_override.css`]: `${relScssPath}/t3skin_override.scss`
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment