implement base template operations with the corresponding templates
fully implement the delete operation todo:edit operation
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
{{/OPERATION_EDIT}}
|
||||
{{#OPERATION_EDIT}}
|
||||
<br>
|
||||
<form action="/freelancer/templateManagement/fulfilment" method="post">
|
||||
<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>
|
||||
@@ -38,7 +38,7 @@
|
||||
{{/OPERATION_EDIT}}
|
||||
{{#OPERATION_DELETE}}
|
||||
<br>
|
||||
<form action="/freelancer/templateManagement/fulfilment" method="post">
|
||||
<form action="/freelancer/templateManagement/fulfilment/delete" method="post">
|
||||
<button type="submit" name="templateid" value="{{templateid}}" class="button">Confirm Template Deletion</button>
|
||||
</form>
|
||||
<br>
|
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
{{> templateIncludes/style.css.html}}
|
||||
</head>
|
||||
<body>
|
||||
{{#TEMPLATE_OPERATION_COMPLETE}}
|
||||
The
|
||||
{{#OPERATION_EDIT}}Edit{{/OPERATION_EDIT}}
|
||||
{{#OPERATION_DELETE}}Delete{{/OPERATION_DELETE}}
|
||||
Operation has been completed.
|
||||
{{/TEMPLATE_OPERATION_COMPLETE}}
|
||||
{{#OPERATION_ERROR}}
|
||||
The Operation has not been completed
|
||||
{{/OPERATION_ERROR}}
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user