Freelancer Password Reset templates and Login modification for it

This commit is contained in:
Tina_Azure
2023-04-25 00:54:17 +02:00
parent c04f22e91f
commit 2ea6c7a48f
5 changed files with 50 additions and 0 deletions

View File

@ -13,6 +13,9 @@
<label for="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button>
</form>
<form action="/freelancer/login/passwordreset" method="get">
<button type="submit" class="button">Reset Password</button>
</form>
{{/cookieloggedin}}
{{#cookieloggedin}}
<form action="/freelancer/profile" method="get">

View File

@ -20,6 +20,9 @@
The login form has not been filled out completely
</div>
{{/LOGIN_ERROR_EMAIL_PASS_NOT_FILLED}}
<form action="/freelancer/login/passwordreset" method="get">
<button type="submit" class="button">Reset Password</button>
</form>
<form action="/freelancer/login" method="get">
<button type="submit" class="button">Log In Error: Return to login</button>
</form>

View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
<h2>Freelancer Password Reset</h2>
<div>
<form action="/freelancer/login/passwordreset/fulfilment" method="post">
<label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br>
<button type="submit" class="button">Request Temporary Password Reset E-Mail</button>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
<h2>Freelancer Password Reset</h2>
{{^passwordresetmailsent}}
<form action="/freelancer/login/passwordreset" method="get">
<button type="submit" class="button">Email could not be found try again.</button>
</form>
{{/passwordresetmailsent}}
{{#passwordresetmailsent}}
<div>
Reset E-Mail has been sent to {{resetemail}}
</div>
{{> templateIncludes/returnToIndexButton.html.html}}
{{/passwordresetmailsent}}
</body>
</html>

View File

@ -13,6 +13,9 @@
<label for="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button>
</form>
<form action="/freelancer/login/passwordreset" method="get">
<button type="submit" class="button">Reset Password</button>
</form>
{{/cookieloggedin}}
{{#cookieloggedin}}
<form action="/freelancer/profile" method="get">