Freelancer Signup templates

This commit is contained in:
Tina_Azure
2023-04-19 02:07:26 +02:00
parent ddeea4bc17
commit b58789152f
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
<h2>Freelancer Registration</h2>
<br>
<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>
<button type="submit" class="button">Sign Up</button>
</form>
<br>
<form action="/" method="post">
<button type="submit" class="button">Return to freelancer selection</button>
</form>
</body>
</html>

View File

@ -0,0 +1,42 @@
<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
{{#REGISTRATION_SUCCESS}}
<form action="/freelancer/login" method="get">
<button type="submit" class="button">Registration of [{{freelanceremail}} - {{freelancername}}] Successful</button>
</form>
{{/REGISTRATION_SUCCESS}}
{{#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>
{{/REGISTRATION_ERROR}}
</body>
</html>