From 09406b0852b24e60ee209d0b9dbc261996ab36b1 Mon Sep 17 00:00:00 2001 From: Tina_Azure <-> Date: Mon, 15 May 2023 16:28:25 +0200 Subject: [PATCH] Template for managment of templates + add button for creation of new template --- templates/freelancer_Template_Management.html | 37 ++++++------ ...lancer_Template_Management_Fulfilment.html | 58 ++++++++++++++----- 2 files changed, 63 insertions(+), 32 deletions(-) diff --git a/templates/freelancer_Template_Management.html b/templates/freelancer_Template_Management.html index 9072398..5b2c530 100644 --- a/templates/freelancer_Template_Management.html +++ b/templates/freelancer_Template_Management.html @@ -8,23 +8,26 @@ Please Log in. {{/COOKIE_LOGGED_IN}} {{#COOKIE_LOGGED_IN}} -

Freelancer: {{freelanceremail}}

-
-
- - {{#templates}} - - - - - {{/templates}} -
{{name}} -
- - - -
-
+

Freelancer: {{freelanceremail}}

+
+
+ + {{#templates}} + + + + + {{/templates}} +
{{name}} +
+ + + +
+
+
+ +
{{/COOKIE_LOGGED_IN}} {{> templateIncludes/freelancerLoginSignupProfileLogoutInterface.html.html}}
diff --git a/templates/freelancer_Template_Management_Fulfilment.html b/templates/freelancer_Template_Management_Fulfilment.html index cb1716c..b39d950 100644 --- a/templates/freelancer_Template_Management_Fulfilment.html +++ b/templates/freelancer_Template_Management_Fulfilment.html @@ -5,21 +5,49 @@

Freelancer: {{freelancername}}

-

Template: {{templatename}}

-
Contact Information:
-
- {{contactdata}}
- {{contactinformation}} -
-
-
Payment Information:
-
- Prefered Currency: {{currencypreference}}
- Price: {{pricetotal}} - Upfront: {{priceupfront}} - On Delivery: {{priceondeliver}}
-
-
-
Description:
-
{{content}}
+ {{^OPERATION_EDIT}} +

Template: {{templatename}}

+
Contact Information:
+
+ {{contactdata}}
+ {{contactinformation}} +
+
+
Payment Information:
+
+ Prefered Currency: {{currencypreference}}
+ Price: {{pricetotal}} - Upfront: {{priceupfront}} - On Delivery: {{priceondeliver}}
+
+
+
Description:
+
{{content}}
+ {{/OPERATION_EDIT}} + {{#OPERATION_EDIT}} +
+
+
+
+
+
+
+
+
+ +
+
+ {{/OPERATION_EDIT}} + {{#OPERATION_DELETE}} +
+
+ +
+
+ {{/OPERATION_DELETE}} + {{#TEMPLATE_OPERATION_ERROR_NO_TEMPLATE}} +
+ Template could not be found +
+ {{/TEMPLATE_OPERATION_ERROR_NO_TEMPLATE}}