50 lines
1.5 KiB
HTML
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>
|
|
|
|
|
|
|