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">
<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="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button>
</form>
{{/cookieloggedin}}

View File

@ -9,7 +9,7 @@
<form action="/freelancer/signup/fulfilment" method="post">
<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="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>
</form>
<br>

View File

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

View File

@ -10,6 +10,7 @@
<form action="/freelancer/login/fulfilment" method="post">
<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="stayloggedin">Stay Logged In: </label> <input type="checkbox" id="stayloggedin" name="stayloggedin"><br>
<button type="submit" class="button">Log In</button>
</form>
{{/cookieloggedin}}