Commit 8dff4474 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[TASK] Add template and configuration

parent 2703722c
Pipeline #1429 failed with stages
in 16 seconds
plugin.tx_felogin_pi1 {
templateFile = EXT:t3omy/Resources/Private/Templates/Felogin/FrontendLogin.html
wrapContentInBaseClass = 0
stdWrap.wrap (
<section class="container">|</section>
)
}
......@@ -47,40 +47,39 @@
###STATUS_HEADER###
###STATUS_MESSAGE###
<!-- ###LOGIN_FORM### -->
<form action="###ACTION_URI###" target="_top" method="post" onsubmit="###ON_SUBMIT###">
<fieldset>
<legend>###LEGEND###</legend>
<div>
<label for="user">###USERNAME_LABEL###</label>
<input type="text" id="user" name="user" value="" />
</div>
<div>
<label for="pass">###PASSWORD_LABEL###</label>
<input type="password" id="pass" name="pass" value="" data-rsa-encryption="" />
</div>
<!--###PERMALOGIN_VALID###-->
<form action="###ACTION_URI###" target="_top" method="post" onsubmit="###ON_SUBMIT###">
<fieldset>
<div>
<label for="user">###USERNAME_LABEL###</label>
<input class="form-control" placeholder="username" type="text" id="user" name="user" value="" />
</div>
<div>
<label for="pass">###PASSWORD_LABEL###</label>
<input class="form-control" placeholder="password" type="password" id="pass" name="pass" value="" data-rsa-encryption="" />
</div>
<!--###PERMALOGIN_VALID###-->
<div>
<label for="permalogin">###PERMALOGIN###</label>
<input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
<input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin" onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
</div>
<!--###PERMALOGIN_VALID###-->
<div>
<label for="permalogin">###PERMALOGIN###</label>
<input name="permalogin" value="0" type="hidden" ###PERMALOGIN_HIDDENFIELD_ATTRIBUTES### id="permaloginHiddenField" />
<input name="permalogin" value="1" type="checkbox" ###PERMALOGIN_CHECKBOX_ATTRIBUTES### id="permalogin" onclick="document.getElementById('permaloginHiddenField').disabled = this.checked;" />
<input class="btn btn-primary" type="submit" name="submit" value="###LOGIN_LABEL###" />
</div>
<!--###PERMALOGIN_VALID###-->
<div>
<input type="submit" name="submit" value="###LOGIN_LABEL###" />
</div>
<div class="felogin-hidden">
<input type="hidden" name="logintype" value="login" />
<input type="hidden" name="pid" value="###STORAGE_PID###" />
<input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
<input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
###EXTRA_HIDDEN###
</div>
</fieldset>
</form>
<div class="felogin-hidden">
<input type="hidden" name="logintype" value="login" />
<input type="hidden" name="pid" value="###STORAGE_PID###" />
<input type="hidden" name="redirect_url" value="###REDIRECT_URL###" />
<input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
###EXTRA_HIDDEN###
</div>
</fieldset>
</form>
<!--###FORGOTP_VALID###-->
<p><!--###FORGOT_PASSWORD_LINK###-->###FORGOT_PASSWORD###<!--###FORGOT_PASSWORD_LINK###--></p>
<!--###FORGOTP_VALID###-->
......@@ -93,26 +92,23 @@
###STATUS_HEADER###
###STATUS_MESSAGE###
<form action="###ACTION_URI###" target="_top" method="post">
<fieldset>
<div>
<label>###USERNAME_LABEL###</label>
###USERNAME###
</div>
<div>
<input class="btn btn-primary" type="submit" name="submit" value="###LOGOUT_LABEL###" />
</div>
<form action="###ACTION_URI###" target="_top" method="post">
<fieldset>
<legend>###LEGEND###</legend>
<div>
<label>###USERNAME_LABEL###</label>
###USERNAME###
</div>
<div>
<input type="submit" name="submit" value="###LOGOUT_LABEL###" />
</div>
<div class="felogin-hidden">
<input type="hidden" name="logintype" value="logout" />
<input type="hidden" name="pid" value="###STORAGE_PID###" />
<input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
</div>
</fieldset>
</form>
<div class="felogin-hidden">
<input type="hidden" name="logintype" value="logout" />
<input type="hidden" name="pid" value="###STORAGE_PID###" />
<input type="hidden" name="###PREFIXID###[noredirect]" value="###NOREDIRECT###" />
</div>
</fieldset>
</form>
<!--###TEMPLATE_LOGOUT###-->
<!--###TEMPLATE_FORGOT###-->
......@@ -122,21 +118,20 @@
<!-- ###FORGOT_FORM### -->
<form action="###ACTION_URI###" method="post">
<div class="felogin-hidden">
<input type="hidden" name="tx_felogin_pi1[forgot_hash]" value="###FORGOTHASH###" />
</div>
<fieldset>
<legend>###LEGEND###</legend>
<div>
<label for="tx_felogin_pi1-forgot-email">###DATA_LABEL###</label>
<input type="text" name="###FORGOT_EMAIL###" id="tx_felogin_pi1-forgot-email" />
</div>
<div>
<input type="submit" name="submit" value="###SEND_PASSWORD###" />
</div>
</fieldset>
</form>
<form action="###ACTION_URI###" method="post">
<div class="felogin-hidden">
<input type="hidden" name="tx_felogin_pi1[forgot_hash]" value="###FORGOTHASH###" />
</div>
<fieldset>
<div>
<label for="tx_felogin_pi1-forgot-email">###DATA_LABEL###</label>
<input class="form-control" placeholder="email" type="text" name="###FORGOT_EMAIL###" id="tx_felogin_pi1-forgot-email" />
</div>
<div>
<input class="btn btn-primary" type="submit" name="submit" value="###SEND_PASSWORD###" />
</div>
</fieldset>
</form>
<!-- ###FORGOT_FORM### -->
<p>###BACKLINK_LOGIN###&nbsp;</p>
<!--###TEMPLATE_FORGOT###-->
......@@ -148,23 +143,22 @@
<!-- ###CHANGEPASSWORD_FORM### -->
<form action="###ACTION_URI###" method="post">
<fieldset>
<legend>###LEGEND###</legend>
<div>
<label for="tx_felogin_pi1-newpassword1">###NEWPASSWORD1_LABEL###</label>
<input type="password" name="###NEWPASSWORD1###" id="tx_felogin_pi1-newpassword1" />
</div>
<div>
<label for="tx_felogin_pi1-newpassword2">###NEWPASSWORD2_LABEL###</label>
<input type="password" name="###NEWPASSWORD2###" id="tx_felogin_pi1-newpassword2" />
</div>
<div>
<input type="submit" name="tx_felogin_pi1[changepasswordsubmit]" value="###SEND_PASSWORD###" />
</div>
</fieldset>
</form>
<form action="###ACTION_URI###" method="post">
<fieldset>
<div>
<label for="tx_felogin_pi1-newpassword1">###NEWPASSWORD1_LABEL###</label>
<input class="form-control" placeholder="password" type="password" name="###NEWPASSWORD1###" id="tx_felogin_pi1-newpassword1" />
</div>
<div>
<label for="tx_felogin_pi1-newpassword2">###NEWPASSWORD2_LABEL###</label>
<input class="form-control" placeholder="password" type="password" name="###NEWPASSWORD2###" id="tx_felogin_pi1-newpassword2" />
</div>
<div>
<input class="btn btn-primary" type="submit" name="tx_felogin_pi1[changepasswordsubmit]" value="###SEND_PASSWORD###" />
</div>
</fieldset>
</form>
<!-- ###CHANGEPASSWORD_FORM### -->
###BACKLINK_LOGIN###
<!--###TEMPLATE_CHANGEPASSWORD###-->
\ No newline at end of file
<!--###TEMPLATE_CHANGEPASSWORD###-->
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