This repository has been archived on 2025-02-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cavecomm/templates/customerIndex_FreelancerListing.html
2023-04-19 02:11:59 +02:00

50 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
<h2>Freelancer Profiles</h2>
<table>
<tr>
<th>Freelancer</th>
<th>Basic Information</th>
<th>Commission State</th>
</tr>
{{#freelancerProfiles}}
<tr>
<th>
<form action="/customer/{{name}}" method="post">
<button type="submit" name="freelancerID" value="{{id}}" class="button">{{name}}</button>
</form>
</th>
<th>{{basicinformation}}</th>
<th>{{commissionsclosed}}</th>
</tr>
{{/freelancerProfiles}}
</table>
<div>
{{^cookieloggedin}}
<form action="/freelancer/login" method="get">
<button type="submit" class="button">Freelancer Login</button>
</form>
<form action="/freelancer/signup" method="get">
<button type="submit" class="button">Freelancer Sign-Up</button>
</form>
{{/cookieloggedin}}
{{#cookieloggedin}}
<form action="/freelancer/profile" method="get">
<button type="submit" class="button">Profile</button>
</form>
<br>
<form action="/freelancer/logout" method="get">
<button type="submit" class="button">Logout</button>
</form>
{{/cookieloggedin}}
</div>
</body>
</html>