freelancer template management base (WIP)

This commit is contained in:
Tina_Azure
2023-05-12 18:11:01 +02:00
parent ed370e7979
commit 2e59a596c3
4 changed files with 87 additions and 29 deletions

View File

@ -8,24 +8,18 @@
Please Log in.
{{/COOKIE_LOGGED_IN}}
{{#COOKIE_LOGGED_IN}}
<h2>Freelancer: {{freelancername}}</h2>
<div>Basic Profile:</div>
<div>{{freelancerbasicinformation}}</div>
<h2>Freelancer: {{freelanceremail}}</h2>
<br>
<div>Detailed Profile:</div>
<div>{{freelancergeneralinformation}}</div>
<br>
{{> templateIncludes/returnToIndexButton.html.html}}
<br>
<table>
{{#templates}}
<tr>
<th>{{name}}</th>
<th>
<form action="/freelancer/templateManagement/template/{{name}}" name="templateid" value="{{id}}" method="post">
<button type="submit" name="templateaction" value="{{view}}" class="button">View</button>
<button type="submit" name="templateaction" value="{{edit}}" class="button">Edit</button>
<button type="submit" name="templateaction" value="{{delete}}" class="button">Delete</button>
<form action="/freelancer/templateManagement/template/{{name}}" method="post">
<button type="submit" name="templateaction" value="view|{{id}}" class="button">View</button>
<button type="submit" name="templateaction" value="edit|{{id}}" class="button">Edit</button>
<button type="submit" name="templateaction" value="delete|{{id}}" class="button">Delete</button>
</form>
</th>
</tr>
@ -33,6 +27,8 @@
</table>
{{/COOKIE_LOGGED_IN}}
{{> templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html}}
<br>
{{> templateIncludes/returnToIndexButton.html.html}}
</body>
</html>

View File

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
{{> templateIncludes/style.css.html}}
</head>
<body>
<h2>Freelancer: {{freelancername}}</h2>
<h3>Template: {{templatename}}</h3>
<div>Contact Information:</div>
<div>
{{contactdata}}<br>
{{contactinformation}}
</div>
<br>
<div>Payment Information:</div>
<div>
Prefered Currency: {{currencypreference}}<br>
Price: {{pricetotal}} - Upfront: {{priceupfront}} - On Delivery: {{priceondeliver}}<br>
</div>
<br>
<div>Description:</div>
<div>{{content}}</div>
<br>
<form action="/freelancer/profile" method="get">
<button type="submit" class="button">Return to profile</button>
</form>
<form action="/freelancer/templateManagement" method="get">
<button type="submit" class="button">Return to Template Management</button>
</form>
<br>
{{> templateIncludes/returnToIndexButton.html.html}}
</body>
</html>