Freelancer signup minor fix and login templates add checkbox to stay logged in

This commit is contained in:
Tina_Azure
2023-04-22 23:22:36 +02:00
parent 49e3faf722
commit 4dd4e23f91
4 changed files with 25 additions and 23 deletions

View File

@ -10,6 +10,7 @@
<form action="/freelancer/login/fulfilment" method="post"> <form action="/freelancer/login/fulfilment" method="post">
<label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br> <label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br>
<label for="freelancerpassword">Password: </label> <input type="password" id="freelancerpassword" name="freelancerpassword" value=""><br> <label for="freelancerpassword">Password: </label> <input type="password" id="freelancerpassword" name="freelancerpassword" value=""><br>
<label for="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button> <button type="submit" class="button">Log In</button>
</form> </form>
{{/cookieloggedin}} {{/cookieloggedin}}

View File

@ -9,7 +9,7 @@
<form action="/freelancer/signup/fulfilment" method="post"> <form action="/freelancer/signup/fulfilment" method="post">
<label for="freelancername">Name:</label> <input type="text" id="freelancername" name="freelancername" value=""><br> <label for="freelancername">Name:</label> <input type="text" id="freelancername" name="freelancername" value=""><br>
<label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br> <label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br>
<label for="freelancerpassword">Password: </label> <input type="password" id="password" name="password" value=""><br> <label for="freelancerpassword">Password: </label> <input type="password" id="freelancerpassword" name="freelancerpassword" value=""><br>
<button type="submit" class="button">Sign Up</button> <button type="submit" class="button">Sign Up</button>
</form> </form>
<br> <br>

View File

@ -8,28 +8,28 @@
<form action="/freelancer/login" method="get"> <form action="/freelancer/login" method="get">
<button type="submit" class="button">Registration of [{{freelanceremail}} - {{freelancername}}] Successful</button> <button type="submit" class="button">Registration of [{{freelanceremail}} - {{freelancername}}] Successful</button>
</form> </form>
{{/REGISTRATION_SUCCESS}} {{/REGISTRATION_SUCCESS}}
{{#REGISTRATION_ERROR}} {{#REGISTRATION_ERROR_QUERY}}
{{#REGISTRATION_ERROR_QUERY}} <div>
<div> The Freelancer could not be created
The Freelancer could not be created </div>
</div> {{/REGISTRATION_ERROR_QUERY}}
{{/REGISTRATION_ERROR_QUERY}} {{#REGISTRATION_ERROR_CRITICAL}}
{{#REGISTRATION_ERROR_CRITICAL}} <div>
<div> The Freelancer could not be created: Critical
The Freelancer could not be created: Critical </div>
</div> {{/REGISTRATION_ERROR_CRITICAL}}
{{/REGISTRATION_ERROR_CRITICAL}} {{#REGISTRATION_ERROR_EMAIL_ALREADY_IN_USE}}
{{#REGISTRATION_ERROR_EMAIL_ALREADY_IN_USE}} <div>
<div> Email: {{freelanceremail}} Is already in use - Freelancer was not created.
Email: {{freelanceremail}} Is already in use - Freelancer was not created. </div>
</div> {{/REGISTRATION_ERROR_EMAIL_ALREADY_IN_USE}}
{{/REGISTRATION_ERROR_EMAIL_ALREADY_IN_USE}} {{#REGISTRATION_ERROR_EMAIL_NAME_PASS_NOT_FILLED}}
{{#REGISTRATION_ERROR_EMAIL_NAME_PASS_NOT_FILLED}} <div>
<div> The registration form has not been filled out completely
The registration form has not been filled out completely </div>
</div> {{/REGISTRATION_ERROR_EMAIL_NAME_PASS_NOT_FILLED}}
{{/REGISTRATION_ERROR_EMAIL_NAME_PASS_NOT_FILLED}} {{#REGISTRATION_ERROR}}
<form action="/freelancer/signup" method="get"> <form action="/freelancer/signup" method="get">
<button type="submit" class="button">Registration Error: Return to signup</button> <button type="submit" class="button">Registration Error: Return to signup</button>
</form> </form>

View File

@ -10,6 +10,7 @@
<form action="/freelancer/login/fulfilment" method="post"> <form action="/freelancer/login/fulfilment" method="post">
<label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br> <label for="freelanceremail">E-Mail:</label> <input type="email" id="freelanceremail" name="freelanceremail" value=""><br>
<label for="freelancerpassword">Password: </label> <input type="password" id="freelancerpassword" name="freelancerpassword" value=""><br> <label for="freelancerpassword">Password: </label> <input type="password" id="freelancerpassword" name="freelancerpassword" value=""><br>
<label for="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button> <button type="submit" class="button">Log In</button>
</form> </form>
{{/cookieloggedin}} {{/cookieloggedin}}