65 lines
3.1 KiB
HTML
65 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{{> templateIncludes/style.css.html}}
|
|
</head>
|
|
<body>
|
|
<h2>Freelancer: {{freelancername}}</h2>
|
|
{{^OPERATION_EDIT}}
|
|
<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>
|
|
{{/OPERATION_EDIT}}
|
|
{{#OPERATION_EDIT}}
|
|
<br>
|
|
<form action="/freelancer/templateManagement/fulfilment/edit" method="post">
|
|
<label for="templatename">Template Name:</label> <input type="text" id="templatename" name="templatename" value="{{templatename}}"><br>
|
|
<label for="templatecontactdata">Contact Data:</label> <input type="text" id="templatecontactdata" name="templatecontactdata" value="{{contactdata}}"><br>
|
|
<label for="templatecontactinformation">Contact Information: </label> <input type="text" id="templatecontactinformation" name="templatecontactinformation" value="{{contactinformation}}"><br>
|
|
<label for="templatecurrencypreference">Prefered Currency: </label> <input type="text" id="templatecurrencypreference" name="templatecurrencypreference" value="{{currencypreference}}"><br>
|
|
<label for="templatepriceupfront">Upfront payment: </label> <input type="text" id="templatepriceupfront" name="templatepriceupfront" value="{{priceupfront}}"><br>
|
|
<label for="templatepriceondeliver">On Delivery Payment: </label> <input type="text" id="templatepriceondeliver" name="templatepriceondeliver" value="{{priceondeliver}}"><br>
|
|
<label for="templatecontent">Description: </label> <textarea id="templatecontent" name="templatecontent" value="">{{content}}</textarea><br>
|
|
<button type="submit" name="templateid" value="{{templateid}}" class="button">Confirm change of Template</button>
|
|
</form>
|
|
<br>
|
|
{{/OPERATION_EDIT}}
|
|
{{#OPERATION_DELETE}}
|
|
<br>
|
|
<form action="/freelancer/templateManagement/fulfilment/delete" method="post">
|
|
<button type="submit" name="templateid" value="{{templateid}}" class="button">Confirm Template Deletion</button>
|
|
</form>
|
|
<br>
|
|
{{/OPERATION_DELETE}}
|
|
{{#TEMPLATE_OPERATION_ERROR_NO_TEMPLATE}}
|
|
<div>
|
|
Template could not be found
|
|
</div>
|
|
{{/TEMPLATE_OPERATION_ERROR_NO_TEMPLATE}}
|
|
<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>
|
|
|
|
|
|
|
|
|